GET v1/Lookups/Countries
Returns a list of Countries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of Countries
Collection of CountryDTOName | 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:
<ArrayOfCountryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <CountryDTO> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 2</CountryName> </CountryDTO> <CountryDTO> <CountryCode>sample string 1</CountryCode> <CountryName>sample string 2</CountryName> </CountryDTO> </ArrayOfCountryDTO>