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
## Get Inventory Examples Example requests are editable. Click to start editing.
### Return Data for All Rooms for Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Filter by Room for Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### No Reservations for Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Request Two Date Ranges for Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Request Two Consecutive Date Ranges for Hotel 484034 ##### Request ```xml
``` ##### Response ```
```
Top
### Empty Hotel Code ##### Request ```xml
``` ##### Response ```
Empty hotel code. Please see https://channel.despegar.com/portal/documentation/faq#bad-credentials
```
Top
### Wrong Dates ##### Request ```xml
``` ##### Response ```
cvc-datatype-valid.1.2.1: '2019/06/10' is not a valid value for 'date'.. Please consult documentation regarding the correct message format at https://channel.despegar.com
```
Top
### Unknown Hotel ##### Request ```xml
``` ##### Response ```
No credentials have been provided to access hotel 123. Please see https://channel.despegar.com/portal/documentation/faq#bad-credentials
```
Top
### Unknown Hotel Rooms ##### Request ```xml
``` ##### Response ```
Room codes 123,456 invalid for hotel 484034
```
Top
### Invalid Query for Two Different Hotels in the Same Message ##### Request ```xml
``` ##### Response ```
No credentials have been provided to access hotel 282445. Please see https://channel.despegar.com/portal/documentation/faq#bad-credentials
```
Top