Versionen im Vergleich

Schlüssel

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

Inhalt


Target audienceCRM
Version
1
3.0.
AuthenticationBearer Token
Message typeSynchronous
,
DirectionOutbound


Message Description

protel I/O uses a request and response message pair 

  • This message will be used to request points

pair to request at an external system the points, that are planned to be redeem. It is up to the external system if these points are somehow block in the external system. Protel will use the amount from the response for the redemption. 


Image Added


Message Attributes

IO_LoyaltyAccountInquiryRQ

Element | @AttributeTypeNumDescription outboundComments + Contents outboundpAirOnPrem

IO_LoyaltyAccountInquiryRQ


1Root element of the message.
(Fehler)(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.


(Fehler)(Haken)

@CorrelationID

string

1

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


(Fehler)(Haken)

@TimeStamp

dateTime

0..1

Time of the transaction.

"2019-06-05T09:12:14Z"(Fehler)(Haken)

@Version

string

0..1

Message version.

Version="3.001"

(Fehler)(Haken)

@PrimaryLangID

string

0..1

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


(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyInquiryRequest


0..1

(Fehler)(Haken)

@TransactionAccount

IOCodeString0..1Describes the action of the points
  • ACCRUAL
(Fehler)(Haken)

@HotelCode

string0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)

@HotelID

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

@HotelName

string0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)

@ChainCode

string0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@MemberCodeIOCodeString1The MemberCode attribute will indicate the actual number.
(Fehler)(Haken)

@ProgramCode

string1The ProgramCode attribute can be used to indicate the program that is being passed. For instance, we could use it to pass: Frequent Guest, Frequent Traveller and Traveler and Company ID.
(Fehler)(Haken)
@LevelCodeIOCodeString0..1Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatusIOCodeString0..1OTA Code list PST


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117818434" target="_blank">Profile Status (PST)</a>


(Fehler)(Haken)
@PrimaryIndboolean0..1When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
  • true
  • false
(Fehler)(Haken)

@TransactionReference

IOCodeString0..1external Reference ID for the Cancellation
(Fehler)(Haken)

@TransactionVoidInd

boolean0..1Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyChargeRequest | TransactionAmount


0..1Information of the Amount of the Redemption 
(Fehler)(Haken)

@Amount

decimal1The Amount of the points
(Fehler)(Haken)

@Type

string1Code for Points
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount


0..1Information of the Amount of the Redemption in the Hotel Currency
(Fehler)(Haken)

@CurrencyCode

decimal1The Currency Code which is used by the Amount
(Fehler)(Haken)

@ExchangeRate

string0..1Exchange Ratedecimal(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount | Amount

decimal1The amount which will be paid with the Point Redemption
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyChargeRequest | StayInfo


0..1Reservation Information
(Fehler)(Haken)

@ReservationID

string0..1Reservation ID
(Fehler)(Haken)

@ArrivalDate

dateTime0..1Arrival Date
(Fehler)(Haken)

@DepartureDate

dateTime0...1Departure Date
(Fehler)(Haken)

@CRSNumber

string0...1CRS ID
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | User


1Information of the logged-in user
(Fehler)(Haken)

@UserName

IOCodeString0..1Name of the User
(Fehler)(Haken)

@Organisation

string0..1Name of the Group the User belongs to
(Fehler)(Haken)

@Department

string0..1Name of the Department from the User
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | User | Email

string0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | User | UserID


0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)

@Type

IOCodeString

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>


(Fehler)(Haken)

@ID

string

1

The unique profile ID from the PMS.


(Fehler)(Haken)

@ID_Context

string

1

Used to identify the source of the ID. For inbound (to protelIO) requests, this will carry a string value identifying the protel I/O Integration Partner.

“protelIO"(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS

- Attributes

Element | @Attribute

TypeNumDescription inboundComments + Contents inboundpAirOnPrem

IO_LoyaltyAccountInquiryRS


