GET Account/GetCountryList

Request Information

URI Parameters

None.

Body Parameters

Country
NameDescriptionTypeAdditional information
CountryName

string

None.

CountryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryName": "sample string 1",
  "CountryId": 2
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <CountryId>2</CountryId>
  <CountryName>sample string 1</CountryName>
</Country>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Country'.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional information
CountryName

string

None.

CountryId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryName": "sample string 1",
    "CountryId": 2
  },
  {
    "CountryName": "sample string 1",
    "CountryId": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <Country>
    <CountryId>2</CountryId>
    <CountryName>sample string 1</CountryName>
  </Country>
  <Country>
    <CountryId>2</CountryId>
    <CountryName>sample string 1</CountryName>
  </Country>
</ArrayOfCountry>