GET api/UserManagement/GetCountry

Get all countries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

list of countries

ResponseOfListOfCountry
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

Collection of Country

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": [
    {
      "Code": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfCountrykvwhp91_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
    <d2p1:Country>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:Country>
    <d2p1:Country>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:Country>
  </Data>
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfArrayOfCountrykvwhp91_P>