GET api/v1/countries/listitems
Gets the country list items.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountryListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | globally unique identifier |
None. |
|
| CountryName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountryId": "66720f45-04e7-48c2-a1a1-b4fd7feda32f",
"CountryName": "sample string 2"
},
{
"CountryId": "66720f45-04e7-48c2-a1a1-b4fd7feda32f",
"CountryName": "sample string 2"
}
]
text/html
Sample:
[{"CountryId":"66720f45-04e7-48c2-a1a1-b4fd7feda32f","CountryName":"sample string 2"},{"CountryId":"66720f45-04e7-48c2-a1a1-b4fd7feda32f","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>66720f45-04e7-48c2-a1a1-b4fd7feda32f</CountryId>
<CountryName>sample string 2</CountryName>
</CountryListItem>
<CountryListItem>
<CountryId>66720f45-04e7-48c2-a1a1-b4fd7feda32f</CountryId>
<CountryName>sample string 2</CountryName>
</CountryListItem>
</ArrayOfCountryListItem>