menu

HotelCodes

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.

Request
Level Parameter Type Description
1Hotel Code Integer Unique TBOH Hotel code.
2 Language String Code of preferred language to retrieve response. AR – Arabic, ES – Spanish, PT – Portuguese, FR – French, ZH- Chinese/Traditional Chinese
Response
Level Parameter Type Description
1 Status; Object
2 Code Integer Internal code to denote response status
3 Description String Descriptive message.
4 HotelDetails Object
5 HotelCode Integer Unique TBOH hotel codes
6 HotelName String Hotel name against TBOH hotel code
7 Description String A short description about the requested hotel
8 HotelFacilities String Display all available hotel facilities
9 Attractions String It shows the nearby locations, and the attractions point
10 Images String All Hotel images link
11 Address String Address first line of the hotel booked
12 PinCode Integer Pin code of hotel’s city
13 CityId Integer Code of the city
14 CountryName String Name of the Country
15 PhoneNumber String Phone number of the Hotel booked
16 FaxNumber Integer Fax number of the hotel
17 HotelRating Enumeration Star Rating of the hotel booked
18 Map String Contains latitude, longitude information
19 CityName String Name of City
20 CountryCode Integer Code of the country
21 CheckInTime String Check-In time of the stay.
22 CheckOutTime String Check-Out time of the stay.