1Root element of the message.
(Fehler)(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.


(Fehler)(Haken)

@CorrelationID

string

1

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


(Fehler)(Haken)

@TimeStamp

dateTime

0..1

Time of the transaction.

"2019-06-05T09:12:14Z"(Fehler)(Haken)

@Version

string

0..1

Message version.

Version="3.001"

(Fehler)(Haken)

@PrimaryLangID

string

0..1

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


(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | Success

boolean0..1Returning an empty element of this type indicates the successful processing of the message. It could be combined with warning message/s if the message had issue/s.
  • true
  • false
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | Errors | Error


0..1Indicates 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.
(Fehler)(Haken)
@ShortTextstring0..1An abbreviated version of the error in textual format.
(Fehler)(Haken)

@Type 

OTA_CodeType EWT

0..1

Mandatory. Refers 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>


(Fehler)(Haken)

@Code 

OTA_CodeType ERR

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>


(Fehler)(Haken)
IO_LoyaltyAccountInquiryRS | Errors | Error | Messagestring0...1Description of the issue
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | Warnings | Warning


0..1Used in conjunction with the Success element to define one or more business errors.
(Fehler)(Haken)
@ShortTextstring0..1An abbreviated version of the error in textual format.
(Fehler)(Haken)

@Type 

OTA_CodeType EWT

0..1

Mandatory. Refers 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>


(Fehler)(Haken)

@Code 

OTA_CodeType ERR

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>


(Fehler)(Haken)
IO_LoyaltyAccountInquiryRS | Warnings | Warning |  Messagestring0...1Description of the issue
(Fehler)(Haken)
IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult
0..1

(Fehler)(Haken)
@TransactionReferenceIOCodeString0..1external Reference ID for the Cancellation
(Fehler)(Haken)
@TransactionVoidIndboolean0..1Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)(Haken)
IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | TransactionAmount
1Information of the Amount of the Redemption 
(Fehler)(Haken)

@Amount

decimal1The Amount of the points
(Fehler)(Haken)

@Type

string1Code for Points
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyInquiryResult | TransactionAmount | CurrencyAmount


0..1Information of the Amount of the Redemption in the Hotel Currency
(Fehler)(Haken)

@CurrencyCode

decimal1The Currency Code which is used by the Amount
(Fehler)(Haken)

@ExchangeRate

string0..1Exchange Ratedecimal(Fehler)(Haken)

IO_LoyaltyAccountInquiryRQ | LoyaltyInquiryResult | TransactionAmount | CurrencyAmount | Amount

decimal1The amount which will be paid with the Point Redemption
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount


0..1

(Fehler)(Haken)
@MemberCodeIOCodeString1The MemberCode attribute will indicate the actual number.
(Fehler)(Haken)

@ProgramCode

string1The ProgramCode attribute can be used to indicate the program that is being passed. For instance, we could use it to pass: Frequent Guest, Frequent Traveller and Traveler and Company ID.
(Fehler)(Haken)
@LevelCodeIOCodeString0..1Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatusIOCodeString0..1OTA Code list PST


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117818434" target="_blank">Profile Status (PST)</a>


(Fehler)(Haken)
@PrimaryIndboolean0..1When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
  • true
  • false
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | CardHolderName

string0..1Name of the Membership card
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountBalance


1Actual amount available, which can be used for redeeming the points
(Fehler)(Haken)

@Amount

decimal1Amount in Points
(Fehler)(Haken)

@Type

string1Shortname of the Loyalty Program
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountBalance | CurrencyAmount


0..1Amount in the default Currency
(Fehler)(Haken)

@ExchangeRate

decimal0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

string0..1Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountBalance | CurrencyAmount | Amount

decimal1Amount in the Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyAccount | AccountAccrued


0..1Total amount, the collected points
(Fehler)(Haken)

@Amount

decimal1Amount in Points
(Fehler)(Haken)

@Type

string1Shortname of the Loyalty Program
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountAccrued | CurrencyAmount


0..1Amount in the default Currency
(Fehler)(Haken)

@ExchangeRate

decimal0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

string0..1Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountAccrued | CurrencyAmount | Amount

decimal1Amount in the Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountRedeemed


0..1Total amount of points redeemed
(Fehler)(Haken)

@Amount

decimal1Amount in Points
(Fehler)(Haken)

@Type

string1Shortname of the Loyalty Program
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountRedeemed | CurrencyAmount


0..1Amount in the default Currency
(Fehler)(Haken)

@ExchangeRate

decimal0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

string0..1Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | AccountRedeemed | CurrencyAmount  | Amount

decimal1Amount in the Currency Code, from the RQ
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserCreated


0..1Information of the logged-in user
(Fehler)(Haken)

@UserName

IOCodeString0..1Name of the User
(Fehler)(Haken)

@Organisation

string0..1Name of the Group the user belongs to
(Fehler)(Haken)

@Department

string0..1Name of the Department from the User
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserCreated | Email

string0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserCreated | UserID


0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)

@Type

IOCodeString

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>


(Fehler)(Haken)

@ID

string

1

The unique profile ID from the PMS.


(Fehler)(Haken)

@ID_Context

string

1

Used to identify the source of the ID. For inbound (to protelIO) requests, this will carry a string value identifying the protel I/O Integration Partner.

“protelIO"(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserModified


0..1Information of the logged-in user
(Fehler)(Haken)

@UserName

IOCodeString0..1Name of the User
(Fehler)(Haken)

@Organisation

string0..1Name of the Group the user belongs to
(Fehler)(Haken)

@Department

string0..1Name of the Department from the User
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserModified | Email

string0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)

IO_LoyaltyAccountInquiryRS | LoyaltyInquiryResult | LoyaltyAccount | UserModified | UserID


0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)

@Type

IOCodeString

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>


(Fehler)(Haken)

@ID

string

1

The unique profile ID from the PMS.


(Fehler)(Haken)

@ID_Context

string

1

Used to identify the source of the ID. For inbound (to protelIO) requests, this will carry a string value identifying the protel I/O Integration Partner.

“protelIO"(Fehler)(Haken)