GET api/country
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "Code": "sample string 3" }, { "ID": 1, "Name": "sample string 2", "Code": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Data.Crm"> <Country> <Code>sample string 3</Code> <ID>1</ID> <Name>sample string 2</Name> </Country> <Country> <Code>sample string 3</Code> <ID>1</ID> <Name>sample string 2</Name> </Country> </ArrayOfCountry>