Inventory Count Notification

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.

Request Fields

FieldRequiredNotes
InstanceNIf 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
TypeNAlways 16 (OTA UIT "Reference")
IDNUnique ID created by Channel Management system.
HotelCodeYThe code that uniquely identifies a single hotel property
HotelNameNA text field used to communicate the proper name of the hotel
InvTypeCodeYRoom type code. Inventory allocations are manged by room type, with all offers sharing the allocation
StartYThe starting date of the inventory allocation
EndYThe ending date of the inventory allocation
CountYAllocation 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.
ActionTypeNThe 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.

Request

POST https://api.hooroo.com/channel_manager/v1/inventory/<HotelCode>.xml

Body:

Responses

Success

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:

Failure

HTTP status code 400 Bad Request (client error)
HTTP status code 500 Internal Server Error (server error)