Hotel Detail Request

This operation will bring up all details of an specifc hotel in a JSON or XML response. It is intended to use when the hotel is not in the local database due it was created after the last update of your local database.

The access to the contents will be possible using GET requests.

Operation path: /hotels/{hotel_code}

REQUEST PARAMETERS

Parameter Type Description
hotel_code String

Code of the hotel to retrieve the details.

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. 

GET Example

https://api.test.hotelbeds.com/hotel-content-api/1.0/hotels/1?language=ENG
https://api.test.hotelbeds.com/hotel-content-api/1.0/hotels/62458?language=ITA&useSecondaryLanguage=true

Docs Navigation