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 |
| 1 | City Code | Integer | Unique TBO City code. | |
Response
| Level |
Parameter |
Type |
Description |
| 1 | Status; | Object | | |
| 2 | Code | Integer | Internal code to denote response status | |
| 3 | Hotels | Object | | |
| 4 | HotelCode | Integer | Unique TBOH hotel codes | |
| 5 | HotelName | String | Hotel name against TBOH hotel code | |
| 6 | HotelRating | Enumer ation | Star Rating of the hotel | |
| 7 | Address | String | Address first line of the hotel | |
| 8 | Attractions | String | It shows the nearby locations, and the attractions point | |
| 9 | CountryName | String | Name of the Country | |
| 10 | CountryCode | Integer | Code of the country | |
| 11 | Description | String | A short description about the hotel | |
| 12 | FaxNumber | Integer | Fax number of the hotel | |
| 13 | HotelFacilities | String | Display all available hotel facilities | |