GET api/v3/Locations/countries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CountryName | 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>