Get Hotel List API
Description: Retrieve all of the available hotel(s) for a given set of search criteria. Breakdown hotels into many smaller get hotel list requests
Path: /api/v2/hotel/getHotelList
Method: POST
Content Type/Accept Type: application/json
Request
Attributes
* = required
hotelSnList
array<integer>
List of Go2Joy hotel SN can contain up to 50 hotel SNs at maximum. All Get Hotel List requests can be sent in parallel
criteria*
criteria.bookingType*
integer
Type of booking
Possible enum values:
1 = Hourly Booking
2 = Overnight Booking
3 = Daily Booking
criteria.promotion
integer
Type of promotion
Possible enum values:
0 = All (default)
1 = FlashSale
2 = Direct discount
criteria.bedTypeList
array<integer>
List room’s bed type
Possible enum values:
1 = Single
2 = Double
3 = Twin
4 = Triple
5 = 2 Double
criteria.viewList
array<integer>
List room’s view
Possible enum values:
1 = Window
2 = Balcony
3 = City
4 = Garden
5 = Pool
6 = None
criteria.maxPrice
integer
Max room’s price. Filter based on the best hotel's room rate.
Maximum recommended value is 20.000.000 (VND)
sortType
integer
Sort's Type
Possible enum values:
0 = None (default)
1 = Price increasing
2 = Price decreasing
3 = Hotel’s Rating
4 = Hotel’s Review
Example
Response
Attributes
ratePlanList.ratePlan
ratePlanList.ratePlan.numOfRoom
integer
Num of room left. If the value returns as 2147483647 (max int value), the actual value could not be determined.