Skip to content

Add a supported region

Request

Add a supported region to the TickeTing system. Any venue created needs to reference the region in which it is located. Events staged at this venue will be grouped within the related region, and are displayed to users based on their regional preference.

Security
SessionKey(Required scopes: administrator)
Bodyapplication/json
namestringrequired

Unique name of the region

countrystringrequired

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

curl -i -X POST \
  https://docs.ticketingevents.com/_mock/openapi/regions \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "Antigua and Barbuda",
    "country": "Antigua and Barbuda",
    "district": "",
    "city": ""
  }'

Responses

The supported region was successfully added.

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" }