GET api/v1/countries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryListItem
NameDescriptionTypeAdditional information
CountryId

globally unique identifier

None.

CountryName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryId": "c3c5e58a-0f81-466c-ba62-07ac478432a8",
    "CountryName": "sample string 2"
  },
  {
    "CountryId": "c3c5e58a-0f81-466c-ba62-07ac478432a8",
    "CountryName": "sample string 2"
  }
]

text/html

Sample:
[{"CountryId":"c3c5e58a-0f81-466c-ba62-07ac478432a8","CountryName":"sample string 2"},{"CountryId":"c3c5e58a-0f81-466c-ba62-07ac478432a8","CountryName":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfCountryListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Location">
  <CountryListItem>
    <CountryId>c3c5e58a-0f81-466c-ba62-07ac478432a8</CountryId>
    <CountryName>sample string 2</CountryName>
  </CountryListItem>
  <CountryListItem>
    <CountryId>c3c5e58a-0f81-466c-ba62-07ac478432a8</CountryId>
    <CountryName>sample string 2</CountryName>
  </CountryListItem>
</ArrayOfCountryListItem>