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