Home
Developer Guide
Introduction
About the API
Integrating with the API
FAQ
Get Hotel Information
Information
Examples
List RoomRates (Room + RatePlan)
Information
Examples
Get Availability and Restrictions
Information
Examples
Get Inventory
Information
Examples
Update Availability and Restrictions
Information
Examples
List Rate Plans
Information
Examples
Get Rates
Information
Examples
Update Rates
Information
Examples
Booking Handling (Pull)
Information
Examples
Booking Handling (Push)
Information
Examples
Reference Tables
Warning Validation Codes
Error Validation Codes
Booking Data Structures
## Update Availability and Restriction Examples Example requests are editable. Click to start editing.
### Update Only Availability For Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Update Some Restrictions For Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Update Availability and All Possible Restrictions For Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Set Stop-Sell for Room 844228 For Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Unknown Room Code ##### Request ```xml
``` ##### Response ```
Availability update for room 1 failed with error: Requested resource has not been found. Could not find room filtering by id=1
```
Top
### Unknown Rate Plan Code ##### Request ```xml
``` ##### Response ```
The ratePlan: NOT_EXIST does not exist. Please check this is in /v1/hotels/rate-plans/list or the extranet
The room rate for: (RoomCode , ratePlanCode) (74959 , NOT_EXIST) does not exist. Please check this is in /v1/hotels/availability/list or the extranet
```
Top
### Invalid Update of Inherited Restrictions ##### Request ```xml
``` ##### Response ```
The ratePlan: 28 does not exist. Please check this is in /v1/hotels/rate-plans/list or the extranet
The room rate for: (RoomCode , ratePlanCode) (844228 , 28) does not exist. Please check this is in /v1/hotels/availability/list or the extranet
The ratePlan: 38 does not exist. Please check this is in /v1/hotels/rate-plans/list or the extranet
The room rate for: (RoomCode , ratePlanCode) (844228 , 38) does not exist. Please check this is in /v1/hotels/availability/list or the extranet
```
Top