GET v1/Common/CountryCodes

Gets all country codes.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list.

Collection of CountryCodeV1
NameDescriptionTypeAdditional information
Code

The country code.

string

None.

Name

The country name.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "US",
    "Name": "U.S.A."
  },
  {
    "Code": "CA",
    "Name": "Canada"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Common">
  <CountryCode>
    <Code>US</Code>
    <Name>U.S.A.</Name>
  </CountryCode>
  <CountryCode>
    <Code>CA</Code>
    <Name>Canada</Name>
  </CountryCode>
</ArrayOfCountryCode>