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

Unterschiede anzeigen Seitenhistorie anzeigen

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

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

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

1Root element of the message.


(Fehler)(Haken)

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

@CorrelationID

1

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


(Fehler)(Haken)

@TimeStamp

0..1

Time of the transaction.

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

@Version

0..1

Message version.

Version="3.001"

(Fehler)(Haken)

@PrimaryLangID

0..1

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


(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest1Information of the Redemption

(Fehler)

(Haken)
@TransactionAccount0..1Describes the action of the points
  • ACCRUAL
(Fehler)(Haken)
@HotelCode0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@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)(Haken)
@HotelName0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@ChainCode0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@MemberCode1The member code attribute will indicate the actual number.
(Fehler)(Haken)

@ProgramCode

1The 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.
(Fehler)(Haken)
@LevelCode0..1Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatus0..1The account status. Refer to Open Travel Code List Profile Status (PST).
  • 4 = Active
  • 5 = Inactive
(Fehler)(Haken)
@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)(Haken)
@PrimaryIndSpecified0..1
  • true
  • false
(Fehler)(Haken)
@TransactionReference0..1external Reference ID for the Cancellation
(Fehler)(Haken)
@TransactionVoidInd0..1Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount0..1Information of the Amount of the Redemption 
(Fehler)(Haken)
@Amount1The Amount of the points
(Fehler)(Haken)
@Type1Code for Points

(Fehler)

(Haken)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount0..1Information of the Amount of the Redemption in the Hotel Currency
(Fehler)(Haken)
@CurrencyCode1The Currency Code which is used by the Amount
(Fehler)(Haken)
@ExchangeRate0..1Exchange Ratedecimal(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount | Amount1The amount which will be paid with the Point Redemption
(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | StayInfo0..1Reservation Information
(Fehler)(Haken)
@ReservationID0..1Reservation ID
(Fehler)(Haken)
@ArrivalDate0..1Arrival Date
(Fehler)(Haken)
@DepartureDate0...1Departure Date
(Fehler)(Haken)
@CRSNumber0...1CRS ID
(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | User1Information of the logged-in user
(Fehler)(Haken)
@UserName0..1Name of the User
(Fehler)(Haken)
@Organisation0..1Name of the Group the User belongs to
(Fehler)(Haken)
@Department0..1Name of the Department from the User
(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | User | Email0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | User | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)
@ID1A unique identifying value assigned by the creating system. In the context of protel IO, this will be the unique hotel ID where the profile was created.


(Fehler)(Haken)
@ID_Context1

Used to identify the source of the identifier. For both outbound (from protel IO) and inbound (to protel IO) request messages, this must carry the string value


(Fehler)(Haken)
@Type0..1

A numeric reference to the type of object defined by the unique ID attribute. Refer to the OTA code lists: Unique ID Type (UIT)


(Fehler)(Haken)

IO_LoyaltyAccountChargeRS - Attributes

Element | @Attribute

Num

Description inbound

Comments + Contents inbound

pAir

OnPrem

IO_LoyaltyAccountChargeRS

1Root element of the message.


(Fehler)(Haken)

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

@CorrelationID

1

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


(Fehler)(Haken)

@TimeStamp

0..1

Time of the transaction.

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

@Version

0..1

Message version.

Version="3.001"

(Fehler)(Haken)

@PrimaryLangID

0..1

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


(Fehler)(Haken)
IO_LoyaltyAccountInfoRS | Success0..1

(Fehler)(Haken)
IO_LoyaltyAccountInfoRS | Errors | Error0..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)
@ShortText0..1An abbreviated version of the error in textual format.
(Fehler)(Haken)
@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)(Haken)
@Type0..1Mandatory. Refer to OTA Code List: Error Warning Type (EWT).
(Fehler)(Haken)
IO_LoyaltyAccountInfoRS | Errors | Error | Message0..1

(Fehler)(Haken)
IO_LoyaltyAccountInfoRS | Warnings | Warning0..1Used in conjunction with the Success element to define one or more business errors.
(Fehler)(Haken)
@ShortText0..1An abbreviated version of the error in textual format.
(Fehler)(Haken)
@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)(Haken)
@Type0..1Mandatory. Refer to OTA Code List: Error Warning Type (EWT).
(Fehler)(Haken)
IO_LoyaltyAccountInfoRS | Warnings | Warning 
| Message
0...1

(Fehler)(Haken)

IO_LoyaltyAccountChargeRS | LoyaltyChargeResult

0..1

