GET api/Location/GetCountryList
Request Information
URI Parameters
None
Body Parameters
None.
Response Information
Resource Description
Collection of Country| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryCode | string |
None |
|
| CountryName | string |
None |
Response Formats
application/json, text/json
Sample:
[
{
"countryCode": "sample string 1",
"countryName": "sample string 2"
},
{
"countryCode": "sample string 1",
"countryName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Priceline.WebServices.Models">
<Country>
<CountryCode>sample string 1</CountryCode>
<CountryName>sample string 2</CountryName>
</Country>
<Country>
<CountryCode>sample string 1</CountryCode>
<CountryName>sample string 2</CountryName>
</Country>
</ArrayOfCountry>