GET api/Country/GetAllCountries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Country| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryCode | integer |
None. |
|
| CountryName | string |
String length: inclusive between 0 and 100 |
Response Formats
application/json, text/json
Sample:
[
{
"CountryCode": 1,
"CountryName": "sample string 2"
},
{
"CountryCode": 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/ERPAPIV1.Models">
<Country>
<CountryCode>1</CountryCode>
<CountryName>sample string 2</CountryName>
</Country>
<Country>
<CountryCode>1</CountryCode>
<CountryName>sample string 2</CountryName>
</Country>
</ArrayOfCountry>