Regions
Display travel details for domestic and regional travel.
Beyond general travel bans and procedures on a country level, many states, districts and other administrative divisions have imposed additional restrictions and measurements within their geographic and administrative area.
Regional information
Countries can be further divided into their respective subdivision, these can be states, districts, provinces, emirates, etc.
The regions endpoint is providing information about a specific region and its relationship with a country. Both regionCode
and countryCode
are ISO 3166-2 conform.
In addition a regionName
and countryName
is provided to display the country and or region in a human friendly and localized way.
{
"meta": {
"copyright": "Sherpa",
"version": "2.8.3"
},
"data": [
{
"id": "US-AL",
"type": "region",
"attributes": {
"type": "REGION",
"regionCode": "US-AL",
"regionName": "Alabama",
"countryCode": "USA",
"countryName": "United States"
},
"relationships": {
"country": {
"data": {
"id": "USA",
"type": "COUNTRY"
}
},
"restrictions": {
"meta": {
"count": 1
},
"data": [
{
"id": "05794da9-a662-4276-bc9d-79afa9daef65",
"type": "RESTRICTION"
}
]
},
"procedures": {
"meta": {
"count": 3
},
"data": [
{
"id": "460ca116-c657-48e3-9cbb-1e357546d1e0",
"type": "PROCEDURE"
},
{
"id": "7144f87a-52bf-4603-a920-dd3accc61bc1",
"type": "PROCEDURE"
},
{
"id": "a9dbef67-a34f-4929-9a2a-d94022885ac6",
"type": "PROCEDURE"
}
]
}
}
},
Relationship between Country, Restrictions and Procedures
Each country has a number of administrative sub divisions which are represented by the Region resource in our API. Just like countries, a Region can have a series of Restrictions and Procedures bound to that specific region.
Updated almost 3 years ago