OTA_HotelInvCountNotifRQ
Overview
The OTA_HotelInvCountNotifRQ
operation sends a notification to the IBE that synchronizes the inventory available for sale at the hotel.
Request
Element / @Attribute | Quantity | Type | Description |
OTA_HotelInvCountNotifRQ | 1 |
| Root element |
Inventories | 1 |
| A collection of Inventory. Hotel identification information are the attributes of this element |
@HotelCode | 1 | String | The code that uniquely identifies a single hotel property |
@HotelName | 0..1 | String | A text field used to communicate the proper name of the hotel |
Inventory | 1 |
| This is the inventory information for a given room type and date |
StatusApplicationControl | 1 |
| Information on what the Inventory Message applies to |
@Start | 1 | Date | The starting value of the time span |
@End | 1 | Date | The ending value of the time span |
@InvTypeCode | 1 | String | A code that identifies a room type |
InvCounts | 0..1 |
| A collection of inventory counts |
InvCount | 1 |
| Individual inventory count |
@CountType | 0..1 | Integer | This identifies the type of inventory count being reported |
@Count | 1 | Integer | The number of inventory units available for sale |
Sample
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<HTNGHeader xmlns="http://htng.org/1.1/Header/">
<From>
<systemId>API Debug</systemId>
<Credential>
<userName>username</userName>
<password>password</password>
</Credential>
</From>
<To>
<systemId>Convert5</systemId>
</To>
<echoToken>1717057176</echoToken>
</HTNGHeader>
</soap:Header>
<soap:Body>
<OTA_HotelInvCountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="1717057176" SequenceNmbr="564" Version="1.2">
<Inventories HotelCode="1853">
<Inventory>
<StatusApplicationControl Start="2024-05-30" End="2024-06-29" InvTypeCode="DBL" AllInvCode="true"/>
<InvCounts>
<InvCount CountType="1" Count="12"/>
</InvCounts>
</Inventory>
</Inventories>
</OTA_HotelInvCountNotifRQ>
</soap:Body>
</soap:Envelope>
Response
Element / @Attribute | Quantity | Type | Description |
OTA_HotelInvCountNotifRS | 1 |
| Root element |
@TimeStamp | 0..1 | DateTime | ISO 8601 encoded timestamp indicating the creation date and time of the message |
@Version | 0..1 | Decimal | The OpenTravel message version indicated by a decimal value |
Success | 0..1 |
| Indicates that the incoming request message was processed successfully |
Erorrs | 0..1 |
| A collection of errors that occurred during the processing of a message |
Warnings | 0..1 |
| A collection of warning that occurred during the processing of a message |
Sample
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soap:Header>
<wsa:Action>OTA_HotelInvCountNotifRS</wsa:Action>
</soap:Header>
<soap:Body>
<OTA_HotelInvCountNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.100" TimeStamp="2024-05-30T08:20:37Z">
<Success/>
</OTA_HotelInvCountNotifRS>
</soap:Body>
</soap:Envelope>