List Room-Rates*
* We use the term "room-rate" to refer to the connection (or assignment) between a room and a rate-plan.
URL: /v1/hotels/availability/list
Goals
To list all the rooms and rate plan assignments for a hotel.
Notes
This API uses the same message of Get Availability and Restrictions, without specifying date ranges, or filtering by room or rate plan.
Message Detail
Input: OTA_HotelAvailGetRQ
| Element | Number | Description |
|---|---|---|
| OTA_HotelAvailGetRQ | 1 | Root element |
| OTA_ HotelAvailGetRQ / HotelAvailRequests | 1 | |
| HotelAvailRequests / HotelAvailRequest | 1 | |
| HotelAvailRequest / HotelRef | 1 | |
| @HotelCode | 1 | The code of the hotel. |
Output: OTA_HotelAvailGetRS
| Element | Number | Description |
|---|---|---|
| OTA_HotelAvailGetRS | 1 | Root element |
| OTA_HotelAvailGetRS / AvailStatusMessages | 1 | Contains the room/rate messages. |
| @HotelCode | 1 | The code of the hotel. |
| AvailStatusMessages / AvailStatusMessage | 1..n | Each contains the room/rate. |
| AvailStatusMessage / StatusApplicationControl | 1 | |
| @RatePlanCode | 1 | Identifier code of the rate plan. |
| @InvCode | 1 | Room identifier code. |