Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Inhalt


Target audienceRMS, CRM, CRS
Version3.0
AuthenticationBearer Token
Message typeAsynchronous, Push
DirectionInbound, Outbound


Message Description

protel I/O uses a request and response message pair to notify a booking authority of the creation of a group block that can be sold against inventory and to subsequently modify or synchronise an existing inventory block between systems. In order to accommodate reservations for a group of guests in one party, a hotel may assign an inventory block and notify the Central Reservation Systems of the code and the allotment that can be used. Travel agents that are authorised to book against the allotment can then contact the hotel or Central Reservations Office to pick up a reservation within the block of rooms.

Each message will include data for a single group block at a single hotel and for just one action type. Any pre-existing allocation data and rate amounts are deleted before inventory block modification data is loaded; data that is not included in a modification is included for the group block. Data for a group blocks cannot be split over multiple messages. A group block can support multiple room types but only one rate plan. The data supported in this message includes:

  • General details such as codes, name, and descriptions

  • Contact details

  • Date ranges and release dates.

  • Rate amounts

  • Block room allocations

  • Sell limits

  • Inventory movement

Sequence

  1. The publisher sends a group block notification request message to the Subscriber system.

  2. The subscriber uses the message information to create or update the group block including inventory based on the message payload.

  3. The subscriber responds with an appropriate response message which may include warnings from business processing rules or errors if the request did not succeed. All message responses include the request identification. Responses may be returned in any order.

Info

It is not possible to modify a Profile with an inbound OTA_HotelInvBlockNotifRQ. It is only possible to create a new Profile during creating a new Allotment

InvBlock > Commit --> Create a profile
InvBlock > Modify --> No profile Modify


Message Attributes

OTA_HotelInvBlockNotifRQ

Element | @AttributeTypeNumDescription Comments + Content outboundpAIROnPremComments + Content inbound pAIROnPrem

OTA_HotelInvBlockNotifRQ


1

Root element of the message.


(Haken)

(Haken)


(Haken)

(Haken)

@EchoToken

string

0..1

A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.


(Haken)

(Haken)


(Haken)

(Haken)

@PrimaryLangID

string

0..1

The primary language preference for the message encoded as ISO 639-3.


(Haken)

(Haken)


(Haken)

(Fehler)

@TimeStamp

dateTime1

Time of the transaction.

"2019-05-16T05:24:25.8094251Z"

(Haken)

(Haken)

"2019-05-16T05:24:25.8094251Z"

(Haken)

(Haken)

@Version

string

0..1

Version of the message

"4.001"

(Haken)

(Haken)

"4.001"

(Haken)

(Haken)

@CorrelationID

string

1

Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | POS


1..10

POS provides a mechanism to indicate the source of the message.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | POS | Source


0..1

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


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | POS | Source | RequestorID


1

An identifier of the entity making the request.


(Haken)

(Haken)


(Haken)

(Haken)

@Type 

OTA_CodeType UIT

1

A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT)


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810178" target="_blank">Unique ID Type (UIT)</a>


(Haken)(Haken)

(Haken)

(Haken)

@ID 

StringLength1to32

1

The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages.


(Haken)(Haken)

(Haken)

(Haken)

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

“protelIO”(Haken)(Haken)

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | POS | Source | BookingChannel


0..1

This element is used to pass the booking source for the reservation. To send secondary booking channel information an additional Source element needs to be sent.


(Fehler)(Fehler)
(Fehler)(Fehler)
@Primaryboolean0..1Indicates whether the enumerated booking channel is in the primary means of connectivity used by the source 
  • true 
  • false
(Fehler)(Fehler)
  • true 
  • false
(Fehler)(Fehler)

@Type

OTA_CodeType BCT

1

Indicates the type of booking channel per the Open Travel BCT codes. 


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810183" target="_blank">Booking Channel Type (BCT)</a>


(Fehler)(Fehler)


