GET api/v3/Locations/countries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Country
NameDescriptionTypeAdditional 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"
}

text/html

Sample:
{"Id":1,"CountryName":"sample string 2","IsActive":true,"CountryCode":"sample string 4"}

text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <CountryCode>sample string 4</CountryCode>
  <CountryName>sample string 2</CountryName>
  <Id>1</Id>
  <IsActive>true</IsActive>
</Country>