Destinations

GET {{endpoint}}/hotel-content-api/1.0/locations/destinations?fields=all&language=ENG&from=1&to=100&useSecondaryLanguage=false

It will return the list of available destinations, zones and grouping zones.

Request Params

KeyDatatypeRequiredDescription
fieldsstringList of fields you want to receive in the response. If nothing is specified the hotelCode will be returned. Values: countryCode, isoCode, name, zones, groupZones, all
codesstringFilter to limit the results for an specific destination or list of destinations.
countryCodesstringFilter for a specific country of list of countries.
lastUpdateTimestringSpecifying this parameter will limit the results to those modified or added after the date specified. The allowed format is YYYY-MM-DD.
languagestringLanguage Code in which you want the descriptions to be returned. If not otherwise indicated, English is the default language.
fromnumberNumber of the initial record to receive, if nothing is indicated 1 is the default value.
tonumberNumber of the final record to receive, if nothing is indicated 100 is the default value.
useSecondaryLanguageboolean"True" if you want to receive the descriptions in English if the description is not available in the language requested.
"False" (default value) if you dont want to receive the description in English if the language requested is not available.

HEADERS

KeyDatatypeRequiredDescription
Api-keystringAPI Key used in the request
X-SignaturestringSHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds
AcceptstringDefines response format, posible values: application/xml, application/json
Accept-EncodingstringDefines type of encoding used on the data