Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Element | @Attribute

Num

Description/Contents

Origin | Value

OTA_HotelInvCountNotifRQ

 1  

Root element of the message.  

   

@EchoToken  

 0..1  

   

Unique number for every transaction. Must be returned as part of the response to this message

@TimeStamp  

 1  

Time of the transaction.

Time the message was assembled

@Version  

 1  

Version is a mandatory attribute in OTA; therefore, it must remain Mandatory in HTNG to be able to use the same message.

1.000  

OTA_

...

languagexml

OTA_HotelInvBlockNotifRQ Sample Cancel Block Message

...

HotelInvCountNotifRQ / POS / Source  

 1  

Optional. This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.

Not mapped

OTA_HotelInvCountNotifRQ / POS / Source / RequestorID

 1  

The system sending the request message. An identifier of the entity making the request (e.g. ATA/IATA/ID number, Electronic Reservation Service
Provider (ERSP), Association of British Travel Agents (ABTA)).

   

@Type  

 1  

Type attribute uses the OTA code list UIT. For example, type 22 – ERSP (Electronic reservation service provider).

   

@ID  

 1  

ID is used for the name or ID of the requestor. For example, SynXis.

   

OTA_HotelInvCountNotifRQ / Inventories

 1  

A collection of Inventory. Hotel identification information are the attributes of this element.

   

@ChainCode  

 0..1  

Optional. The chain code for which the availability request is for.

   

@BrandCode  

 0..1  

Optional. The Brand Code for which the availability request is for.

Not mapped  

@HotelCode  

 1  

This is the code of the property whose availability is being requested.

Property Code of transaction 

OTA_HotelInvCountNotifRQ / Inventories / Inventory  

 1..n  

This is the inventory information for a given rate plan, room type, date, etc

   

OTA_HotelInvCountNotifRQ / Inventories / Inventory / StatusApplicationControl

 0..n  

Information on what the InvCountNotif Message applies to (i.e. the combination of inventory and/or rate codes) and the period of application.

   

@Start, @End  

 1  

The first and last dates for which the availability update is being sent

   

@Mon,@Tue,@Weds, @Thur,@Fri,@Sat,@Sun

 0..1  

The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent they must all be sent.

   

 @AllInvCode  

 0..1  

When true indicates that the data transmitted is for total inventory in the hotel. This field is required if @InvTypeCode is not set.

   

 @InvTypeCode  

 0..1  

This is the room type code for which the update is being sent. This field is required if @AllInvCode= ”false” or missing. This field should not be sent if
@AllInvCode= ”true”

   

 @InvBlockCode  

 0..1  

Code that identifies an inventory block  

   

 @RatePlanCode  

 0..1  

Code that identifies the rate plan associated with an inventory block.

   

OTA_HotelInvCountNotifRQ  / Inventories / Inventory / InvCounts  

 0..1  

A collection of inventory counts.  

   

OTA_HotelInvCountNotifRQ / Inventories / Inventory / InvCounts / InvCount

 1..n  

Individual inventory count (e.g. Physical, Available, Sold, OOO, NAFS).

   

@CountType

 1  

This identifies the type of inventory count being reported. Refer to OpenTravel Code List Inventory Count Type (INV).

1 Physical
2 Definitive availability
3 Tentative availability
4 Definite sold 6 Out of order
8 Out of inventory 16 Group authorized
17 Group sold
18 Group available

AT this time, count type ‘1’is the only type supported. 

@Count  

 1  

 Number of rooms of this type  

   

OTA_HotelInvCountNotifRQ / Inventories / Inventory / UniqueID  

 0  

Used in response message in the case of an error to indicate which node failed.

   

@Type  

 0  

Type refers to OTA code list UIT – nr 16 =  Reference. This is used to identify each single availability status message for error reporting purposes.

   

@ID  

 0  

ID is a unique incremental number for each availability message that identifies that specific message.

   

OTA_HotelInvCountNotifRQ Sample Inventory Update Message

Code Block
languagexml
<OTA_HotelInvCountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLXSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRQ.xsd" TimeStamp="2005-10-01T09:41:51.982" Version="1.001">
	<Inventories HotelCode="10001" HotelName="Test Hotel">
		<Inventory>
			<UniqueID Type="16" ID="1"/>
			<StatusApplicationControl Start="2010-03-01" End="2010-03-15" AllInvCode="True"/>
			<InvCounts>
				<InvCount CountType="1" Count="20"/>
				<InvCount CountType="2" Count="17"/>
				<InvCount CountType="6" Count="1"/>
				<InvCount CountType="8" Count="2"/>
			</InvCounts>
		</Inventory>
	</Inventories>
</OTA_HotelInvCountNotifRQ>

OTA_HotelInvCountNotifRS Elements & Attributes

Element | @Attribute

Num

Description/Contents

Origin | Value

OTA_HotelInvCountNotifRQ

 1  

Root element of the message.  

   

@EchoToken  

 0..1  

Optional

@TimeStamp  

 1  

Time of the transaction.

@Version  

 1  

Version is a mandatory attribute in OTA; therefore, it must remain Mandatory in HTNG to be able to use the same message.

1.000  

OTA_HotelInvCountNotifRS / Success  

 1  

This is the annotation that the availability request was received successfully. It could be combined with warning messages if some of the messages in the
batch had issues

OTA_HotelInvCountNotifRS / Warnings  

 1..n  

   

@ Type  

 1  

Refers to OTA EWT list (error warning type).

@ Code  

 0..1  

Optional. Refers to OTA list ERR. Should be used wherever possible  

@ RecordID

 0..1  

If the receiving system can identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be
reported here.

OTA_HotelInvCountNotifRS / Errors  

 1  

Errors are returned if the request was unable to be processed.

@ Type

 1  

Mandatory in OTA. Refers to OTA EWT list (error warning type).  

@ Code

 0..1  

Optional. Refers to OTA list ERR. Should be used wherever possible

@ RecordID

0..1

If the receiving system can identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be reported here.

OTA_HotelInvCountNotifRS Sample Inventory Response Message

Code Block
languagexml
<OTA_HotelInvCountNotifRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentravel.org/OTA/2003/05" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRS.xsd" TimeStamp="2004-05-01T06:39:09" Target="Production" Version="1.002">
	<Success/>
</OTA_HotelInvCountNotifRS>

  

Page Properties
hiddentrue

Method

<OTA_HotelInvCountNotifRQ/RS>

Summary

Inventory Counts

Revision

v1.0