Target audiencePOS, KIOSK
Version3.0.
AuthenticationBearer Token
Message typePush, Asynchronous
DirectionInbound

Message Description

protel I/O uses a request and response message pair to lookup or validate reservations. This lookup or validation can be used for checked in reservation or future reservations via protel.I/O. This functionality can be used by several systems. Different parameter, like internal Reservation ID, Lastname, Givenname, etc. can be used for the lookup or validation. 

Reservation cannot be modified with an inbound OTA_ResRetrieveRS. It will not reply with an Error message, if Reservation Information is in the inbound request, but nothing is updated.

The message can be used to pull list of reservations over a period of time. The number of reservations in the response is also limited by the @MaxResponses attribute. This functionality should be used with caution since the responce is likely to result in a very large message. For better performance it is recommended to limit the response size as much as possible.




Note OnPremise

If the response for the OTA_ReadRQ request will contain a reservation list/arrival list/etc., the ResRetrieveRS will be without rate information and the profile information is limited.

Message Attributes

OTA_ReadRQ

Element | @Attribute

Type

Num

Description

Comments + Content inboundpAIROnPrem

OTA_ReadRQ


1

Root element of the message


(Haken)(Haken)

@EchoToken 

StringLength1to1280..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)

@CorrelationID

StringLength1to64

1

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


(Haken)(Haken)

@TimeStamp 

dateTime

1

Timestamp of the transaction. 

"1.00"  (Haken)(Haken)

@Version 

decimal

0..1

Version of the message.

"2019-05-16T09:01:25Z"(Haken)(Haken)

@PrimaryLangID

language

0..1

Default language of the property.


(Haken)(Haken)
@MaxResponsesinteger0..1

A positive integer value that indicates the maximum number of responses desired in the return. By default 10 (OnPrem only) if not given. 

"10"

! Recommended to use for short list of reservations to prevent performance issues 

(Haken)(Haken)
@ReturnListIndicatorboolean0..1To indicate if a list should always be returned even when only one reservation matches the input criteria. The default is to return the reservation record. If set to true, then always return a list.
  • @ReturnListIndicator="true" then all the search filters will be applied as "like" search criteria.
  • @ReturnListIndicator="false" then all search criteria are checked
  • @ReturnListIndicator is missing then all search criteria are checked
(Haken)(Haken)
OTA_ReadRQ | POS
1Point of Sale (POS) identifies the party or connection channel making the request.
(Haken)(Haken)
OTA_ReadRQ | POS | Source
1..10This identifies the destination system (hotel)
(Haken)(Haken)
OTA_ReadRQ | POS | Source | RequestorID
1Identifies the system that is sending the request.
(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)

(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)

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

“protelIO”(Haken)(Haken)
OTA_ReadRQ | POS | Source | BookingChannel
1This 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.
(Haken)(Haken)
@Primaryboolean0..1Indicates whether the enumerated booking channel is in the primary means of connectivity used by the source 
  • true 
  • false
(Haken)(Haken)

@Type

OTA_CodeType BCT

1

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

(Haken)(Haken)
OTA_ReadRQ | ReadRequests
0..1A grouping of Read Requests by travel vertical. 
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ReadRequest 
0..nTo retrieve a hotel reservation when the booking reference is known.

(Haken)

(Haken)
OTA_ReadRQ | ReadRequests | ReadRequest | UniqueID
1The booking reference for the reservation.
(Haken)(Haken)

@ID

StringLength1to32

1

The ID will transfer the ReservationID.


(Haken)(Haken)

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

"protelIO"(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)

