Target audienceCRM, CRS, KIOSK
Version3.0.
AuthenticationBearer Token
Message typePush, Asynchronous
DirectionInbound, Outbound

Message Description

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

Profiles cannot be modified with an inbound OTA_ProfileReadRS. It will not reply with an Error message, if Profile Information is in the inbound request, but nothing is updated. But it is possible to create new Profiles with the OTA_ProfileReadRS, but therefore first a profiles list needs to be requested, and in a second step, only one specific profile is in the response.


Note OnPremise

If the response for the OTA_ReadRQ request will contain a profile list/arrival list/etc, the ProfileReadRS will have limited profile information. Like no secondary address, email, telephone.

Message Attributes

OTA_ReadRQ

Element | @Attribute

Type

Num

Description

Comments + Content outboundpAIROnPremComments + Content inboundpAIROnPrem

OTA_ReadRQ


1

Root element of the message


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

@CorrelationID

StringLength1to64

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. 

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

(Haken)

@Version 

decimal

0..1

Version of the message.

"3.500" (Haken)(Haken)"3.500" (Haken)(Haken)

@PrimaryLangID

language

0..1

Default language of the property.

"en"(Haken)(Haken)"en"(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.

"100" (Haken)(Haken)"100" (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 criterias are checked
  • @ReturnListIndicator is missing then all search criterias are checked
(Fehler)(Haken)
  • @ReturnListIndicator="true" then all the search filters will be applied as "like" search criteria.
  • @ReturnListIndicator="false" then all search criterias are checked
  • @ReturnListIndicator is missing then all search criterias are checked
(Haken)(Haken)
OTA_ReadRQ | POS
1Point of Sale (POS) identifies the party or connection channel making the request.
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | POS | Source
1..10This identifies the destination system (hotel)
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | POS | Source | RequestorID
1Identifies the system that is sending 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)

(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_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.
(Fehler)(Haken)


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


@Type

OTA_CodeType BCT

1

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

(Fehler)(Haken)


OTA_ReadRQ | UniqueID
0..1Used to convey the identify of the profile, the owner of the profile, or an id provided by the client.
(Haken)(Haken)
(Fehler)(Fehler)
@IDStringLength1to32

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)
(Fehler)(Fehler)
@ID_ContextStringLength1to32

1

Used to identify where the ID comes from.

“protelIO”(Haken)(Haken)
(Fehler)(Fehler)
@TypeOTA_CodeType UIT

1

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

10(Haken)(Haken)
(Fehler)(Fehler)
OTA_ReadRQ | UniqueID | CompanyName
0..1Identifies the company that is associated with the UniqueID
(Fehler)(Haken)
(Fehler)(Fehler)
@IDStringLength1to321Unique hotel identifier
(Fehler)(Haken)
(Fehler)(Fehler)
@CodeContextStringLength1to320..1Identifies the context of the identifying code"io.protel.onpremise"(Fehler)(Haken)
(Fehler)(Fehler)
@CompanyShortNameStringLength1to320..1Used to provide the company common name
(Fehler)(Haken)
(Fehler)(Fehler)
@TravelSectorOTA_CodeType0..1The Travel Sector the company is associated with. Refer to OpenTravel Code List Travel Sector (TVS)
(Fehler)(Haken)
(Fehler)(Fehler)
OTA_ReadRQ | ReadRequests
0..1A grouping of Read Requests by travel vertical. 
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest
0..nA request to read a profile.
(Haken)(Haken)
(Haken)(Haken)

@ProfileTypeCode

OTA_CodeType PRT

1

Numeric reference to the type of profile such as guest, company, agent etc. Refer to the OTA Code Lists: Profile Type (PRT)

(Haken)(Haken)


(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | UniqueID
0..9Used to convey the identify of the profile, the owner of the profile, or an id provided by the client.
(Fehler)(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.


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

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

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

(Fehler)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer
0..1Detailed customer information used for searching profiles.
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | PersonName
0..5Detailed name information for the customer.
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | PersonName | SurnameStringLength1to641Family name, last name. May also be used for full name if the sending system does not have the ability to separate a full name into its parts.
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | PersonName | NamePrefixStringLength1to160..3

This field would be used to pass the guest’s NamePrefix (e.g. salutation).


(Fehler)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | PersonName | GivenNameStringLength1to640..5Given name, first name or names.
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | PersonName | MiddleNameStringLength1to640..3The second given name of the person name.
(Fehler)(Haken)
(Haken)(Fehler)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Telephone
0..99Information on a telephone number for the customer.
(Fehler)(Haken)
(Haken)(Haken)
@PhoneNumberStringLength1to321Telephone number assigned to a single location.
(Fehler)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Email
0..99This path is used to transmit the customer details. Details of the company or travel agency use a different path. This field would be used to pass the guest’s email address.
(Haken)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address
0..99Detailed information on an address for the customer.
(Fehler)(Haken)
(Haken)(Haken)
@FormattedIndboolean0..1
"false" by deault(Haken)(Fehler)
(Fehler)(Fehler)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address | AddressLineStringLength1to2550..5This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s address. More than one line can be sent.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address | CityNameStringLength1to640..1This path is used to transmit the customer details. Details of the company or travel agency use a different path. This field would be used to pass the guest’s city. City (e.g., Dublin), town or postal station (i.e., a postal service territory, often used in a military address).
(Haken)(Haken)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address | StateProv
0..1This path is used to transmit the customer details. Details of the company or travel agency use a different path. This field would be used to pass the guest’s state or province name (e.g., Texas).
(Fehler)(Fehler)
(Haken)(Haken)
@StateCodeStateProvCodeType0..1The standard code or abbreviation for the state, province, or region.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address | PostalCodeStringLength1to160..1This path is used to transmit the customer details. Details of the company or travel agency use a different path. This field would be used to pass the guest’s postal | ZIP code.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Customer | Address | CountryName
0..1This path is used to transmit the customer details. Details of the company or travel agency use a different path. This field would be used to pass the guest’s country name (e.g., Ireland).
(Fehler)(Fehler)
(Haken)(Haken)
@CodeISO31660..1ISO 3166 code for a country.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company
0..1Name of an individual and appropriate contact information. May be contact information for the customer or someone affiliated with the customer.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | CompanyName
0..3Identifies a company by name.
(Fehler)(Fehler)Mandatory for a search for Company, TravelAgency, Source or Group profile.(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Email
0..5Electronic email addresses, in IETF specified format. 
(Fehler)(Fehler)One of Address or Email element is mandatory.(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Address
0..5Information about an address that identifies a location for specific purpose.
(Fehler)(Fehler)One of Address or Email element is mandatory.(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Address | AddressLineStringLength1to2550..5When the address is unformatted (FormattedInd="false") these lines will contain free form  address details. When the address is formatted and street number and street name must be sent independently, the street number will be sent using StreetNmbr, and the street name will sent in first AddressLine occurance.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Address | CityNameStringLength1to640..1City, town or postal station name of the company, travel agency, group or source.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Address | PostalCodeStringLength1to160..1Post office code number of the company, travel agency, group or source.
(Fehler)(Fehler)
(Haken)(Haken)
OTA_ReadRQ | ReadRequests | ProfileReadRequest | Company | Address | CountryName
0..1Country name of the company, travel agency, group or source.
(Fehler)(Fehler)
(Haken)(Haken)
@CodeISO31660..1ISO 3166 code for a country.
(Fehler)(Fehler)
(Haken)(Haken)

OTA_ProfileReadRS

Element | @AttributeTypeNumDescriptionComments + Content outboundpAIROnPremComments + Content inboundpAIROnPrem
OTA_ProfileReadRS
1Root element of the message
(Haken)(Haken)
(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)
(Haken)(Haken)

@CorrelationID

StringLength1to64

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. 

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

@Version 

decimal

0..1

Version of the message.

"6.002"(Haken)(Haken)
(Haken)(Haken)

@PrimaryLangID

language

0..1

Default language of the property.

"en" (Haken)(Haken)
(Haken)(Haken)
OTA_ProfileReadRS | 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)
(Haken)(Haken)
OTA_ProfileReadRS | 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)
(Haken)(Haken)
OTA_ProfileReadRS | Warnings | Warning
1..999The detailed description of the warning"No reservations found (2018-02-15 - 2018-02-15)"(Haken)(Haken)
(Haken)(Haken)

@Type 

OTA_CodeType EWT

1

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

(Fehler)(Fehler)
(Fehler)(Fehler)

@Code 

OTA_CodeType ERR

0..1 

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

(Fehler)(Fehler)
(Fehler)(Fehler)

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

@Type 

OTA_CodeType EWT

1

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

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

@Code 

OTA_CodeType ERR

0..1 

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

(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)(Fehler)
(Haken)(Fehler)
OTA_ProfileReadRS | UniqueID
0..99A unique ID for a hotel/reservation/profile. This element repeats to accommodate multiple unique IDs for a single profile across multiple systems. 
(Haken)(Fehler)
(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)(Fehler)
(Haken)(Haken)

@ID_Context

StringLength1to32

1

Used to identify where the ID comes from.

"protelIO"(Haken)(Fehler)
(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)(Fehler)
(Haken)(Haken)
OTA_ProfileReadRS | Profiles 
1Container element for a collection of Profiles. 
(Haken)(Haken)
(Haken)(Haken)
OTA_ProfileReadRS | Profiles | ProfileInfo 
1..n A collection of Profiles or Unique IDs of Profiles 
(Haken)(Haken)
(Haken)(Haken)
OTA_ProfileReadRS | Profiles | ProfileInfo | UniqueID
0..9A unique ID for a profile. This element repeats to accommodate multiple unique IDs for a single profile across multiple system.
(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)

@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)
(Haken)(Haken)
OTA_ProfileReadRS | Profiles | ProfileInfo | Profile_Profile element1The target profile(Haken)(Haken)
(Haken)(Haken)

Note OnPremise

OTA_ReadRQ outbound from pAir has been set to "not supported" since the feature was used only internally.
  • Keine Stichwörter