Get Country
Description
The getCountry
endpoint is used to fetch the Country details based on the Country code.
Request¶
Endpoint¶
/ui/refdata/v1/getCountry/{alpha3CountryCode}
Replace alpha3CountryCode
with 3 letter country code.
Given a country code the endpoint looks as below:
/ui/refdata/v1/getCountry/USA
Method¶
GET
Note
CountryCode is Alphabet Only, must be 3 characters, and is mandatory.
Response¶
{
"id": 1,
"alpha2Code": "US",
"alpha3Code": "USA",
"countryText": "United States of America",
"numericCode": "840",
"zipCodeFormat": "NNNNN-NNNN",
"createdDateTime": 1543507523000
}
Updated As Of Version: 6.1.0.3