Inventory Count Notif
OTA Message Pair: OTA_HotelInvCountNotifRQ / OTA_HotelInvCountNotifRS
The Inventory Count Notification message notifies a booking source of the amount of inventory available at a specific hotel property. It allows Levart and 3rd Party (CRS) sources to synchronize the number of inventory items available for sale between them.
The Inventory Count Notification is used to send base inventory levels by inventory code, (e.g., room type code) to establish the physical inventory count. An Inventory Notification should always precede an Inventory Count Notification to establish the existence of inventory codes in the reservation system.
The physical inventory is the basis by which availability is determined. However, additional calculations figure into assigning the inventory counts for availability. Availability is a commitment to sell a room at a specific rate or plan. Since the same rooms may be sold under different rate plans, a system may carry a discrete inventory or an inventory count in association with different rates.
The Inventory Count Notification message can be used to communicate to revenue management systems how many rooms are available to sell during a specific period. A reservation system may choose not to synchronize with actual inventory numbers, rather with a threshold. Properties and booking sources need to agree on common thresholds, whether they are derived from virtual or real
inventory, in addition to a way to accommodate overbooking.
Direction
- Levart can send request to 3rd Party and expect a response.
Request
<OTA_HotelInvCountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelInvCountNotifRQ.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0">
<Inventories HotelCode="12345" HotelName="Santiago Deluxe Aparmtments">
<Inventory>
<StatusApplicationControl InvTypeCode="150" Start="2018-06-21" End="2018-06-21"/>
<InvCounts>
<InvCount CountType="1" Count="0" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl InvTypeCode="150" Start="2018-06-22" End="2018-06-22" />
<InvCounts>
<InvCount CountType="1" Count="9" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl InvTypeCode="150" Start="2018-07-16" End="2007-12-06" />
<InvCounts>
<InvCount CountType="1" Count="9" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl InvTypeCode="142" Start="2018-06-21" End="2018-06-22" />
<InvCounts>
<InvCount CountType="1" Count="10" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl InvTypeCode="142" Start="2018-06-23" End="2018-06-27" />
<InvCounts>
<InvCount CountType="1" Count="9" />
</InvCounts>
</Inventory>
</Inventories>
</OTA_HotelInvCountNotifRQ>
Request Specification
Element | Num | Description |
---|---|---|
OTA_HotelInvCountNotif | 1 | Root ELement |
@Version | 1 | Current Version 1.0 |
@EchoToken | 0..1 | Echo Token (Random String) |
@TimeStamp | 1 | Date and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00 |
Inventories | 1 | |
Inventory | 1..n | |
Inventory > StatusApplicationControl | 1 | StatusApplicationControl Element |
StatusApplicationControl > @InvTypeCode | 1 | The Inventory Type Code |
StatusApplicationControl > @Start | 1 | Start Date in YYYY-MM-DD format. |
StatusApplicationControl > @End | 1 | End Date in YYYY-MM-DD format (Inclusive) |
Inventory > InvCounts | ||
InvCounts > InvCount | 1 | |
InvCount > @CountType | 1 | Always 1 (Availability) |
InvCount > @Count | 1 | The number of room available to sell at the current time. |
Response (Success)
<OTA_HotelInvCountNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelInvCountNotifRS.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0">
<Success/>
</OTA_HotelInvCountNotifRS>
Response (Error)
<OTA_HotelInvCountNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelInvCountNotifRS.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0">
<Errors>
<Error Type="1">Message Here</Error>
</Errors>
</OTA_HotelInvCountNotifRS>