(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest
0..nTo retrieve a hotel reservation when the booking reference is not known.



(Haken)(Haken)
@HotelCodeStringLength1to160..1Global Hotel ID"3152"(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | SelectionCriteria
0..nSpecific search by ResStatus, start and end date, etc.



(Haken)(Haken)
@GroupCodeStringLength1to160..1ID of the Reservation Group  (Group block)"2365"(Haken)(Fehler)
@DateTypeNMTOKEN0..1Type of the given dates.
  • "ArrivalDate": The arrival date of the reservation.
  • "DepartureDate": The departure date of the reservation.
  • "CreateDate": The date the reservation was created.
  • "LastUpdateDate": The date the reservation was last updated (NOT SUPPORTED FOR PWS (=protel onPrem).
  • default if not used: The date of the stay
(Haken)(Haken)
@Startdate1The start of the given time frame depending on @DateType"2019-05-24" 
(Warnung) Caution: Keep the timeframe as short as possible to avoid performance issues! Preferred maximum is one day.
(Haken)(Haken)
@Enddate1The end of the given time frame depending on @DateType"2019-05-25"
(Warnung) Caution: Keep the timeframe as short as possible to avoid performance issues! Preferred maximum is one day.
(Haken)(Haken)
@ResStatusPMS_ResStatusType0..1The reservation status of the reservation(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | Verification
0..1This is to be used for verification that the record being sent is the specific record requested.



(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | Verification | PersonName
0..1Detailed name information for the request. 
(Haken)(Haken)
@SurnameStringLength1to161Last name
(Haken)(Haken)
@GivenNameStringLength1to640..5Given name, first name
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | TPA_Extensions
0..1Allows extensions to be added to the Open Travel Alliance specification per trading partner agreement.
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | TPA_Extensions | ReadRequestExtensions
0..1

(Haken)(Haken)
OTA_ReadRQ | ReadRequests | HotelReadRequest | TPA_Extensions | ReadRequestExtensions | Room
0..1

(Haken)(Haken)
@RoomID
0..1The room ID of the reservation"305"(Haken)(Haken)

OTA_ResRetrieveRS

Element | @Attribute

Type

Num

Description 

Comments + Content outboundpAIROnPrem

OTA_ResRetrieveRS


1

Root element of the message


(Haken)(Haken)

@EchoToken 

StringLength1to1280..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)

@CorrelationID

StringLength1to64

1

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




@TimeStamp 

dateTime

1

Timestamp of the transaction. 

"1.00"  (Haken)(Haken)

@Version 

decimal

0..1

Version of the message.

"2019-05-16T09:01:25Z"(Fehler)(Haken)

@PrimaryLangID

language

0..1

Default language of the property.


(Haken)(Haken)
@MoreIndicatorboolean0..1Boolean flag which indicates, that parts of the result set exceed the number of @MaxResponses 
  • "true"
  • "false"
(Haken)(Fehler)
OTA_ResRetrieveRS | Success
0..1An element that is not intended to contain any data. Returning an empty element of this type indicates the successful processing of an OpenTravel message. This is used in conjunction with the Warning Type to report any warnings.
(Haken)(Haken)
OTA_ResRetrieveRS | Warnings
0..1A collection of warnings. Indicates that the recipient of the request message identified one or more business-level warnings/errors but the message itself was successfully processed
(Haken)(Haken)
OTA_ResRetrieveRS | Warnings | Warning
1..999The detailed description of the warning"No reservations found (2018-02-15 - 2018-02-15)"(Haken)(Haken)

@Type 

OTA_CodeType EWT

1

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

(Haken)(Haken)

@Code 

OTA_CodeType ERR

0..1 

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

(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)
OTA_ResRetrieveRS | Errors
0..1A collection of errors - indicates that an error occurred in the processing of the incoming request message. 
(Haken)(Haken)
OTA_ResRetrieveRS | Errors | Error
1..99

The detailed description of the error

NOTE: There cannot be a Success element if there is an error.

"Invalid Hotelcode 2524"(Haken)(Haken)

@Type 

OTA_CodeType EWT

1

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

(Haken)(Haken)

@Code 

OTA_CodeType ERR

0..1 

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

(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)
OTA_ResRetrieveRS | ReservationsList
0..1Contains zero or more HotelReservation elements
(Haken)(Haken)
OTA_ResRetrieveRS | ReservationsList | HotelReservation
0..nContains the reservations that match the requested criteria. (Haken)(Haken)

OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest


1..n

A collection of ResGuest objects, identifying the guests associated with this reservation.

Which guests are in which room is determined by each RoomStays ResGuestRPHs collection.


(Haken)(Haken)
@ArrivalTimetime0..1This represent the time of guests arrival.
(Haken)

(Haken)

@DepartureTimetime0..1This represent the time of guests departure.
(Haken)

(Haken)

@PrimaryIndicatorboolean0..1When true indicates this is the primary guest.
  • true
  • false
(Haken)

(Haken)

@ResGuestRPHRPH_Type0..1Used to refer to the guest associated with this reservation.
(Haken)(Haken)
OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | TPA_Extensions
0..1Allows to transfer additional details about the reservation extension.
(Haken)(Fehler)

OTA_ResRetrieveRS | HotelReservation | ResGuests | ResGuest | TPA_Extensions | px:GuestStayExtensions


0..1


_GuestStayExtensions(Haken)(Haken)
OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | TPA_Extensions | ReservationGroupExtensions
0..1Allows to transfer additional details about the reservation extension for groups.
(Haken)(Fehler)
@GroupID
string0..1ID of the group
(Haken)(Fehler)
@GroupNamestring0..1Name of the group
(Haken)(Fehler)
@PrimaryInd
boolean0..1When true indicates this is the group lead.
  • true
  • false
(Haken)(Fehler)

OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | Profiles


0..1

A collection of Profile objects or Unique IDs of Profiles.


(Haken)

(Haken)

OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | Profiles | ProfileInfo 


0..1

A collection of Profile objects or Unique IDs of Profiles.


(Haken)

(Haken)

OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | Profiles | ProfileInfo | UniqueID
0..9Identifies the profile to be modified together with the owner of the profile or an id provided by the client.
(Haken)

(Haken)

@ID

StringLength1to32

1

A unique identify value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.


(Haken)(Haken)

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

"protelIO"

(Haken)

(Haken)

@Type

OTA_CodeType UIT

1

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

(Haken)

(Haken)

OTA_ResRetrieveRS | ReservationsList | HotelReservation | ResGuests | ResGuest | Profiles | ProfileInfo | Profile


1

Provides detailed information regarding either a company or a customer profile.

(Haken)

(Haken)

  • Keine Stichwörter