Appearance
getCountries ​
Retrieves a list of ISO countries.
Request ​
http
GET /rest/refdata/countriesParameters ​
None.
Response ​
200 OK ​
json
[
{
"isoCode": "AU",
"isoCountry": "AUSTRALIA"
},
{
"isoCode": "NZ",
"isoCountry": "NEW ZEALAND"
}
]| Field | Type | Description |
|---|---|---|
isoCode | string | 2-character ISO country code |
isoCountry | string | Country name |
Errors ​
| Exception | Cause |
|---|---|
WSRefDataServiceException | Service error while fetching countries |
Version ​
Check the current data version:
http
GET /rest/refdata/countries/versionjson
{ "version": 1 }