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

Unterschiede anzeigen Seitenhistorie anzeigen

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

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

Message Description

  • Lookup by Member ID w/ Currency for Points
  • Receive Membership Info w/ Points & Account Balance in Hotel Currency

IO_LoyaltyAccountInfoRQ - Attributes

Element | @AttributeNumDescriptionComments + Contents outboundpAirOnPrem

IO_LoyaltyAccountInfoRQ

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_LoyaltyAccountInfoRQ | ReadRequests0..1

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

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)
ReadRequests | LoyaltyReadRequest1..n

(Fehler)
@CurrencyCode0..1An ISO 4217 (3) alpha character code that specifies a monetary unit.
(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)
ReadRequests | 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_LoyaltyAccountInfoRS - Attributes

Element | @AttributeNumDescription outboundComments + Contents outboundpAirOnPrem

IO_LoyaltyAccountInfoRS

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)
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)
IO_LoyaltyAccountInfoRS | LoyaltyReadResults0..1

(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)
LoyaltyReadResults | LoyaltyAccount1

(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..1

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

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 | Phone0..1This field would be used to pass the guest’s Phone
(Fehler)
UserModified | UserID0..1This field would be used to pass the guest’s UserID
(Fehler)

Sample Message

IO_LoyaltyAccountInfoRQ

<p:IO_LoyaltyAccountInfoRQ xmlns:p="http://protel.io/soap" CorrelationID="TRIGGER#000500#UPDATE#000420#1613999060824#E564" Version="1.0" TimeStamp="2021-02-22T13:04:20Z" EchoToken="TRIGGER#000500#UPDATE#000420#1613999060824#E564" PrimaryLangID="en" Target="Test" TargetName="Test">
	<p:ReadRequests HotelCode="2535" HotelID="500" HotelName="DEV 2535" ChainCode="n/a">
		<p:LoyaltyReadRequest CurrencyCode="CZK" MemberCode="2345754635123" ProgramCode="Lounge Coders Club" LevelCode="HighRoller" AccountStatus="4" PrimaryInd="true">
			<p:EffectiveDateBefore>2019-07-04</p:EffectiveDateBefore>
			<p:ExpireDateAfter>2019-07-04</p:ExpireDateAfter>
		</p:LoyaltyReadRequest>
		<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:ReadRequests>
</p:IO_LoyaltyAccountInfoRQ>

IO_LoyaltyAccountInfoRS

<p:IO_LoyaltyAccountInfoRS xmlns:p="http://protel.io/soap" CorrelationID="TRIGGER#000500#UPDATE#000420#1613999060824#E564" Version="1.0" TimeStamp="2021-02-22T13:07:02Z">
	<p:Success>true</p:Success>
	<p:LoyaltyReadResults HotelCode="2535" HotelName="DEV 2535" ChainCode="n/a" ChainName="n/a">
		<p:LoyaltyAccount MemberCode="2345754635123" ProgramCode="Lounge Coders Club" LevelCode="HighRoller" AccountStatus="4" PrimaryInd="true">
			<p:CardHolderName>Oneoone K. Board</p:CardHolderName>
			<p:AccountBalance Amount="0" Type="L$C">
				<p:CurrencyAmount CurrencyCode="CZK" ExchangeRate="1">
					<p:Amount>0</p:Amount>
				</p:CurrencyAmount>
			</p:AccountBalance>
			<p:AccountAccrued Amount="0" Type="L$C">
				<p:CurrencyAmount CurrencyCode="CZK" ExchangeRate="1">
					<p:Amount>0</p:Amount>
				</p:CurrencyAmount>
			</p:AccountAccrued>
			<p:AccountRedeemed Amount="0" Type="L$C">
				<p:CurrencyAmount CurrencyCode="CZK" ExchangeRate="1">
					<p:Amount>0</p:Amount>
				</p:CurrencyAmount>
			</p:AccountRedeemed>
			<p:UserCreated 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:UserCreated>
			<p:UserModified 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:UserModified>
		</p:LoyaltyAccount>
	</p:LoyaltyReadResults>
</p:IO_LoyaltyAccountInfoRS>
  • Keine Stichwörter