(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | POS | Source | BookingChannel | TPA_Extensions


0..1

Allows extensions to be added to the OpenTravel specification per trading partner agreement.

(Haken)

(Haken)


(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | POS | Source | BookingChannel | TPA_Extensions | px:POSExtensions


0..1

Allows extensions to be added to the OpenTravel specification per trading partner agreement.

(Haken)

(Haken)
(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | POS | Source | BookingChannel | TPA_Extensions | px:POSExtensions | px:HotelInfo


0..1

Allows extensions to be added to the OpenTravel specification per trading partner agreement.

(Haken)

(Haken)
(Fehler)(Fehler)

@FiscalDate

date

0..1

The FiscalDate transports the actual date of the PMS. 


(Haken)

(Haken)


(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks


1

At least one InvBlocks containing 1 InvBlock element should be sent for the message to have meaning.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock


1..n

At least one InvBlock element should be sent for the message to have meaning and references a single block at a single hotel.

protel does not support multiple sub block or attendee types.


(Haken)

(Haken)


(Haken)

(Haken)

@InvBlockStatusCode

OTA_CodeType IBS

1

A numeric value indicating the status of the allotment. Refer to the OTA Code List: Inventory Block Status (IBS).


"Definite" indicates an allotment that is deducting from available room inventory.
"Prospect" indicates an allotment that is not affecting available room inventory.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817947" target="_blank">Inventory Block Status (IBS)</a>

OnPremise:

The ResStatus is not used in OnPremise to decide whether an allocation is blocked or not. The ResStatus can therefore be "def", but the Allotment cannot be blocking. In this scenario, the rooms in the room type plan are not deducted.

(Haken)

(Haken)


OnPrem only:

  • InvBlockStatusCode is mandatory
  • Cancelled blocks can be re-instated by sending TransactionAction "Modify" in combination with InvBlockStatusCode "5" and BookingStatus "Closed"

Possible combinations of InvBlockStatusCode & TransactionAction:

  • "1" & "Cancel"
  • "2" &  "Book"/"Commit" OR "Modify"
  • "5" &  "Book"/"Commit" OR "Modify"

(Haken)

(Haken)

@InvBlockTypeCode

OTA_CodeType IBT

0..1

Describes the type of inventory the block is being created for. Refer to OTA Code List: Inventory Block Type (IBT).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817950" target="_blank">Inventory Block Type (IBT)</a>


(Haken)

(Haken)


(Haken)

(Fehler)

@InvBlockCode

string

1

This is the internal ID of the block in protel.


(Haken)

(Haken)

  • "0" = new block
  • to modify an existing block the internal protel ID needs to be sent (it is delivered in the RS sent back for a new block)

(Haken)

(Haken)

@PMS_InvBlockID

string

0..1

This is the keyword of the block.


(Haken)

(Fehler)


(Haken)

(Fehler)

@InvBlockLongName

string

0..1

This is the full name of the inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

@InvBlockName

string

0..1

This is the short name of the inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

@TransactionAction

TransactionActionType

1

Enumerated list that describes the action associated to the message.
Used to set a new block, modify, cancel or other action as per enumerated list to be agreed between partners.

  • "Commit" OR "Book"
    (to create a block)
  • "Modify"
  • "Cancel"

(Haken)

(Haken)

  • "Commit" OR "Book"
    (to create a block)
  • "Modify"
  • "Cancel"

(Haken)

(Haken)

@BookingStatus

InvBlockType_BookingStatus

0..1

Closed = Rooms are not available for pick-up.
Open = Rooms are available for pick-up.


(Haken)

(Haken)

We only allow the following combinations:

  • InvBlockStatusCode="5" BookingStatus="Closed"
  • InvBlockStatusCode="2" BookingStatus="Open"
  • InvBlockStatusCode="1" BookingStatus="Open" or "Closed"

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | HotelRef


0..1

This is the element containing the code of the property whose inventory blocks are being updated.


(Haken)

(Haken)


(Haken)

(Haken)

@HotelCode

string

0..1

This is the code of the property whose inventory blocks are being updated.


(Haken)

(Haken)


(Haken)

(Haken)

@HotelName

string

0..1

Name for the hotel.


(Haken)

(Haken)


(Haken)

(Fehler)

@ChainCode

string

0..1

Could be set up by the User – not mandatory in the protel system.


(Haken)

(Haken)


(Haken)

(Fehler)

@ChainName

string

0..1

The name of the hotel chain (e.g., Hilton, Marriott, Hyatt, Starwood).


(Haken)

(Fehler)


(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | InvBlockDates


0..1

This is used to indicate the date or date range applicable to this inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

@Start

date

1

This is the first day for which the inventory block is bookable.


(Haken)

(Haken)


(Haken)(Haken)

@End

date

1

This represents the last date for which the inventory block is bookable.


(Haken)

(Haken)


(Haken)(Haken)

@AbsoluteCutoff

date

0..1

Used to determine when the inventory block is released back into house inventory.
Defines the absolute deadline.


(Haken)

(Haken)


(Haken)(Haken)

@OffsetDuration

duration

0..1

Defines the amount of offset time before unused block inventory is returned to general inventory depending on the specific OffsetCalculationMode.

Example: "P10D"

(Haken)

(Haken)


(Fehler)(Fehler)

@OffsetCalculationMode

InvBlockDates_OffsetCalculationMode

0..1

A string value to indicate the offset mode.
This value determines the point from which the OffsetDuration days becomes applicable.

  • "BeforeBlockStartDate" whereby rooms will be released on the date calculated by subtracting the offset duration from the block start (arrival) date.
    This is also known as a "rolling" release date.

  • "AfterBlockCreation" - The offset duration is applied from the block creation date
    (not supported).

(Haken)

(Haken)


(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes


1

This allows for multiple room types to be defined within an inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType


1..99

Should be repeated for each room type that is part of the block as it will also contain allocations and rates for the specific room type.


(Haken)

(Haken)


(Haken)

(Haken)

@RoomTypeCode

string

1

Room type codes of each room type used as part of the block.
If no specific room type is allocated but only a global number of rooms protel sends the value "n/a" (not allocated).


(Haken)

(Haken)

  • sending of RoomTypeCode="n/a" creates a block in the PMS with a number of rooms but no specific room type - this works only in combination with InvBlockStatusCode="5"

(Haken)

(Haken)
@Startdate1






@Enddate1






OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RoomTypeAllocation


0..10

This allows for multiple allocations to be blocked for a specific room type.


(Haken)

(Haken)


(Haken)

(Haken)

@RoomTypePickUpStatus

OTA_CodeType INV

1

A numeric value referencing the type of inventory being counted. Refer to the OTA Code list: Inventory Count Type (INV).

As soon as the current booking date passes the block's @AbsoluteCutOffDate, allocation counts (@NumberOfUnits) for statuses "1," "2" and "3" are reduced to zero (0).
In the same situation, allocation counts for statuses "4" and "5" will remain unchanged.

If needed there is a configuration setting to keep the numbers of status "1" even after passing the CutOffDate.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810186" target="_blank">Inventory Count Type (INV)</a>


Supported Values:

1, 2, 3, 4, 5, 13

(Haken)

(Haken)

Supported Values:

1

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RoomTypeAllocations | RoomTypeAllocation


1..n

This is the number of rooms blocked for a specific room type for specific dates.


(Haken)

(Haken)


(Haken)

(Haken)

@Start

date

1

Used in conjunction with END to determine different number of rooms of a specific type for different dates.

If NumberOfUnits should be set to different numbers per day Start/End date need to hold the same date.

(Haken)

(Haken)

If NumberOfUnits should be set to different numbers per day Start/End date need to hold the same date.

(Haken)

(Haken)

@End

date

1

Used in conjunction with START to determine different number of rooms of a specific type for different dates.

If NumberOfUnits should be set to different numbers per day Start/End date need to hold the same date.

(Haken)

(Haken)

If NumberOfUnits should be set to different numbers per day Start/End date need to hold the same date.

(Haken)

(Haken)

@NumberOfUnits

integer

1

Number of units of a specific room type that are allocated as part of the inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

@SellLimit

integer

0..1

This attribute is only required for @RoomTypePickUpStatusCode = 1 and indicates the initially allocated number of rooms even if the Cut Off date is reached (a configuration is needed for keep the numbers in the past).


(Haken)

(Haken)

not used at the moment(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans


0..1

This allows for multiple rate plans for a specific room type


(Haken)

(Haken)

Mandatory for pAir

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan


1..99

This is a specific rate plan defined for a specific room type.


(Haken)

(Haken)


(Haken)

(Fehler)

@RatePlanCode

string

1

Rate plan used for reservations made against the inventory block. If no Rate plan is assigned to the block (as this is not mandatory in protel/pAir) – we will send a "n/a" with "0.00" values instead.


(Haken)

(Haken)


(Haken)

(Fehler)
@MaxGuestApplicableNumeric1to9991..99Maximum number of occupants for which this rate is valid (ex 2).
(Haken)(Haken)
(Haken)(Fehler)

@CurrencyCode

string

1

This is the currency associated to the rate assigned to the block – it could be different than the local currency loaded for the property.


(Haken)

(Haken)


(Haken)

(Fehler)

@Start

date

1

The starting value of the time span the rate code is valid for.

Format: yyyy-mm-dd


(Haken)

(Haken)


(Haken)

(Fehler)

@End

date

1

The ending value of the time span the rate code is valid for.

Format: yyyy-mm-dd


(Haken)

(Haken)


(Haken)

(Fehler)
@RateTimeUnitinteger0..1






@UnitMultiplierinteger1






@TaxInclusiveboolean0..1This indicates if the rate values are inclusive or exclusive tax values.

"true"
"false" 

(Fehler)(Haken)
(Fehler)(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan | BaseByGuestAmts


0..1

A collection of Base charges by number of guests.


(Haken)

(Haken)


(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan | BaseByGuestAmts | BaseByGuestAmt


1..n

Conditionally Mandatory. AT LEAST 1 INSTANCE FOR NUMBEROFGUESTS = 1 is Mandatory if the rate information is being defined in the message. Must be repeated for all different types of occupancies of the specific room.

We recommend that for varying rates by occupant should be implemented like this.


(Haken)

(Haken)


(Haken)(Fehler)

@NumberOfGuests

Numeric1to999

0..1

The NumberOfGuest Attribute indicates what type of rate is being passed – if NumberOfGuests is = 1 then we are transmitting a single rate, if higher than 1 then it is a double or full occupancy rate.


(Haken)

(Haken)


(Haken)

(Fehler)

@AmountBeforeTax

decimal

0..1

The total amount not including any associated tax (e.g., sales tax, VAT, GST or any associated tax).


(Haken)

(Haken)


(Haken)

(Fehler)

@AmountAfterTax

decimal

0..1

The total amount including all associated taxes (e.g., sales tax, VAT, GST or any associated tax).


(Haken)

(Haken)


(Haken)

(Fehler)

@AgeQualifyingCode

OTA_CodeType AQC

0..1

A code representing a business rule that determines the charges for a guest based upon age range (e.g.; Adult, Child, Senior, Child With Adult, Child Without Adult).
This attribute allows for an increase in rate by occupant class. Refer to OpenTravel Code List Age Qualifying Code (AQC).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810269" target="_blank">Age Qualifying Code (AQC)</a>


(Haken)

(Haken)


(Haken)

(Fehler)

@CurrencyCode

string

1

This is the currency associated to the rate assigned to the block – it could be different than the currency loaded for the property.


(Haken)

(Haken)


(Haken)(Fehler)

@TaxInclusive

boolean

0..1

This indicates whether the instalment includes TAX. 

"true" or "false" 

true=includes TAX
false=exclusive TAX

(Haken)

(Fehler)


(Fehler)(Fehler)
OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan | RateDescription
0..1

(Haken)(Haken)

(Haken)

(Fehler)
@Namestring0..1

(Haken)(Haken)

(Haken)

(Fehler)
OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan | RateDescription | Text
0..1

(Haken)(Haken)

(Haken)

(Fehler)
@TextFormatPlainText0..1Indicates the format of text used in the description.
(Haken)(Haken)

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | RoomTypes | RoomType | RatePlans | RatePlan | MarketCode


0..5

This is user specific information used for tracking and market segmentation reporting.


(Haken)

(Haken)


(Haken)(Fehler)

@MarketCode

string

1

The name of the market segment the rooms are being sold to.
This is set up in the inventory block and is valid for all reservations of this block.


(Haken)

(Haken)


(Haken)

(Fehler)

@MarketCodeName

string

0..1

The descriptive name of the code that relates to the market being sold to.
This is set up in the inventory block and is valid for all reservations of this block.


(Haken)

(Fehler)


(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | BlockDescriptions


0..1

Collection of free form information about the inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | BlockDescriptions | BlockDescription


1..99

Used for free form descriptive information about the inventory block.


(Haken)

(Haken)


(Haken)(Haken)

@CreateDateTime

dateTime

0..1

Creation time stamp.


(Haken)

(Haken)

Only add for 

(Haken)

(Haken)

@LastModifyDateTime

dateTime

0..1

Last modification time stamp.


(Haken)

(Fehler)

Not modified for a Cancelled InvBlock

(Haken)

(Fehler)
@Namestring0..1Detail describing the value in the further BlockDescription | Text

Currently only possible value is "SourceOfBusiness"

(Haken)(Fehler)Use only the Short Name of the so defined in the PMS SD distribution channel(Haken)(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | InvBlock | BlockDescriptions | BlockDescription | Text


1

Used for free form descriptive information about the inventory block.


(Haken)

(Haken)


(Haken)

(Haken)

@TextFormat

PlainText

0..1

Indicates the format of text used in the description.

If the TextFormat is "HTML" the PWS will display line breaks with <br />

(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts


0..1

A collection of contacts.


(Haken)

(Haken)

Mandatory for pAir

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact


1..99

This element and its sub-elements can be repeated to include all required contact information including the customer or someone affiliated with the customer. At the very least the Group Organiser details should be transferred.

There is currently support for one (1) and five (5) contacts in protel Air and protel On-Prem respectively.


(Haken)

(Haken)

One Contact per Contact type allowed only

InvBlock > Commit --> Create a profile
InvBlock > Modify --> No profile Modify

(Haken)

(Haken)

@ContactType

string

1

This is a string value representing the type of contact.

pAir/onPrem

  • Customer
  • Company
  • Travel Agency
  • Wholesaler
  • Group


(Haken)

(Haken)

On Prem

  • Customer
  • Company
  • Travel Agency
  • Wholesaler
  • Group


(Haken)

(Haken)
@RPHRHP_Type0..1

A reference placeholder used to link the various profiles to the block when importing them to PMS. Needs to be repeated in TPA_Extensions.

One RPH per contact in block.


(Haken)(Fehler)
(Haken)(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | PersonName


0..1

This element and sub-elements will be sent to transfer the name of contacts that are “INDIVIDUAL”.

To transfer COMPANY/TA details, the OTA_HotelInvBlockNotifRQ/InvBlocks/ Contacts/Contact/CompanyName path should be used as highlighted below.

protel Onpremise:
For protel OnPremise  the PersonName element is used to export the surname of a group profile.

For the following Profile Types

  • Company
  • Travel Agency
  • Wholesaler
  • Group

always the "Booker" is displayed

(Haken)

(Haken)

Mandatory for pAir

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | PersonName | NamePrefix

string

0..3

Salutation


(Haken)

(Haken)

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | PersonName | GivenName

string

0..5

This field would be used to pass the contact’s First name.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | PersonName | MiddleName

string

0..3

This field would be used to pass the contact’s Middle name.


(Haken)

(Fehler)

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | PersonName | Surname

string

1

If a contact is passed then at least Surname must be passed. This field would be used to pass the contact’s Surname.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | CompanyName

string

0..3

This element and its associated attributes will be sent to transfer the name of contacts that are “organisations.”


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Telephone


0..5

This field would be used to pass the contact’s phone number and fax numbers.


(Haken)

(Haken)


(Haken)

(Haken)

@PhoneLocationType

OTA_CodeType PLT 

0..1

A numeric value representing the type of the phone. Refer to the OTA code lists: Phone Location Type (PLT).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817958" target="_blank">Phone Location Type (PLT)</a>


(Haken)

(Haken)


(Haken)

(Fehler)

@PhoneTechType 

OTA_CodeType PTT 

0..1

The PhoneTechType attribute indicates which type of number is transmitted.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817961" target="_blank">Phone Technology Type (PTT)</a>


(Haken)

(Haken)


(Haken)

(Haken)

@PhoneNumber

string

1

PhoneNumber contains the actual number as a string of max 32 characters.


(Haken)

(Haken)


(Haken)

(Haken)

@ShareMarketInd

YesNoType

0..1

Permission for sharing data for marketing purposes.

  • "No"
  • "Yes"

(Haken)

(Haken)

  • "No"
  • "Yes"

(Haken)

(Fehler)
@DefaultIndboolean0..1

A boolean value used to indicate whether the phone number is the primary phone number for the profile.

  • "true"
  • "false"
(Haken)(Haken)
  • "true"
  • "false"

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Email


0..5

Optional. This field would be used to pass the contact’s email address.


(Haken)

(Haken)


(Haken)

(Haken)

@EmailType

OTA_CodeType EAT 

0..1

A numeric value representing the type of email address. Refer to the OTA code lists: Email Address Type (EAT).
Info:
Only "Type= 1" supported yet.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817963" target="_blank">Email Address Type (EAT)</a>


(Haken)

(Fehler)


(Haken)

(Fehler)
@ShareMarketIndYesNoType0..1Permission for sharing data for marketing purposes
  • "No"
  • "Yes"
(Fehler)(Haken)

(Haken)

(Fehler)

@DefaultInd

boolean

0..1

DefaultInd is optional and would indicate whether the email is the primary email for the profile.

  • "true"
  • "false"

(Haken)

(Fehler)


(Haken)

(Fehler)
@Remarkstring0..1

A remark associated with the email address.

onPrem:  only in "more communication methods"


(Fehler)(Haken)

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address


0..5

If a contact is passed then at least one address must be passed. This field would be used to pass the contact’s mail address.


(Haken)

(Haken)

(Haken)

(Haken)

@Type

OTA_CodeType CLT

0..1

The Type attribute indicates the type of address provided.

If more than one address element is sent, this attribute is required.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817965" target="_blank">Communication Location Type (CLT)</a>


(Haken)

(Fehler)


(Haken)

(Fehler)

@DefaultInd

boolean

0..1

DefaultInd is Optional and would indicate whether the address is the primary address for the profile.


(Haken)

(Haken)


(Haken)

(Fehler)

@FormattedInd

boolean

0..1

Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted.


(Haken)

(Fehler)


(Haken)

(Fehler)
@ShareMarketIndYesNoType0..1Permission for sharing data for marketing purposes
  • "No"
  • "Yes"
(Fehler)(Haken)

(Haken)

(Fehler)
@UseTypeOTA_CodeType AUT0..1

Describes the use of the address (e.g. mailing, delivery, billing, etc.). Refer to the OTA Code List: Address Use Type (AUT).

Info:
Only UseType=6 supported yet.


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117817967" target="_blank">Address Use Type (AUT)</a>


(Haken)(Fehler)

(Haken)

(Fehler)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address | AddressLine

string

0..5

This field would be used to pass the contact’s address. More than one line can be sent.

protel supports up to 3 address lines.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address | CityName

string

0..1

This field would be used to pass the contact’s city.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address | StateProv


0..1

State or Province name.

Example: "Texas"

(Haken)

(Haken)

Example: "Texas"

(Haken)

(Haken)

@StateCode

StateProvCodeType

0..1

This field would be used to pass the contact’s State expressed in the Standard 2-8 characters code.

Example: "TX"

(Fehler)

(Haken)

Example: "TX"

(must be the same in the PMS)

(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address | PostalCode

string

0..1

This field would be used to pass the contact’s Postal/ZIP code.


(Haken)

(Haken)


(Haken)

(Haken)

OTA_HotelInvBlockNotifRQ | InvBlocks | Contacts | Contact | Address | CountryName


0..1

Country name.

Example: "Australia"

(Haken)

(Haken)

Example: "Australia"

(Haken)

(Haken)

@Code

ISO3166

0..1

A 2 character country code as defined in ISO 3166 alpha-2

Example: "AU"

(Haken)

(Haken)


Example: "AU"

(must be the same in the PMS)

(Haken)

(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions
0..1Allows extensions to be added to the OpenTravel specification per trading partner agreement.
(Haken)(Haken)Mandatory for Modify and Cancel for pAir because of @InvBlockID value(Haken)(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | InvBlockExtensions
0..1

(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | InvBlockExtensions | InvBlockID
0..n

(Haken)(Haken)
(Haken)(Haken)
@IDstring1Allotment ID in the corresponding system.
(Haken)(Haken)
(Haken)(Haken)
@ID_Contextstring1Used to identify the source of the identifier.
(Haken)(Haken)
(Haken)(Haken)

@Type 

OTA_CodeType UIT

1

A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT)


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810178" target="_blank">Unique ID Type (UIT)</a>


(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | InvBlockExtensions | CancellationInfo
0..1

(Haken)(Fehler)
(Haken)(Fehler)
@Codestring0..1Code for the allotment Cancellation Status"Cancel"
"Lost"
"Refused"
(Haken)(Fehler)
(Haken)(Fehler)
@IDstring0..1Internal ID for the Cancellation Status
(Haken)(Fehler)
(Haken)(Fehler)
@ID_Contextstring0..1A unique identifier to indicate the source system which generated the cancellation
(Haken)(Fehler)
(Haken)(Fehler)
@Typestring0..1Defines the type of allotment cancellation

1 = "Cancel"
2 = "Lost"
3 = "Refused"

(Haken)(Fehler)
(Haken)(Fehler)
@TimestampdateTime0..1Timestamp of the cancellation
(Haken)(Fehler)
(Haken)(Fehler)
@Userstring0..1User who has cancelled the allotment
(Haken)(Fehler)
(Fehler)(Fehler)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ProfileInfoExtensions
0..1Allows to transfer additional details about the contacts mentioned in the message.
(Haken)(Haken)

(Fehler)

(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ProfileInfoExtensions | ContactDetails
0..1Allows to transfer additional details about the contacts mentioned in the message.
(Haken)(Haken)

(Fehler)

(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ProfileInfoExtensions | ContactDetails | AdditionalInfo
0..1Allows to transfer additional details about the contacts mentioned in the message.
(Haken)(Haken)

(Fehler)

(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ProfileInfoExtensions | ContactDetails | AdditionalInfo | Entry
1..nAllows to transfer additional details about the contacts mentioned in the message.
(Haken)(Haken)

(Fehler)

(Haken)
@IDstring0..1Profile ID in the corresponding system.Example: "155463"(Haken)(Haken)

(Fehler)

(Haken)
@RPHstring0..1

A reference placeholder used to link the various profiles to the block (repeated from Contacts section).

One RPH per contact in block.


(Haken)(Haken)

(Fehler)

(Haken)
@Typestring0..1

Type of the transported profile.

A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT).

  • "1" = Customer
  • "4" = Company
  • "5" = Travel agent
  • "7" = Source | Wholesaler
  • "9" = Group
(Fehler)(Haken)
  • "1" = Customer
  • "4" = Company
  • "5" = Travel agent
  • "7" = Source | Wholesaler
  • "9" = Group
(Fehler)(Haken)
@ID_Contextstring0..1Used to identify the source of the identifier."protelIO"(Haken)(Haken)
  • "protelIO" for a profile ID from the PMS (as soon as it is known)
  • use your own ID_Context to transfer your own profile IDs
(Fehler)(Haken)
@DefaultIndboolean0..1DefaultInd is optional
(Fehler)(Haken)
(Fehler)(Fehler)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ReservationExtensions
0..1Allows to transfer additional details about the allotment reservation status.
(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ReservationExtensions | ReservationExtension
0..1Allows to transfer additional details about the allotment reservation status.
(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRQ | TPA_Extensions | ReservationExtensions | ReservationExtension | px:ReservationStatus


0..1Allows to transfer additional details about the allotment reservation status.
(Haken)(Haken)
(Haken)(Haken)
@Codestring0..1The code reference to the allotment reservation status.
  • "Conf"
  • "Opt."
  • "VO"
  • "NS"
  • "Non-Binding"
  • "Waiting-List"
(Haken)(Haken)
  • "Conf"
  • "Opt."
  • "VO"
  • "NS"
  • "Non-Binding"
  • "Waiting-List"
(Haken)(Haken)
@IDstring0..1The internal reference number for the reservation status of the allotment.
(Haken)(Haken)
(Haken)(Haken)
@ID_Contextstring0..1Used to identify the source of the identifier."protelIO"(Haken)(Haken)"protelIO"(Haken)(Haken)
@Namestring0..1The name description of the allotment reservation status."Credit Card Guarante"(Haken)(Haken)"Credit Card Guarante"(Haken)(Haken)
@RPHstring0..1

A reference placeholder used to link the internal block number to the allotment reservation status.


(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRQ | TPA_Extensions | ReservationExtensions | ReservationExtension | px:CancellationInfo 
0..1Long Text of the Cancellation
(Haken)(Fehler)


@Codestring0..1Code for the Cancellation Status
(Haken)(Fehler)
(Fehler)(Fehler)
@IDstring0..1Internal ID for the Cancellation Status
(Haken)(Fehler)
(Fehler)(Fehler)
@ID_Contextstring0..1A unique identifier to indicate the source system which generated the ResID_Value"protelIO"(Haken)(Fehler)
(Fehler)(Fehler)
@Typestring0..1Defines the type of Reservation ID (e.g. reservation number, cancellation number). Refer to OTA Code List Unique ID Type (UIT).

14 - Cancel

(Haken)(Fehler)
(Fehler)(Fehler)
@TimestampdateTime0..1Timestamp of the cancellation
(Haken)(Fehler)
(Fehler)(Fehler)
@Userstring0..1User who has cancelled the reservation
(Haken)(Fehler)
(Fehler)(Fehler)

OTA_HotelInvBlockNotifRS

Element | @AttributeTypeNumDescriptionComments + Content outboundpAIROnPremComments + Content inboundpAIROnPrem

OTA_HotelInvBlockNotifRS


1

Root element of the message.


(Haken)(Haken)
(Haken)(Haken)

@EchoToken 

string

0..1 

A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.


(Haken)(Haken)
(Haken)(Haken)

@CorrelationID

string

1

Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.


(Haken)(Haken)
(Haken)(Haken)

@TimeStamp 

dateTime

1

Timestamp of the transaction. 


(Haken)(Haken)
(Haken)(Haken)

@Version 

string

0..1

Version of the message


(Haken)(Haken)
(Haken)(Haken)

@PrimaryLangID

string

0..1

Default language of the property. 


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | Errors


1

Indicates an error occurred during the processing of an OpenTravel message. If the message successfully processes, but there are business errors, those errors should be passed in the warning element.


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | Errors | Error


1..99

An error that occurred during the processing of a message.


(Haken)(Haken)
(Haken)(Haken)

@Type 

OTA_CodeType

1

Mandatory. Refer to the OTA Code List: Error Warning Type (EWT).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>


(Haken)(Haken)
(Haken)(Haken)

@Code 

OTA_CodeType

0..1 

Refers to the OTA Code List: Error Codes (ERR). 


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>


(Haken)(Haken)
(Haken)(Haken)

@RecordID 

StringLength1to64

0..1 

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


(Haken)(Haken)


@ShortText

StringLength1to64

0..1

Describes the occurring error in short.Example: "A rate plan 'XY' was not found for the code provided."


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | Success


1

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


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | Warnings


1

Used when a message has been successfully processed to report any warnings or business errors that occurred.


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | Warnings | Warning


1..99

Used in conjunction with the Success element to define a business error.


(Haken)(Haken)
(Haken)(Haken)

@Type 

OTA_CodeType

1

Mandatory. Refer to the OTA Code List: Error Warning Type (EWT).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>


(Haken)(Haken)
(Haken)(Haken)

@Code 

OTA_CodeType

0..1 

Refers to the OTA Code List: Error Codes (ERR). 


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>


(Haken)(Haken)
(Haken)(Haken)

@RecordID 

StringLength1to64

0..1 

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


(Haken)(Haken)
(Haken)(Haken)

@ShortText

StringLength1to64

0..1

Describes the occurring error in short.Example: "A rate plan 'XY' was not found for the code provided."


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | InvBlockCodeRefs | InvBlockCodeRef


0..1

Optional. Used to reconfirm back to the sending partner the inventory block that was uploaded. It is up to the trading partners whether to use this field.


(Haken)(Haken)
(Haken)(Haken)

@InvBlockCode

string

1

Identifies the inventory block code assigned by the originator of the request message (PMS).


(Haken)(Haken)
(Haken)(Haken)

@InvSystemInvBlockCode

string

1

The InvBlockCode assigned by the inventory system in response to an inventory block notification.


(Haken)(Haken)
(Haken)(Haken)

OTA_HotelInvBlockNotifRS | InvBlockCodeRefs | HotelRef


0..1

Optional. Used to reconfirm back to the sending partner the hotel for which the inventory block(s) were sent.


(Haken)(Haken)
(Haken)(Haken)

@HotelCode

string

1

The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.


(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRS | TPA_Extensions
0..1

Allows extensions to be added to the OpenTravel specification per trading partner agreement.


(Haken)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRS | TPA_Extensions | px:ProfileInfoExtensions
0..1Used to transport extensions on guest level for attached contact profiles.
(Fehler)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRS | TPA_Extensions | px:ProfileInfoExtensions | px:ContactDetails
0..1Used to transport extensions on guest level for attached contact profiles.
(Fehler)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRS | TPA_Extensions | px:ProfileInfoExtensions | px:ContactDetails | px:AdditionalInfo
0..1Used to transport extensions on guest level for attached contact profiles.
(Fehler)(Haken)
(Haken)(Haken)
OTA_HotelInvBlockNotifRS | TPA_Extensions | px:ProfileInfoExtensions | px:ContactDetails | px:AdditionalInfo | px:Entry
1..99Used to transport extensions on guest level for attached contact profiles.
(Fehler)(Haken)
(Haken)(Haken)
@IDstring1Profile ID in the corresponding system.
(Fehler)(Haken)
(Haken)(Haken)
@RPHstring1

A reference placeholder used to link the various profiles to the block (repeated from Contacts section).

One RPH per contact in block.


(Fehler)(Haken)
(Haken)(Haken)
@ID_Contextstring1

Used to identify the source of the identifier.

  • "protelIO" for a profile ID from the PMS
  • use your own ID_Context to transfer your own profile IDs

(Fehler)(Haken)
(Haken)(Haken)


...