Versionen im Vergleich

Schlüssel

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

Inhalt


Asynchronous,
Target audienceCRM
Version13.0.
AuthenticationBearer Token
Message typeSynchronous
DirectionOutbound


Message Description

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

protel I/O uses a request and response message pair to redeem loyalty points at an external system. In the request message include transaction info with currency and agent information. 


Image Added

Message Attributes

IO_LoyaltyAccountChargeRQ

Element | @Attribute

Type

Num

Description outbound

Comments + Contents outbound

pAir

OnPrem

IO_LoyaltyAccountChargeRQ


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_
LoyaltyAccountChargeRQ | POS | Source |RequestorID
LoyaltyAccountChargeRQ | LoyaltyChargeRequest
1
Reference to the sending system.
Information of the Redemption

(Fehler)

(Haken)
@TransactionAccount
@Type
IOCodeString0..1
A reference to
Describes the
type
action of
object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type 
the points
  • ACCRUAL
(Fehler)(Haken)
@HotelCodestring0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@HotelIDstring0..
10 = "Hotel"

(Fehler)

(Haken)@ID
1

The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the

same

same throughout the messages.


(Fehler)(Haken)
@HotelName
@ID_Context"protelIO"
string0..1
Used to identify where the ID comes from.
Full name of the property which the transferred stay information belongs to.


(Fehler)(Haken)
IO_LoyaltyAccountChargeRQ | POS | Source | BookingChannel
@ChainCodestring0..1
Specifies the booking channel type and whether it is the primary means of connectivity of the source
Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@MemberCode
@Primary
IOCodeString
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.

  • true
  • false
(Fehler)(Haken)
The MemberCode attribute will indicate the actual member 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 Traveler and Company ID.
(Fehler)(Haken)
@LevelCodeIOCodeString
@Type1Indicates the type of booking channel. Refer to OpenTravel Code List Booking Channel Type (BCT)."4" = Property management system (PMS)(Fehler)(Haken)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.
(Fehler)(Haken)
Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatusIOCodeString
IO_LoyaltyAccountChargeRQ | POS | Source | TPA_Extensions | px:POSExtensions
0..1
Extensions about the transferred POS.(Fehler)(Haken)IO_LoyaltyAccountChargeRQ | POS | Source | TPA_Extensions | px:POSExtensions | px:HotelInfo0..1
The account status. Refer to Open Travel Code List Profile Status (PST).


HTML
<a href="https://confluence.protel.net/pages/viewpage.action?pageId=117818434" target="_blank">Profile Status (PST)</a>
Extensions about the transferred POS - specifying details about the hotel's system.


(Fehler)(Haken)
@FiscalDate1Current Business Date of the PMSyyyy-mm-dd(Fehler)(Haken)IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest1
@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
Information of the Redemption
(Fehler)(Haken)
@TransactionAccount

@TransactionReference

IOCodeString0..1
Describes the action of the points
  • ACCRUAL
external Reference ID for the Cancellation
(Fehler)(Haken)

@TransactionVoidInd

@HotelCode
boolean0..1
Full name of the property which the transferred stay information belongs to.
Displays if it is a Redemption or a Cancellation
  • true
  • false
(Fehler)(Haken)
@HotelID
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount
0..1
The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages.
Information of the Amount of the Redemption 
(Fehler)(Haken)
@Amount
@HotelName
decimal
0..
1
Full name of the property which the transferred stay information belongs to.
The Amount of the points
(Fehler)(Haken)
@Typestring1Code for Points

(Fehler)

(Haken)
@ChainCode
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount
0..1
Full name
Information of the
property which the transferred stay information belongs to.
Amount of the Redemption in the Hotel Currency
(Fehler)(Haken)
@CurrencyCode
@MemberCode
decimal1The
member code attribute will indicate the actual number.
Currency Code which is used by the Amount
(Fehler)(Haken)
@ProgramCode
@ExchangeRate
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.
string0..1Exchange Ratedecimal(Fehler)(Haken)
@LevelCode0..1
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount | Amountdecimal1The amount which will be paid with the Point Redemption
Indicates special privileges in program assigned to individual.

