Use Cases
Redemption
RQIO_LoyaltyAccountChargeRQ:
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 ID="12315" ID_Context="protelID"/>
</User>
</LoyaltyChargeRequest>
</IO_LoyaltyAccountChargeRQ> |
RSIO_LoyaltyAccountChargeRS:
Codeblock |
---|
|
<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
RQIO_LoyaltyAccountChargeRQ:
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 ID="12315" ID_Context="protelID"/>
</User>
</LoyaltyChargeRequest>
</IO_LoyaltyAccountChargeRQ> |
RSIO_LoyaltyAccountChargeRS:
Codeblock |
---|
|
<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> |
...