Get Country
GET https://{{host}}/v3/countries/:id
Returns a country for a given country ID number. Note that a unique identification number is allocated to each country included in the DIDWW coverage.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string | ||
Api-Key | string |
RESPONSES
status: OK
{"data":{"id":"e352699c-3764-415b-8946-dd470c1e0ed7","type":"countries","attributes":{"name":"United Kingdom","prefix":"44","iso":"GB"},"relationships":{"regions":{"links":{"self":"https://api.didww.com/v3/countries/e352699c-3764-415b-8946-dd470c1e0ed7/relationships/regions","related":"https://api.didww.com/v3/countries/e352699c-3764-415b-8946-dd470c1e0ed7/regions"}}}},"meta":{"api_version":"2017-09-18"}}