(Fehler)(Haken)
@AccountStatus
IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | StayInfo
0..1
The account status. Refer to Open Travel Code List Profile Status (PST).
  • 4 = Active
  • 5 = Inactive
Reservation Information
(Fehler)(Haken)

@ReservationID

@PrimaryInd
string0..1
When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
  • true
  • false
Reservation ID
(Fehler)(Haken)
@PrimaryIndSpecified

@ArrivalDate

dateTime0..1
  • true
  • false
    Arrival Date
    (Fehler)(Haken)
    @TransactionReference

    @DepartureDate

    dateTime0...1
    external Reference ID for the Cancellation
    Departure Date
    (Fehler)(Haken)

    @CRSNumber

    @TransactionVoidInd
    string0...1
    Displays if it is a Redemption or a Cancellation
    • true
    • false
    CRS ID
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRQ |
     LoyaltyChargeRequest | TransactionAmount0..
    User
    1Information of
    the Amount of the Redemption 
    the logged-in user
    (Fehler)(Haken)
    @Amount
    @UserNameIOCodeString0..1
    The Amount
    Name of the
    points
    User
    (Fehler)(Haken)
    @Type1Code for Points
    @Organisationstring0..1Name of the Group the User belongs to
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRQ | LoyaltyChargeRequest | TransactionAmount | CurrencyAmount
    @Departmentstring0..1
    Information
    Name of the
    Amount of the Redemption in the Hotel Currency
    Department from the User
    (Fehler)(Haken)
    @CurrencyCode1
    IO_LoyaltyAccountChargeRQ | User | Emailstring0..1This field would be used to pass the guest’s Email.
    The Currency Code which is used by the Amount

    (Fehler)(Haken)
    @ExchangeRatedecimal
    IO_LoyaltyAccountChargeRQ | User | UserID
    0..1
    Exchange Rate
    This field would be used to pass the guest’s UserID
    (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)

    IO_LoyaltyAccountChargeRS - Attributes

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

    Element | @Attribute

    Type

    Num

    Description inbound

    Comments + Contents inbound

    pAir

    OnPrem

    IO_LoyaltyAccountChargeRS

    string1Root 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

    dateTime

    1

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

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

    @TimeStamp

    string

    1

    Time of the transaction.

    Version="3.001"

    (Fehler)(Haken)

    @Version

    string

    0..1

    Message version.


    (Fehler)(Haken)

    @PrimaryLangID

    boolean

    0..1

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

    • true
    • false
    (Fehler)(Haken)

    IO_LoyaltyAccountInquiryRS | Success


    0..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.
    (Fehler)(Haken)

    IO_LoyaltyAccountInquiryRS | Errors | Error

    string0..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)
    @ShortTextOTA_CodeType EWT0..1An abbreviated version of the error in textual format.


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>


    (Fehler)(Haken)

    @Type 

    OTA_CodeType ERR

    0..1

    Mandatory. Refers to the OTA Code List: Error Warning Type (EWT).


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>


    (Fehler)(Haken)

    @Code 

    string

    0..1 

    Refers to the OTA Code List: Error Codes (ERR). 


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

    IO_LoyaltyAccountInquiryRS | Warnings | Warning

    string0..1Used in conjunction with the Success element to define one or more business errors.
    (Fehler)(Haken)
    @ShortTextOTA_CodeType EWT

    Element | @Attribute

    Num

    Description outbound

    Content outbound

    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)@ShortText
    0..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)


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>


    (Fehler)(Haken)

    @Type 

    OTA_CodeType ERR
    @Type

    0..1

    Mandatory.

    Refer

    Refers to

     

    the OTA

     

    Code List: Error Warning

    Type

    Type (EWT).

    (Fehler)(Haken)


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>
    IO_LoyaltyAccountInfoRS | Errors | Error | Message0..1


    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | Warnings | Warning

    @Code 

    string

    0..

    1Used in conjunction with the Success element to define one or more business errors.

    Refers to the OTA Code List: Error Codes (ERR). 


    (Fehler)(Haken)
    @ShortText
    IO_LoyaltyAccountInquiryRS | Warnings | Warning |  Message
    0...1
    An abbreviated version of the error in textual format.
    Description of the issue
    (Fehler)(Haken)

    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult


    0..1

    (Fehler)(Haken)
    @TransactionReference
    @Code
    IOCodeString0..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).
    external Reference ID for the Cancellation
    (Fehler)(Haken)
    @TransactionVoidInd
    @Type
    boolean0..1
    Mandatory. Refer to OTA Code List: Error Warning Type (EWT).
    Displays if it is a Redemption or a Cancellation
    • true
    • false
    (Fehler)(Haken)
    IO_
    LoyaltyAccountInfoRS
    LoyaltyAccountChargeRS |
    Warnings | Warning 
    | Message
     LoyaltyChargeResult | LoyaltyAccount
    0..
    .
    1

    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyAccount0..1(Fehler)(Haken)@MemberCode
    @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
    Traveler and Company ID.
    (Fehler)(Haken)
    @LevelCodeIOCodeString0..1Indicates special privileges in program assigned to individual.
    (Fehler)(Haken)
    @AccountStatusIOCodeString0..1
    The account status. Refer to Open Travel Code List Profile Status (PST).
    OTA Code list PST


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


    (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@TransactionVoidInd0..1Displays if it is a Redemption or a Cancellation
    • true
    • false
    (Fehler)(Haken)IO_LoyaltyAccountChargeRS | LoyaltyAccount | CardHolderName0..1Name of the
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | CardHolderNamestring0..1
    external Reference ID for the Cancellation(Fehler)(Haken)
    Name of the Membership card
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | AccountBalance
    1Actual amount available, which can be used for redeeming the points
    (Fehler)(Haken)

    @Amount

    decimal1Amount in Points
    (Fehler)(Haken)
    @Typestring1Shortname of the Loyalty Program
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS |
     LoyaltyAccount 
     LoyaltyChargeResult | LoyaltyAccount | AccountBalance | CurrencyAmount
    0..1Amount in the default Currency
    (Fehler)(Haken)
    @ExchangeRatedecimal0..1Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @CurrencyCode

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

    @Amount

    decimal1Amount in Points
    (Fehler)(Haken)
    @Typestring1Shortname of the Loyalty Program
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | AccountAccrued | CurrencyAmount
    0..1Amount in the default Currency
    (Fehler)(Haken)
    @ExchangeRatedecimal0..1Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @CurrencyCode

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

    @Amount

    decimal1Amount in Points
    (Fehler)(Haken)
    @Typestring1Shortname of the Loyalty Program
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | AccountRedeemed | CurrencyAmount
    0..1Amount in the default Currency
    (Fehler)(Haken)
    @ExchangeRatedecimal0..1Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @CurrencyCode

    string0..1Currency Code, from the RQ
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | AccountRedeemed | CurrencyAmount  | Amountdecimal1Amount in the Currency Code, from the RQ
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | UserCreated
    0..1Information of the logged-in user
    (Fehler)(Haken)
    @UserNameIOCodeString0..1Name of the User
    (Fehler)(Haken)
    @Organisationstring0..1Name of the Group the user belongs to
    (Fehler)(Haken)
    @Departmentstring0..1Name of the Department from the User
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | UserCreated | Email
    0..1This field would be used to pass the guest’s Email.
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult |
     LoyaltyAccount
    LoyaltyAccount | UserCreated | UserID
    0..1This field would be used to pass the guest’s UserID
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | 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 | LoyaltyAccount | UserModified | Email0..1This field would be used to pass the guest’s Email

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

    Sample Message

    IO_LoyaltyAccountChargeRQ

    Redemption

    Codeblock
    languagexml
    collapsetrue
    <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
    languagexml
    themeEmacs
    <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
    languagexml
    collapsetrue
    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
    languagexml
    themeEmacs
    <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>

    @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_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserModified
    0..1Information of the logged-in user
    (Fehler)(Haken)
    @UserNameIOCodeString0..1Name of the User
    (Fehler)(Haken)
    @Organisationstring0..1Name of the Group the user belongs to
    (Fehler)(Haken)
    @Departmentstring0..1Name of the Department from the User
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | LoyaltyAccount | UserModified | Email
    0..1This field would be used to pass the guest’s Email.
    (Fehler)(Haken)
    IO_LoyaltyAccountChargeRS | LoyaltyChargeResult | 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)