menu

Hotel Details

Kindly note that the static data works on the below mentioned flow;

Country List > City List >TBO Hotel Code List / Hotel Code List> Hotel Details

You need to call country list using get method and in the response , you'll receive the list of countries along with their codes

In the city list, you'll then pass the desired country code and you'll receive the city name and code corresponding to that city.

You'll then call TBO Hotel code list with the city code for which you want to proceed and in the response you'll receive the hotel code, name with short description.

Finally when you have chosen a particular hotel for which you want to proceed for the booking you'll call hotel details by passing the hotel codes in the request, corresponding to which you'll receive all the possible details including images, latitude, longitude , star rating etc in the response.

Note- Hotel Code List is used to fetch all the hotels from the API whereas TBO Hotel Code List is used to fetch city wise hotel codes.

We would suggest you to kindly call the static data API's i.e. country list, city list, tho hotel code list and hotel details to be downloaded at your end and must be refreshed in every 15 days. On staging you can do the same for only two cities i.e. Delhi from domestic and Dubai from international for testing purpose instead of downloading the entire data. Once you're on production you can segregate the data as per your top destinations and then you can download the same accordingly from your end.

Request
Level Parameter Type Description
1 Hotel Code Integer Unique TBO Hotel code.
2 Language String Code of preferred language to retrieve response. EN English
1 IsRoomDetailRequired String If Room wise details are required
Response
Level Parameter Type Description
1StatusObject
2CodeIntegerInternal code to denote response status
3DescriptionStringDescriptive message.
4HotelDetailsObject
5HotelCodeIntegerUnique TBOH hotel codes
6HotelNameStringHotel name against TBOH hotel code
7DescriptionStringA short description about the requested hotel
8HotelFacilitiesStringDisplay all available hotel facilities
9AttractionsStringIt shows the nearby locations, and the attractions point
10ImagesStringAll Hotel images link
11AddressStringAddress first line of the hotel booked
12PinCodeIntegerPin code of hotel city
13CityIdIntegerCode of the city
14CountryNameStringName of the Country
15PhoneNumberStringPhone number of the Hotel booked
16FaxNumberIntegerFax number of the hotel
17HotelRatingEnumerationStar Rating of the hotel booked
18MapStringContains latitude, longitude information
19CityNameStringName of City
20CountryCodeIntegerCode of the country
21CheckInTimeStringCheck-In time of the stay.
22CheckOutTimeStringCheck-Out time of the stay.