Skip to content

Retrieve region details

Request

Retrieve the details of the specified region.

Security
SessionKey(Required scopes: customeradministrator)
Path
regionintegerrequired

Unique identifier of the requested region

curl -i -X GET \
  'https://docs.ticketingevents.com/_mock/openapi/regions/{region}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Details of the requested region were successfully retrieved.

Bodyapplication/json
selfstring

URI of the region resource

namestring

Unique name of the region

countrystring

Country in which the region is located

districtstring

Parish, state, province, county, etc. in which the region is located

citystring

City, town or village in which the region is located

iconstring, (uri)

URI of an icon that represents the region (e.g. flag)

Response
{ "self": "/regions/19290238432215", "name": "Antigua and Barbuda", "country": "Antigua and Barbuda", "district": "", "city": "", "icon": "https://restfulcountries.com/assets/images/flags/Antigua-And-Barbuda.png" }