Versionen im Vergleich

Schlüssel

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

Inhalt

Request Messages

Codeblock
languagexml
collapsetrue
<IO_LoyaltyAccountInquiryRQ xmlns="http://protel.io/soap" EchoToken="LaureenTest_Charge2" TimeStamp="2021-09-16T06:35:41Z" Version="1.000" CorrelationID="LaureenTest_Charge2">
	<LoyaltyInquiryRequest 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" TransactionVoidInd="false">
		<TransactionAmount Amount="10.320252" Type="D$">
			<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.272242186649243">
				<Amount>37.91</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>
	</LoyaltyInquiryRequest>
</IO_LoyaltyAccountInquiryRQ>

Response message

Success

Codeblock
languagexml
collapsetrue
<IO_LoyaltyAccountInquiryRS xmlns="http://protel.io/soap" CorrelationID="LaureenTest_Charge2" Version="1.0" TimeStamp="2021-09-16T06:35:41">
	<Success>true</Success>
	<LoyaltyInquiryResult>
		<TransactionAmount Amount="10.0" Type="D$">
			<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
				<Amount>36.732</Amount>
			</CurrencyAmount>
		</TransactionAmount>
		<LoyaltyAccount MemberCode="12898323" ProgramCode="GHA" LevelCode="Gold" AccountStatus="4" PrimaryInd="false">
			<CardHolderName>Gary</CardHolderName>
			<AccountBalance Amount="1893.0" Type="D$">
				<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
					<Amount>6953.3676000000005</Amount>
				</CurrencyAmount>
			</AccountBalance>
			<AccountAccrued Amount="4893.0" Type="D$">
				<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
					<Amount>17972.96760000000</Amount>
				</CurrencyAmount>
			</AccountAccrued>
			<AccountRedeemed Amount="3000.0" Type="D$">
				<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
					<Amount>11019.600000000000</Amount>
				</CurrencyAmount>
			</AccountRedeemed>
			<AccountChargeLowerLimit Amount="10.0" Type="D$">
				<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
					<Amount>36.7320000000000009068</Amount>
				</CurrencyAmount>
			</AccountChargeLowerLimit>
			<AccountChargeUpperLimit Amount="1893.0" Type="D$">
				<CurrencyAmount CurrencyCode="AED" ExchangeRate="0.27224218664924316">
					<Amount>6953.3676000000005</Amount>
				</CurrencyAmount>
			</AccountChargeUpperLimit>
		</LoyaltyAccount>
	</LoyaltyInquiryResult>
</IO_LoyaltyAccountInquiryRS>