This instance is currently being migrated to the new Atlassian One Confluence sytem.
If you can't find your space anymore, it should be already in the new System: https://confluence.weareplanet.com/
Message Description
- Send Transaction Info w/ Currency + Profile info w/ Location and Agent info
- Receive Transaction Info + Membership Info
IO_LoyaltyAccountChargeRQ - Attributes
Element | @Attribute | Num | Description outbound | Comments + Contents outbound | pAir | OnPrem |
---|---|---|---|---|---|
IO_LoyaltyAccountChargeRQ | 1 | Root element of the message. | |||
@EchoToken | 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. | |||
@CorrelationID | 1 | Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory. | |||
@TimeStamp | 0..1 | Time of the transaction. | "2019-06-05T09:12:14Z" | ||
@Version | 0..1 | Message version. | Version="3.001" | ||
@PrimaryLangID | 0..1 | The primary language preference for the message encoded as ISO 639-3. | |||
IO_LoyaltyAccountChargeRQ | POS | Source | RequestorID | 1 | Reference to the sending system. | |||
@Type | 1 | A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type | 10 = "Hotel" | ||
@ID | 1 | The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages. | |||
@ID_Context | 0..1 | Used to identify where the ID comes from. | "protelIO" | ||
IO_LoyaltyAccountChargeRQ | POS | Source | BookingChannel | 0..1 | Specifies the booking channel type and whether it is the primary means of connectivity of the source. | |||
@Primary | 0..1 | Primary attribute would be set to “true” if only one booking channel is transferred. Only one source should be marked “true” if multiple sources are sent. |
| ||
@Type | 1 | Indicates the type of booking channel. Refer to OpenTravel Code List Booking Channel Type (BCT). | "4" = Property management system (PMS) | ||
IO_LoyaltyAccountChargeRQ | POS | Source | TPA_Extensions | 0..1 | A placeholder in the schema to allow for additional elements and attributes to be included per Trading Partner Agreement (TPA). Allows extensions to be added to the OpenTravel specification per trading partner agreement. | |||
IO_LoyaltyAccountChargeRQ | POS | Source | TPA_Extensions | px:POSExtensions | 0..1 | Extensions about the transferred POS. | |||
IO_LoyaltyAccountChargeRQ | POS | Source | TPA_Extensions | px:POSExtensions | px:HotelInfo | 0..1 | Extensions about the transferred POS - specifying details about the hotel's system. | |||
@FiscalDate | 1 | Current Business Date of the PMS | yyyy-mm-dd | ||
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | 1 | Information of the Redemption | |||
@TransactionAccount | 0..1 | Describes the action of the points |
| ||
@HotelCode | 0..1 | Full name of the property which the transferred stay information belongs to. | |||
@HotelID | 0..1 | The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages. | |||
@HotelName | 0..1 | Full name of the property which the transferred stay information belongs to. | |||
@ChainCode | 0..1 | Full name of the property which the transferred stay information belongs to. | |||
@MemberCode | 1 | The member code attribute will indicate the actual number. | |||
@ProgramCode | 1 | The program code 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 Company ID. | |||
@LevelCode | 0..1 | Indicates special privileges in program assigned to individual. | |||
@AccountStatus | 0..1 | The account status. Refer to Open Travel Code List Profile Status (PST). |
| ||
@PrimaryInd | 0..1 | When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program. |
| ||
@PrimaryIndSpecified | 0..1 |
| |||
@TransactionReference | 0..1 | external Reference ID for the Cancellation | |||
@TransactionVoidInd | 0..1 | Displays if it is a Redemption or a Cancellation |
| ||
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | 0..1 | Information of the Amount of the Redemption | |||
@Amount | 1 | The Amount of the points | |||
@Type | 1 | Code for Points | |||
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount | 0..1 | Information of the Amount of the Redemption in the Hotel Currency | |||
@CurrencyCode | 1 | The Currency Code which is used by the Amount | |||
@ExchangeRate | 0..1 | Exchange Rate | decimal | ||
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount | Amount | 1 | The amount which will be paid with the Point Redemption | |||
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | StayInfo | 0..1 | Reservation Information | |||
@ReservationID | 0..1 | Reservation ID | |||
@ArrivalDate | 0..1 | Arrival Date | |||
@DepartureDate | 0...1 | Departure Date | |||
@CRSNumber | 0...1 | CRS ID | |||
IO_LoyaltyAccountChargeRQ | User | 1 | Information of the logged-in user | |||
@UserName | 0..1 | Name of the User | |||
@Organisation | 0..1 | Name of the Group the User belongs to | |||
@Department | 0..1 | Name of the Department from the User | |||
IO_LoyaltyAccountChargeRQ | User | Email | 0..1 | This field would be used to pass the guest’s Email. | |||
IO_LoyaltyAccountChargeRQ | User | UserID | 0..1 | This field would be used to pass the guest’s UserID |
IO_LoyaltyAccountChargeRS - Attributes
Element | @Attribute | Num | Description outbound | Content outbound | pAir | OnPrem |
---|---|---|---|---|---|
IO_LoyaltyAccountChargeRS | 1 | Root element of the message. | |||
@EchoToken | 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. | |||
@CorrelationID | 1 | Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory. | |||
@TimeStamp | 0..1 | Time of the transaction. | "2019-06-05T09:12:14Z" | ||
@Version | 0..1 | Message version. | Version="3.001" | ||
@PrimaryLangID | 0..1 | The primary language preference for the message encoded as ISO 639-3. | |||
IO_LoyaltyAccountInfoRS | Success | 0..1 | ||||
IO_LoyaltyAccountInfoRS | Errors | Error | 0..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. | |||
@ShortText | 0..1 | An abbreviated version of the error in textual format. | |||
@Code | 0..1 | If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to the OTA Code List: Error Codes (ERR). | |||
@Type | 0..1 | Mandatory. Refer to OTA Code List: Error Warning Type (EWT). | |||
IO_LoyaltyAccountInfoRS | Errors | Error | Message | 0..1 | ||||
IO_LoyaltyAccountInfoRS | Warnings | Warning | 0..1 | Used in conjunction with the Success element to define one or more business errors. | |||
@ShortText | 0..1 | An abbreviated version of the error in textual format. | |||
@Code | 0..1 | If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to the OTA Code List: Error Codes (ERR). | |||
@Type | 0..1 | Mandatory. Refer to OTA Code List: Error Warning Type (EWT). | |||
IO_LoyaltyAccountInfoRS | Warnings | Warning | Message | 0...1 | ||||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | 0..1 | ||||
@MemberCode | 1 | The MemberCode attribute will indicate the actual number. | |||
@ProgramCode | 1 | The 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 Company ID. | |||
@LevelCode | 0..1 | Indicates special privileges in program assigned to individual. | |||
@AccountStatus | 0..1 | The account status. Refer to Open Travel Code List Profile Status (PST). |
| ||
@PrimaryInd | 0..1 | When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program. |
| ||
@TransactionReference | 0..1 | external Reference ID for the Cancellation | |||
@TransactionVoidInd | 0..1 | Displays if it is a Redemption or a Cancellation |
| ||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | CardHolderName | 0..1 | Name of the Membership card | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountBalance | 1 | Actual amount available, which can be used for redeeming the points | |||
@Amount | 1 | Amount in Points | |||
@Type | 1 | Shortname of the Loyalty Program | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountBalance | CurrencyAmount | 0..1 | Amount in the default Currency | |||
@ExchangeRate | 0..1 | Exchange Rate for the Loyalty Points | |||
@CurrencyCode | 0..1 | Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountBalance | CurrencyAmount | Amount | 1 | Amount in the Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountAccrued | 0..1 | Total amount, the collected points | |||
@Amount | 1 | Amount in Points | |||
@Type | 1 | Shortname of the Loyalty Program | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountAccrued | CurrencyAmount | 0..1 | Amount in the default Currency | |||
@ExchangeRate | 0..1 | Exchange Rate for the Loyalty Points | |||
@CurrencyCode | 0..1 | Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountAccrued | CurrencyAmount | Amount | 1 | Amount in the Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountRedeemed | 0..1 | Total amount of points redeemed | |||
@Amount | 1 | Amount in Points | |||
@Type | 1 | Shortname of the Loyalty Program | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountRedeemed | CurrencyAmount | 0..1 | Amount in the default Currency | |||
@ExchangeRate | 0..1 | Exchange Rate for the Loyalty Points | |||
@CurrencyCode | 0..1 | Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | AccountRedeemed | CurrencyAmount | Amount | 1 | Amount in the Currency Code, from the RQ | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserCreated | 0..1 | Information of the logged-in user | |||
@UserName | 0..1 | Name of the User | |||
@Organisation | 0..1 | Name of the Group the user belongs to | |||
@Department | 0..1 | Name of the Department from the User | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserCreated | Email | 0..1 | This field would be used to pass the guest’s Email. | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserCreated | UserID | 0..1 | This field would be used to pass the guest’s UserID | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserModified | 0..1 | Information of the logged-in user | |||
@UserName | 0..1 | Name of the User | |||
@Organisation | 0..1 | Name of the Group the user belongs to | |||
@Department | 0..1 | Name of the Department from the User | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserModified | Email | 0..1 | This field would be used to pass the guest’s Email. | |||
IO_LoyaltyAccountChargeRS | LoyaltyAccount | UserModified | UserID | 0..1 | This field would be used to pass the guest’s UserID |
Sample Message
IO_LoyaltyAccountChargeRQ
Redemption
Codeblock | ||||
---|---|---|---|---|
| ||||
<IO_LoyaltyAccountChargeRQ xmlns="http://protel.io/soap" EchoToken="LaureenTest_Charge2" TimeStamp="2021-08-20T06:23:47Z" Version="1.000" CorrelationID="LaureenTest_Charge2"> <POS xmlns="http://www.opentravel.org/OTA/2003/05"> <Source> <RequestorID Type="10" ID="2691" ID_Context="protelIO"/> <BookingChannel Type="4" Primary="true"/> <TPA_Extensions> <px:POSExtensions xmlns:px="http://protel.io/htng/extensions"> <px:HotelInfo FiscalDate="2019-08-17"/> </px:POSExtensions> </TPA_Extensions> </Source> </POS> <LoyaltyChargeRequest TransactionAccount="ACCRUAL" HotelCode="2691" HotelID="7" HotelName="JA Ocean View Hotel, UAE-Dubai" ChainCode="HC1" MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4" PrimaryInd="true" PrimaryIndSpecified="true" TransactionVoidInd="false"> <TransactionAmount Amount="10" Type="D$"> <CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27821"> <Amount>37.64</Amount> </CurrencyAmount> </TransactionAmount> <StayInfo ReservationID="2390534" ArrivalDate="2019-08-15T00:00:00" DepartureDate="2019-08-19T00:00:00"/> <User UserName="HelloWorld" Organisation="Gruppe" Department="Department"> <Email>EMail@Email</Email> <UserID>12312</UserID> </User> </LoyaltyChargeRequest> </IO_LoyaltyAccountChargeRQ> |
Cancellation
Codeblock | ||||
---|---|---|---|---|
| ||||
<IO_LoyaltyAccountChargeRQ xmlns="http://protel.io/soap" EchoToken="LaureenTest_Void1" TimeStamp="2021-08-20T10:58:56Z" Version="1.000" CorrelationID="LaureenTest_Void1"> <POS xmlns="http://www.opentravel.org/OTA/2003/05"> <Source> <RequestorID Type="10" ID="2691" ID_Context="protelIO"/> <BookingChannel Type="4" Primary="true"/> <TPA_Extensions> <px:POSExtensions xmlns:px="http://protel.io/htng/extensions"> <px:HotelInfo FiscalDate="2019-08-17"/> </px:POSExtensions> </TPA_Extensions> </Source> </POS> <LoyaltyChargeRequest TransactionAccount="ACCRUAL" HotelCode="2691" HotelID="7" HotelName="JA Ocean View Hotel, UAE-Dubai" ChainCode="HC1" MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4" PrimaryInd="true" PrimaryIndSpecified="true" TransactionVoidInd="true" TransactionReference="77"> <TransactionAmount Amount="10" Type="D$"> <CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27821"> <Amount>37.64</Amount> </CurrencyAmount> </TransactionAmount> <StayInfo ReservationID="2390534" ArrivalDate="2019-08-15T00:00:00" DepartureDate="2019-08-19T00:00:00"/> <User UserName="HelloWorld" Organisation="Gruppe" Department="Department"> <Email>EMail@Email</Email> <UserID>12312</UserID> </User> </LoyaltyChargeRequest> </IO_LoyaltyAccountChargeRQ> |
IO_LoyaltyAccountChargeRS
Redemption
Codeblock | ||||
---|---|---|---|---|
| ||||
IO_LoyaltyAccountChargeRS xmlns="http://protel.io/soap" CorrelationID="LaureenTest_Charge2" Version="1.0" TimeStamp="2021-08-20T06:23:47"> <Success>true</Success> <LoyaltyAccount MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4" TransactionReference="77" TransactionVoidInd= "false"> <CardHolderName>Gary</CardHolderName> <AccountBalance Amount="1823" Type="D$"> <CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27821"> <Amount>6696.243600000001</Amount> </CurrencyAmount> </AccountBalance> <AccountRedeemed Amount="10.0" Type="D$"> <CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27821"> <Amount>36.732</Amount> </CurrencyAmount> </AccountRedeemed> </LoyaltyAccount> </IO_LoyaltyAccountChargeRS> |
Cancellation
Codeblock | ||||
---|---|---|---|---|
| ||||
<IO_LoyaltyAccountChargeRS xmlns="http://protel.io/soap" CorrelationID="LaureenTest_Void1" Version="1.0" TimeStamp="2021-08-20T11:23:52"> <Success>true</Success> <LoyaltyAccount MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4" TransactionVoidInd="true"> <CardHolderName>Gary</CardHolderName> <AccountBalance Amount="1783" Type="D$"> <CurrencyAmount CurrencyCode="AED"> <Amount>6549.3156</Amount> </CurrencyAmount> </AccountBalance> <AccountRedeemed Amount="10.0" Type="D$"> <CurrencyAmount CurrencyCode="AED"> <Amount>36.732</Amount> </CurrencyAmount> </AccountRedeemed> </LoyaltyAccount> </IO_LoyaltyAccountChargeRS> |