Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 9 Nächste Version anzeigen »

Target audience
Version1.0.
AuthenticationBearer Token
Message typeAsynchronous, Outbound

Message Description

  • Send Transaction Info w/ Currency + Profile info w/ Location and Agent info
  • Receive Transaction Info + Membership Info

IO_LoyaltyAccountChargeRQ - Attributes

Element | @AttributeNumDescriptionComments + Contents outboundpAirOnPrem

IO_LoyaltyAccountChargeRQ

1Root element of the message.


(Fehler)

@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.


(Fehler)

@CorrelationID

1

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


(Fehler)

@TimeStamp

0..1

Time of the transaction.

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

@Version

0..1

Message version.

Version="3.001"

(Fehler)

@PrimaryLangID

0..1

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


(Fehler)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest1

(Fehler)
@TransactionAccount0..1Describes the action of the points
  • ACCRUAL

(Fehler)


@HotelCode0..1Full name of the property which the transferred stay information belongs to.
(Fehler)
@HotelID0..1

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


(Fehler)
@HotelName0..1Full name of the property which the transferred stay information belongs to.
(Fehler)
@ChainCode0..1Full name of the property which the transferred stay information belongs to.
(Fehler)
@MemberCode1The MemberCode attribute will indicate the actual number.
(Fehler)

@ProgramCode

1The 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.
(Fehler)
@LevelCode0..1Indicates special privileges in program assigned to individual.
(Fehler)
@AccountStatus0..1The account status. Refer to Open Travel Code List Profile Status (PST).
(Fehler)
@PrimaryInd0..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)
LoyaltyChargeRequest | TransactionAmount0..1Information of the Amount of the Redemption 
(Fehler)
@Amount1The Amount of the points
(Fehler)
@Type1Code for Points
(Fehler)
TransactionAmount | CurrencyAmount0..1Information of the Amount of the Redemption in the Hotel Currency
(Fehler)
@CurrencyCode1The Currency Code which is used by the Amount
(Fehler)
CurrencyAmount | Amount1The amount which will be paid with the Point Redemption
(Fehler)
LoyaltyChargeRequest | StayInfo0..1Reservation Information
(Fehler)
@ReservationID0..1Reservation ID
(Fehler)
@ArrivalDate0..1Arrival Date
(Fehler)
@DepartureDate0...1Departure Date
(Fehler)
@CRSNumber0...1CRS ID
(Fehler)
IO_LoyaltyAccountChargeRQ | User1Information of the logged-in user
(Fehler)
@UserName0..1Name of the User
(Fehler)
@Organisation0..1Name of the Group the User belongs to
(Fehler)
@Department0..1Name of the Department from the User
(Fehler)
User | Email0..1This field would be used to pass the guest’s Email.
(Fehler)
User | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)

IO_LoyaltyAccountChargeRS - Attributes

Element | @AttributeNumDescriptionComments + Contents outboundpAirOnPrem

IO_LoyaltyAccountChargeRS

1Root element of the message.


(Fehler)

@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.


(Fehler)

@CorrelationID

1

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


(Fehler)

@TimeStamp

0..1

Time of the transaction.

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

@Version

0..1

Message version.

Version="3.001"

(Fehler)

@PrimaryLangID

0..1

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


(Fehler)
IO_LoyaltyAccountInfoRS | Success0..1

(Fehler)
IO_LoyaltyAccountInfoRS | Errors0..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)
Errors | Error0..1

An error that occurred during the processing of a message.


(Fehler)
@ShortText0..1An abbreviated version of the error in textual format.
(Fehler)
@Code0..1If 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).
(Fehler)
@Type0..1Mandatory. Refer to OTA Code List: Error Warning Type (EWT).
(Fehler)
Error | Message0..1Message Text
(Fehler)
IO_LoyaltyAccountInfoRS | Warnings0..1Used in conjunction with the Success element to define one or more business errors.
(Fehler)
Warnings Warning0..1Used when a message has been successfully processed to report any warnings or business errors that occurred.
(Fehler)
@ShortText0..1An abbreviated version of the error in textual format.
(Fehler)
@Code0..1If 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).
(Fehler)
@Type0..1Mandatory. Refer to OTA Code List: Error Warning Type (EWT).
(Fehler)
Warning | Message0...1

(Fehler)
IO_LoyaltyAccountChargeRS | LoyaltyAccount


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

@ProgramCode

1The 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.
(Fehler)
@LevelCode0..1Indicates special privileges in program assigned to individual.
(Fehler)
@AccountStatus0..1The account status. Refer to Open Travel Code List Profile Status (PST).
  • 4 = Active
  • 5 = Inactive
(Fehler)
@PrimaryInd0..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)
@TransactionReference0..1external Reference ID for the Cancellation
(Fehler)
@TransactionVoidInd0..1Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)
LoyaltyAccount | CardHolderName0..1Name of the Membership card
(Fehler)
LoyaltyAccount | AccountBalance1Actual amount available, which can be used for redeeming the points
(Fehler)

@Amount

1Amount in Points
(Fehler)
@Type1Shortname of the Loyalty Program
(Fehler)
AccountBalance | CurrencyAmount0..1Amount in the default Currency
(Fehler)

@CurrencyCode

