...
The getDemand
operation will return a demand data based checkin and stay dates for a 180 day future period.
Request
Element | Type | Description |
SiteIDList | Array | Mandatory A list of property IDs for which transaction details should be returned. This must be a subset of properties that are enabled for your API. At least 1 siteID is required |
...
Code Block | ||
---|---|---|
| ||
{ "userAuth": { "username": "username", "password": "password" }, "operation": "getDemand", "siteIDList": [ 1853 ] } |
Request
Element | Type | Description | |||
siteList | Array | The siteList array will contain an entry for each site as requested in the siteIDList section of the request | |||
siteID | String | The internal siteID of the proprty in the IBE. | |||
siteName | String | Property name. | |||
dates | Array | A list of dates containing demand data. | |||
date | String | The date the demand data applies to. | |||
checkinDemand | Integer | The total demand for this date based on date of checkin. | |||
stayDemand | Integer | The total demand for this date based on date of stay. | |||
rooms | Object | Details of demand data for a specific room. | |||
roomID | Integer | The internal roomID of the room in the IBE. | |||
roomCode | String | The internal code of the room in the IBE. | |||
available | Integer | The number of this room available on this date. | |||
numActive | Integer | The number of active bookings on this room / date. | |||
numCancelled | Integer | The number of cancellations on this room / date. | |||
adrActive | Float | The average daily rate for this room on this date based on active bookings. | |||
adrCancelled | Float | The average daily rate for this room based on cancelled bookings. |
...