GET GetCountryFromCountryId?CountryId={CountryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CountryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Country
NameDescriptionTypeAdditional information
Id

integer

None.

Iso

string

None.

Name

string

None.

Iso3

string

None.

NumCode

integer

None.

PhoneCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Iso": "sample string 2",
  "Name": "sample string 3",
  "Iso3": "sample string 4",
  "NumCode": 1,
  "PhoneCode": 5
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanicSAAPI.Database">
  <Id>1</Id>
  <Iso>sample string 2</Iso>
  <Iso3>sample string 4</Iso3>
  <Name>sample string 3</Name>
  <NumCode>1</NumCode>
  <PhoneCode>5</PhoneCode>
</Country>