Notification of updates to physical counts of inventory items (i.e. room types) for a property. Each inventory element must identify a room type that the inventory allocation is to update; this is the InvTypeCode value, which is the Room Type code known by the Hooroo Extranet.
Field | Required | Notes |
---|---|---|
Instance | N | If a value of "FullLoad" is provided, the extranet will assume that this message is intended as a full reload of all entities contained in the message, as opposed to a change set of deltas. Entities not contained in the message will be deleted |
Type | N | Always 16 (OTA UIT "Reference") |
ID | N | Unique ID created by Channel Management system. |
HotelCode | Y | The code that uniquely identifies a single hotel property |
HotelName | N | A text field used to communicate the proper name of the hotel |
InvTypeCode | Y | Room type code. Inventory allocations are manged by room type, with all offers sharing the allocation |
Start | Y | The starting date of the inventory allocation |
End | Y | The ending date of the inventory allocation |
Count | Y | Allocation of inventory for the room type in the given time period. If the start and end times specify a range, the allocation count will be applied to all dates within the range. |
ActionType | N | The ActionType denotes the meaning of the value in Count. Only a value of 'Allocation' is supported at this time and is assumed if the ActionType attribute is not provided. |
POST https://api.hooroo.com/channel_manager/v1/inventory/<HotelCode>.xml
Body:
HTTP status code: 202 Accepted
Body:
Where errors contains error messages that are applicable to any portions of the request that were not able to be applied to the system.
Body:
HTTP status code 400 Bad Request (client error)
HTTP status code 500 Internal Server Error (server error)