Get Room Type List API
Description: Get list room type by hotel id and booking type
Path: /api/v2/hotel/getRoomTypeList
Method: POST
Content Type/Accept Type: application/json
Request
Attributes
* = required
bookingType*
integer
Type of booking
Possible enum values:
1 = Hourly Booking
2 = Overnight Booking
3 = Daily Booking
Example
Response
Attributes
roomTypeList.roomType
roomTypeList.roomType.ratePlanList.ratePlan
roomTypeList.roomType.ratePlanList.ratePlan.numOfRoom
integer
Num of room left. If the value returns as 2147483647 (max int value), the actual value could not be determined
roomTypeList.roomType.ratePlanList.ratePlan.status
integer
Rate plan status
Possible enum values:
1 = Available
2 = Lock
roomTypeList.roomType.ratePlanList.ratePlan.firstHours
integer
Minimum number of hours allowed to book this room for Hourly Booking
roomTypeList.roomType.ratePlanList.ratePlan.maxNumHours
integer
Maximum number of hours allowed to book this room for Hourly Booking