
This message returns a list of destinations loaded on the platform that are associated with the user making the request.
The response will include the list of destinations, identified by their type.
Endpoint: https://hotel.new.hotetec.com/webservice/integrations/pull/listLocations
Request message listLocations
The message is composed of the following elements:
Element | Mandatory | Values / Format | Description |
sessionId | Y | Alfanumeric | Generated session ID |
languageCode | Y | DE, EN, ES, FR, IT, NL, PT | Language in which the response should be returned. If not specified, Hotetec's default value for the user will be used. ISO 639-1 codes are employed. Currently, only the codes listed under “values” are accepted. |
currency | Y | EUR, USD, GBP, EGP, MXN, CHF, CUP | Currency in which the request prices should be returned. If not specified, Hotetec's default value for the user will be used.
|
locationCode | N | Alfanumeric | Geographic zone code where the establishment is located. |
locationName | N | Alfanumeric | Name of the geographic zone where the establishment is located. |
locationType | N | Alfanumeric. Zone, Area, Region, Country | Type of geographic zone where the establishment is located. |
parentLocationCode | N | Alfanumeric | Code of the higher-level geographic zone where the establishment is located. |
Request example:
Reponse message listLocations
The message is composed of the following elements:
Element | Description |
sessionId | Generated session ID |
notification | Notification type. |
notificationDetail | Descripción de la notificación indicada. |
| |
location | |
code | Geographic zone code where the establishment is located. |
name | Geographic zone name where the establishment is located. |
type | Geographic zone type where the establishment is located. |
| parentCode | Parent (upper-level) geographic zone code where the establishment is located. |
Response example: