HotelDetails
GET {{endpoint}}/hotel-content-api/1.0/hotels/{{hotelCode}}/details?language=ENG&useSecondaryLanguage=False
This operation will bring up all details of an specifc hotel in a JSON or XML response.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
language | string | Language Code in which you want the descriptions to be returned. If not specifically indicated, English is the default language. | |
useSecondaryLanguage | string | "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
Key | Datatype | Required | Description |
---|---|---|---|
Api-key | string | API Key used in the request | |
X-Signature | string | SHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds | |
Accept | string | Defines response format, posible values: application/xml, application/json | |
Accept-Encoding | string | Defines type of encoding used on the data |