This request provides inventory allocations counts for a specific room type.
Parameter | Required | Notes |
---|---|---|
start | N | The date from which inventory will be returned. If not provided, defaults to the current day. |
end | N | The end date up to which inventory will be returned. Can be a maximum of one month from the specified start date. If not provided, defaults to one week from the start date |
GET https://api.hooroo.com/channel_manager/v1/properties/<PropertyId>/inventory/<RoomTypeCode>.xml
Returns inventory allocations for the room type from the current date for a period of one week
GET https://api.hooroo.com/channel_manager/v1/properties/<PropertyId>/inventory/<RoomTypeCode>.xml?start=2012-01-01&end=2012-01-15
Returns inventory allocations for the room type with information for rates between the specified dates.
Body:
Empty
HTTP status code: 200 OK
Body:
An Inventory element will be returned for each night stay for the room type. Where no inventory has been provided for a night, an allocation of zero will be returned
HTTP status code 400 Bad Request (client error) HTTP status code 500 Internal Server Error (server error)
Body: