GET api/pub/countries/{code}

Retrieves the ISO 3166-1 alpha-2 – two-letter country codes

Request Information

Parameters

NameDescriptionAdditional information
code
ISO 3166-1 alpha-2 – two-letter country codes

Define this parameter in the request URI.

Response Information

The ISO 3166-1 alpha-2 – two-letter country codes

Response body formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Name": "sample string 1 - sample string 2"
}

application/xml, text/xml

Sample:
<CountryDTO>
  <Code>sample string 1</Code>
  <Name>sample string 1 - sample string 2</Name>
</CountryDTO>