(Fehler)(Haken)
@TransactionReference0..1external Reference ID for the Cancellation
(Fehler)(Haken)
@TransactionVoidInd0..1Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount0..1

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

@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)(Haken)
@LevelCode0..1Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatus0..1The account status. Refer to Open Travel Code List Profile Status (PST).
  • 4 = Active
  • 5 = Inactive
(Fehler)(Haken)
@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)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | CardHolderName0..1Name of the Membership card
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | AccountBalance1Actual amount available, which can be used for redeeming the points
(Fehler)(Haken)

@Amount

1Amount in Points
(Fehler)(Haken)
@Type1Shortname of the Loyalty Program
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | AccountBalance | CurrencyAmount0..1Amount in the default Currency
(Fehler)(Haken)
@ExchangeRate0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

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

@Amount

1Amount in Points
(Fehler)(Haken)
@Type1Shortname of the Loyalty Program
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | AccountAccrued | CurrencyAmount0..1Amount in the default Currency
(Fehler)(Haken)
@ExchangeRate0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

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

@Amount

1Amount in Points
(Fehler)(Haken)
@Type1Shortname of the Loyalty Program
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | AccountRedeemed | CurrencyAmount0..1Amount in the default Currency
(Fehler)(Haken)
@ExchangeRate0..1Exchange Rate for the Loyalty Points
(Fehler)(Haken)

@CurrencyCode

0..1Currency Code, from the RQ
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | AccountRedeemed | CurrencyAmount  | Amount1Amount in the Currency Code, from the RQ
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserCreated0..1Information of the logged-in user
(Fehler)(Haken)
@UserName0..1Name of the User
(Fehler)(Haken)
@Organisation0..1Name of the Group the user belongs to
(Fehler)(Haken)
@Department0..1Name of the Department from the User
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserCreated | Email0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserCreated | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)
@ID1A unique identifying value assigned by the creating system. In the context of protel IO, this will be the unique hotel ID where the profile was created.
(Fehler)(Haken)
@ID_Context1

Used to identify the source of the identifier. For both outbound (from protel IO) and inbound (to protel IO) request messages, this must carry the string value


(Fehler)(Haken)
@Type0..1

A numeric reference to the type of object defined by the unique ID attribute. Refer to the OTA code lists: Unique ID Type (UIT)


(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserModified0..1Information of the logged-in user
(Fehler)(Haken)
@UserName0..1Name of the User
(Fehler)(Haken)
@Organisation0..1Name of the Group the user belongs to
(Fehler)(Haken)
@Department0..1Name of the Department from the User
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserModified | Email0..1This field would be used to pass the guest’s Email.
(Fehler)(Haken)
IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserModified | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)(Haken)
@ID1A unique identifying value assigned by the creating system. In the context of protel IO, this will be the unique hotel ID where the profile was created.


(Fehler)(Haken)
@ID_Context1

Used to identify the source of the identifier. For both outbound (from protel IO) and inbound (to protel IO) request messages, this must carry the string value


(Fehler)(Haken)
@Type0..1

A numeric reference to the type of object defined by the unique ID attribute. Refer to the OTA code lists: Unique ID Type (UIT)


(Fehler)(Haken)

Sample Message

IO_LoyaltyAccountChargeRQ

Redemption

<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 ID="12315" ID_Context="protelID"/>
		</User>
	</LoyaltyChargeRequest>
</IO_LoyaltyAccountChargeRQ>

Cancellation

<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 ID="12315" ID_Context="protelID"/>
		</User>
	</LoyaltyChargeRequest>
</IO_LoyaltyAccountChargeRQ>

IO_LoyaltyAccountChargeRS

Redemption

<IO_LoyaltyAccountChargeRS xmlns="http://protel.io/soap" CorrelationID="LaureenTest_Charge2" Version="1.0" TimeStamp="2021-08-20T06:23:47">
	<Success>true</Success>
	<LoyaltyChargeResult TransactionReference="77" TransactionVoidInd="false">
		<LoyaltyAccount MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4">
			<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>
	</LoyaltyChargeResult>
</IO_LoyaltyAccountChargeRS>

Cancellation

<IO_LoyaltyAccountChargeRS xmlns="http://protel.io/soap" CorrelationID="LaureenTest_Charge2" Version="1.0" TimeStamp="2021-08-20T06:23:47">
	<Success>true</Success>
	<LoyaltyChargeResult TransactionReference="77" TransactionVoidInd="true">
		<LoyaltyAccount MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4">
			<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>
	</LoyaltyChargeResult>
</IO_LoyaltyAccountChargeRS>
  • Keine Stichwörter