GET api/Country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of APICountryName | 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:
<ArrayOfAPICountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgTravelSoftCore.Model"> <APICountry> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 2</CountryName> </APICountry> <APICountry> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 2</CountryName> </APICountry> </ArrayOfAPICountry>