0..1Currency Code, from the RQ
(Fehler)
CurrencyAmount | Amount1Amount in the Currency Code, from the RQ
(Fehler)
LoyaltyAccount | AccountAccrued0..1Total amount, the collected points
(Fehler)

@Amount

1Amount in Points
(Fehler)
@Type1Shortname of the Loyalty Program
(Fehler)
AccountAccrued | CurrencyAmount0..1Amount in the default Currency
(Fehler)

@CurrencyCode

0..1Currency Code, from the RQ
(Fehler)
CurrencyAmount | Amount1Amount in the Currency Code, from the RQ
(Fehler)
LoyaltyAccount | AccountRedeemed0..1Total amount of points redeemed
(Fehler)

@Amount

1Amount in Points
(Fehler)
@Type1Shortname of the Loyalty Program
(Fehler)
AccountAccrued | CurrencyAmount0..1Amount in the default Currency
(Fehler)

@CurrencyCode

0..1Currency Code, from the RQ
(Fehler)
CurrencyAmount | Amount1Amount in the Currency Code, from the RQ
(Fehler)
LoyaltyAccount | UserCreated0..1Information of the logged-in user
(Fehler)
@UserName0..1Name of the User
(Fehler)
@Organisation0..1Name of the Group the user belongs to
(Fehler)
@Department0..1Name of the Department from the User
(Fehler)
UserCreated | Email0..1This field would be used to pass the guest’s Email.
(Fehler)
UserCreated  | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)
LoyaltyAccount | UserModified0..1Information of the logged-in user
(Fehler)
@UserName0..1Name of the User
(Fehler)
@Organisation0..1Name of the Group the user belongs to
(Fehler)
@Department0..1Name of the Department from the User
(Fehler)
UserModified  | Email0..1This field would be used to pass the guest’s Email.
(Fehler)
UserModified | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)


Sample Message

IO_LoyaltyAccountChargeRQ

<p:IO_LoyaltyAccountChargeRQ xmlns:p="http://protel.io/soap" CorrelationID="TRIGGER#000104#UPDATE#000776#1614091094240#DB8A" Version="1.0" TimeStamp="2021-02-23T14:38:14Z" EchoToken="TRIGGER#000104#UPDATE#000776#1614091094240#DB8A" PrimaryLangID="en" Target="Test" TargetName="Test">
	<p:LoyaltyChargeRequest TransactionTime="2021-02-23T14:38:14Z" TransactionAccount="ACCRUAL" HotelCode="2987" HotelID="104" HotelName="DEV 2280" ChainCode="MRHCH" MemberCode="2345754635123" ProgramCode="Lounge Coders Club" LevelCode="HighRoller" AccountStatus="4" PrimaryInd="true">
		<p:TransactionAmount Amount="100" Type="L$C">
			<p:CurrencyAmount CurrencyCode="CHF">
				<p:Amount>30.00</p:Amount>
			</p:CurrencyAmount>
		</p:TransactionAmount>
		<p:StayInfo ReservationID="20013" ArrivalDate="2019-09-26T12:00:00+02:00" DepartureDate="2019-09-30T12:00:00+02:00" CRSNumber=""/>
	</p:LoyaltyChargeRequest>
	<p:User UserName="johnD" Organisation="Hotel 2535" Department="dev.protel.net" Occupation="">
		<p:FirstName>John</p:FirstName>
		<p:LastName>Dev</p:LastName>
		<p:Email>jdev@protel.net</p:Email>
	</p:User>
</p:IO_LoyaltyAccountChargeRQ>

IO_LoyaltyAccountChargeRS

<p:IO_LoyaltyAccountChargeRS xmlns:p="http://protel.io/soap" CorrelationID="TRIGGER#000104#UPDATE#000776#1614091094240#DB8A" Version="1.0" TimeStamp="2021-02-23T15:24:09Z" PrimaryLangID="en">
    <p:Success>true</p:Success>
    <p:Warnings>
        <p:Warning ShortText="Low points balance" Code="0" ReferenceCode="L$C">
            <p:Message>Just a test warning</p:Message>
        </p:Warning>
    </p:Warnings>
    <p:LoyaltyAccount MemberCode="2345754635123" ProgramCode="Lounge Coders Club" LevelCode="HighRoller" AccountStatus="4">
        <p:CardHolderName>Oneoone K. Board</p:CardHolderName>
        <p:ExpireDate>2021-06-03</p:ExpireDate>
        <p:AccountBalance Amount="0" Type="L$C">
            <p:CurrencyAmount CurrencyCode="CHF">
                <p:Amount>1</p:Amount>
            </p:CurrencyAmount>
        </p:AccountBalance>
        <p:AccountAccrued Amount="0" Type="L$C">
            <p:CurrencyAmount CurrencyCode="CHF">
                <p:Amount>1</p:Amount>
            </p:CurrencyAmount>
        </p:AccountAccrued>
        <p:AccountRedeemed Amount="0" Type="L$C">
            <p:CurrencyAmount CurrencyCode="CHF">
                <p:Amount>1</p:Amount>
            </p:CurrencyAmount>
        </p:AccountRedeemed>
    </p:LoyaltyAccount>
</p:IO_LoyaltyAccountChargeRS>
  • Keine Stichwörter