GET address/countries/{region}

Get Countries codes and validation pattern for a given region

Request Information

URI Parameters

NameDescriptionTypeAdditional information
region

Specifies Region (North America - 0, Europe - 1, Latin America - 2)

AddressRegionType

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AddressCountry
NameDescriptionTypeAdditional information
Id

Identifier

integer

None.

CountryCode

Country Code Standard ISO-3166 2-Character country code

string

Max length: 2

Region

Specifies Region (North America - 0, Europe - 1, Latin America - 2)

AddressRegionType

None.

RegexValidationPattern

Regex pattern used for postal code validation

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CountryCode": "sample string 2",
    "Region": 0,
    "RegexValidationPattern": "sample string 3"
  },
  {
    "Id": 1,
    "CountryCode": "sample string 2",
    "Region": 0,
    "RegexValidationPattern": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddressCountry xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AddressCountry>
    <Id>1</Id>
    <CountryCode>sample string 2</CountryCode>
    <Region>NA</Region>
    <RegexValidationPattern>sample string 3</RegexValidationPattern>
  </AddressCountry>
  <AddressCountry>
    <Id>1</Id>
    <CountryCode>sample string 2</CountryCode>
    <Region>NA</Region>
    <RegexValidationPattern>sample string 3</RegexValidationPattern>
  </AddressCountry>
</ArrayOfAddressCountry>