Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
 
<?xml version="1.0" encoding="utf-8"?>
<OTA_HotelResRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ResStatus="Book" EchoToken="20160508175004" xmlns="http://www.opentravel.org/OTA/2003/05">
	<POS>
		<Source>
			<RequestorID Type="1" ID="VISIT" ID_Context="Booking Channel"/>
			<BookingChannel Type="ADS">
				<CompanyName CompanyShortName="ABC" Code="ABC"/>
			</BookingChannel>
		</Source>
	</POS>
	<HotelReservations>
		<HotelReservation RoomStayReservation="true">
			<RoomStays>
				<RoomStay>
					<RoomTypes>
						<RoomType RoomID="64338" InvBlockCode="" RoomTypeCode="STD0001K" IsRoom="true"/>
					</RoomTypes>
					<RatePlans>
						<RatePlan RatePlanID="UDB02APR" RatePlanCode="UDB02APR"/>
					</RatePlans>
					<RoomRates>
						<RoomRate NumberOfUnits="1" RatePlanCode="UDB02APR" EffectiveDate="2016-06-17" ExpireDate="2016-06-19" RoomTypeCode="STD0001K">
							<Rates>
								<Rate EffectiveDate="2016-06-17" ExpireDate="2016-06-17">
									<Base CurrencyCode="USD" AmountAfterTax="167.13" AmountBeforeTax="148.58">
										<Taxes Amount="18.55"/>
									</Base>
								</Rate>
								<Rate EffectiveDate="2016-06-18" ExpireDate="2016-06-18">
									<Base CurrencyCode="USD" AmountAfterTax="167.13" AmountBeforeTax="148.58">
										<Taxes Amount="18.55"/>
									</Base>
								</Rate>
							</Rates>
							<Total CurrencyCode="USD" AmountAfterTax="334.27" AmountBeforeTax="297.16">
								<Taxes Amount="37.11"/>
							</Total>
						</RoomRate>
					</RoomRates>
					<GuestCounts>
						<GuestCount AgeQualifyingCode="10" Count="2"/>
					</GuestCounts>
					<TimeSpan Start="2016-06-17" End="2016-06-19"/>
					<Guarantee GuaranteeCode="DX">
						<GuaranteesAccepted>
							<GuaranteeAccepted>
								<PaymentCard ExpireDate="0420" CardCode="VISA" CardNumber="****************">
									<CardHolderName>CC Holder</CardHolderName>
								</PaymentCard>
							</GuaranteeAccepted>
						</GuaranteesAccepted>
					</Guarantee>
					<Total CurrencyCode="USD" AmountAfterTax="334.27" AmountBeforeTax="297.16">
						<Taxes Amount="37.11"/>
					</Total>
					<BasicPropertyInfo HotelCode="AAABBBCCC01" ChainCode="ABC"/>
					<SpecialRequests>
						<SpecialRequest RequestCode="529">
							<Text>ALLER</Text>
						</SpecialRequest>
					</SpecialRequests>
					<Comments>
						<Comment Name="" CommentOriginatorCode="Guest" GuestViewable="true">
							<Text>5% Loyalty discount USD17.59 applied</Text>
						</Comment>
					</Comments>
				</RoomStay>
			</RoomStays>
			<Services/>
			<ResGuests>
				<ResGuest>
					<Profiles>
						<ProfileInfo>
							<Profile ProfileType="1">
								<Customer>
									<PersonName>
										<GivenName>Test</GivenName>
										<Surname>Test</Surname>
									</PersonName>
									<Telephone PhoneNumber="832-863-1111" FormattedInd="false"/>
									<Email ShareMarketInd="No">sam@whiteboardlabs.com</Email>
									<Address>
										<AddressLine>12431 Test Dr</AddressLine>
										<CityName>Houston</CityName>
										<PostalCode>77082</PostalCode>
										<StateProv StateCode="TX"/>
										<CountryName Code="USA"/>
									</Address>
									<CustLoyalty MembershipID="123"/>
								</Customer>
							</Profile>
						</ProfileInfo>
						<ProfileInfo>
							<Profile ProfileType="3">
								<CompanyInfo>
									<CompanyName CompanyShortName="ZODI2014" Code="ZODI2014" CodeContext="CRS"/>
								</CompanyInfo>
							</Profile>
						</ProfileInfo>
					</Profiles>
				</ResGuest>
			</ResGuests>
		</HotelReservation>
	</HotelReservations>
</OTA_HotelResRQ>

OTA_HotelResNotifRQ Sample (Payment Processed by Third Party, No Points Redeemed)

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:b="http://htng.org/2009B" xmlns:ns="http://www.opentravel.org/OTA/2003/05">
    <soapenv:Header>
        <b:HTNGHeader>
            <b:From>
                <b:systemId />
                <b:Credential>
                    <b:userName>UserNameGoesHere</b:userName>
                    <b:password>PasswordGoesHere</b:password>
                </b:Credential>
            </b:From>
            <b:To>
                <b:systemId />
            </b:To>
            <b:timestamp />
            <b:echoToken />
            <b:transactionId />
            <b:action />
        </b:HTNGHeader>
    </soapenv:Header>
    <soapenv:Body>
        <b:ProcessHotelReservation>
            <ns:OTA_HotelResRQ ResStatus="Book">
                <ns:POS>
                    <ns:Source>
                        <ns:RequestorID Type="1" ID="WEB" URL="data.windsurfercrs.com" ID_Context="WindSurfer" />
                        <ns:BookingChannel Type="GOO" />
                    </ns:Source>
                </ns:POS>
                <ns:HotelReservations>
                    <ns:HotelReservation>
                        <ns:RoomStays>
                            <ns:RoomStay>
                                <ns:RoomTypes>
                                    <ns:RoomType RoomTypeCode="DOUBLE" />
                                </ns:RoomTypes>
                                <ns:RatePlans>
                                    <ns:RatePlan RatePlanCode="RateDX10%RF" BookingCode="RateDX10%RF" />
                                </ns:RatePlans>
                                <ns:RoomRates>
                                    <ns:RoomRate NumberOfUnits="1" RoomTypeCode="DOUBLE" EffectiveDate="2022-12-29" ExpireDate="2022-12-30">
                                        <ns:Rates>
                                            <ns:Rate EffectiveDate="2022-12-29" ExpireDate="2022-12-30">
                                                <ns:Base AmountBeforeTax="100.02" AmountAfterTax="110.02" />
                                            </ns:Rate>
                                        </ns:Rates>
                                    </ns:RoomRate>
                                </ns:RoomRates>
                                <ns:GuestCounts>
                                    <ns:GuestCount AgeQualifyingCode="10" Count="1" />
                                </ns:GuestCounts>
                                <ns:TimeSpan Start="2022-12-29" End="2022-12-30" />
                                <ns:Guarantee GuaranteeCode="DX">
                                    <!-- <ns:GuaranteesAccepted><ns:GuaranteeAccepted><ns:PaymentCard ExpireDate="03/30" CardType="1" CardCode="4" CardNumber="4917610000000000"><ns:CardHolderName>Tester McTesterson</ns:CardHolderName></ns:PaymentCard>
                                        </ns:GuaranteeAccepted>
                                    </ns:GuaranteesAccepted> -->                        
                        </ns:Guarantee>
                        <ns:Total AmountBeforeTax="90.02" AmountAfterTax="100.02" />
                        <ns:BasicPropertyInfo HotelCode="HOTELCODEGOESHERE" />
                    </ns:RoomStay>
                </ns:RoomStays>
                <ns:Services>
                    <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                        <ns:Price>
                            <ns:Base AmountAfterTax="80" AmountBeforeTax="70">
                                <ns:Taxes Amount="1" />
                            </ns:Base>
                            <ns:Total AmountAfterTax="80" AmountBeforeTax="70">
                                <ns:Taxes Amount="1" />
                            </ns:Total>
                        </ns:Price>
                        <ns:ServiceDetails>
                            <ns:TimeSpan Start="2022-12-26" />
                        </ns:ServiceDetails>
                    </ns:Service>
                </ns:Services>
                <ns:ResGuests>
                    <ns:ResGuest>
                        <ns:Profiles>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="1">
                                    <ns:Customer>
                                        <ns:PersonName>
                                            <ns:GivenName>Testofferson</ns:GivenName>
                                            <ns:Surname>Testofer</ns:Surname>
                                        </ns:PersonName>
                                        <ns:Telephone PhoneNumber="2134567845" />
                                        <ns:Email>example@shr.global</ns:Email>
                                        <ns:Address>
                                            <ns:AddressLine>1234 Test Drive</ns:AddressLine>
                                            <ns:CityName>Testerville</ns:CityName>
                                            <ns:PostalCode>77058</ns:PostalCode>
                                            <ns:StateProv StateCode="TX">Texas</ns:StateProv>
                                            <ns:CountryName Code="US">United States</ns:CountryName>
                                        </ns:Address>
                                    </ns:Customer>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="3">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName CompanyShortName="GSV" Code="GSV" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:UniqueID ID="123456" ID_Context="IATA" />
                                <ns:Profile ProfileType="4">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName Code="123456" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                        </ns:Profiles>
                    </ns:ResGuest>
                </ns:ResGuests>
                <ns:ResGlobalInfo>
                    <ns:DepositPayments>
                        <ns:GuaranteePayment>
                            <ns:AcceptedPayments>
                                <!-- for PaymentCard Payment,  -->
                                <ns:AcceptedPayment>
                                    <ns:PaymentCard CardCode="VS" CardType="Visa" ExpireDate="0330" SecureInd="true">
                                        <ns:CardHolderName>John Test</ns:CardHolderName>
                                        <ns:CardNumber>
                                            <ns:PlainText>4917610000000000</ns:PlainText>
                                        </ns:CardNumber>
                                        <!-- Card Number -->
                                        <ns:SeriesCode>
                                            <ns:PlainText>737</ns:PlainText>
                                            <!-- CVV -->                                        
                                        </ns:SeriesCode>
                                    </ns:PaymentCard>
                                    <!-- data about amount and whether payment was already processed externally or WS is supposed to process it-->
                                    <ns:TPA_Extensions>
                                        <ns:PaymentProcessingDetails PaymentProcessed="true" Amount="200" MerchantReference="jdhlkfsh4jfewhf" PspReference="fdestddjKKfjoi">
                                                </ns:PaymentProcessingDetails>
                                    </ns:TPA_Extensions>
                                </ns:AcceptedPayment>
                            </ns:AcceptedPayments>
                        </ns:GuaranteePayment>
                    </ns:DepositPayments>
                </ns:ResGlobalInfo>
            </ns:HotelReservation>
        </ns:HotelReservations>
    </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRQ (Payment Processed by Third Party, Points Redeemed)

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:b="http://htng.org/2009B" xmlns:ns="http://www.opentravel.org/OTA/2003/05">
    <soapenv:Header>
        <b:HTNGHeader>
            <b:From>
                <b:systemId />
                <b:Credential>
                    <b:userName>UsernameMcUsernameson</b:userName>
                    <b:password>Password123</b:password>
                </b:Credential>
            </b:From>
            <b:To>
                <b:systemId />
            </b:To>
            <b:timestamp />
            <b:echoToken />
            <b:transactionId />
            <b:action />
        </b:HTNGHeader>
    </soapenv:Header>
    <soapenv:Body>
        <b:ProcessHotelReservation>
            <ns:OTA_HotelResRQ ResStatus="Book">
                <ns:POS>
                    <ns:Source>
                        <ns:RequestorID Type="1" ID="WEB" URL="data.windsurfercrs.com" ID_Context="WindSurfer" />
                        <ns:BookingChannel Type="GOO" />
                    </ns:Source>
                </ns:POS>
                <ns:HotelReservations>
                    <ns:HotelReservation>
                        <ns:RoomStays>
                            <ns:RoomStay>
                                <ns:RoomTypes>
                                    <ns:RoomType RoomTypeCode="KNBI" />
                                </ns:RoomTypes>
                                <ns:RatePlans>
                                    <ns:RatePlan RatePlanCode="LOYALPOINTRT" BookingCode="LOYALPOINTRT" />
                                </ns:RatePlans>
                                <ns:RoomRates>
                                    <ns:RoomRate NumberOfUnits="1" RoomTypeCode="KNBI" EffectiveDate="2022-12-29" ExpireDate="2022-12-30">
                                        <ns:Rates>
                                            <ns:Rate EffectiveDate="2022-12-29" ExpireDate="2022-12-30">
                                                <ns:Base AmountBeforeTax="180" AmountAfterTax="190" />
                                            </ns:Rate>
                                        </ns:Rates>
                                    </ns:RoomRate>
                                </ns:RoomRates>
                                <ns:GuestCounts>
                                    <ns:GuestCount AgeQualifyingCode="10" Count="1" />
                                </ns:GuestCounts>
                                <ns:TimeSpan Start="2022-12-29" End="2022-12-30" />
                                <ns:Guarantee GuaranteeCode="DX">
                                    <!-- <ns:GuaranteesAccepted><ns:GuaranteeAccepted><ns:PaymentCard ExpireDate="03/30" CardType="1" CardCode="4" CardNumber="4917610000000000"><ns:CardHolderName>Tester McTesterson</ns:CardHolderName></ns:PaymentCard>
                                        </ns:GuaranteeAccepted>
                                    </ns:GuaranteesAccepted> -->
 
                         
                        </ns:Guarantee>
                        <ns:Total AmountBeforeTax="180" AmountAfterTax="190" />
                        <ns:BasicPropertyInfo HotelCode="VH06" />
                    </ns:RoomStay>
                </ns:RoomStays>
                <ns:Services>
                    <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                        <ns:Price>
                            <ns:Base AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Base>
                            <ns:Total AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Total>
                        </ns:Price>
                        <ns:ServiceDetails>
                            <ns:TimeSpan Start="2022-12-28" />
                        </ns:ServiceDetails>
                    </ns:Service>
                </ns:Services>
                <ns:ResGuests>
                    <ns:ResGuest>
                        <ns:Profiles>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="1">
                                    <ns:Customer>
                                        <ns:PersonName>
                                            <ns:GivenName>Testerman</ns:GivenName>
                                            <ns:Surname/>
                                        </ns:PersonName>
                                        <ns:Telephone PhoneNumber="2134567845" />
                                        <ns:Email>example@shr.global</ns:Email>
                                        <ns:Address>
                                            <ns:AddressLine>1234 Test Drive</ns:AddressLine>
                                            <ns:CityName>Testerville</ns:CityName>
                                            <ns:PostalCode>77058</ns:PostalCode>
                                            <ns:StateProv StateCode="TX">Texas</ns:StateProv>
                                            <ns:CountryName Code="US">United States</ns:CountryName>
                                        </ns:Address>
                                    </ns:Customer>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="3">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName CompanyShortName="GSV" Code="GSV" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:UniqueID ID="123456" ID_Context="IATA" />
                                <ns:Profile ProfileType="4">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName Code="123456" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                        </ns:Profiles>
                    </ns:ResGuest>
                </ns:ResGuests>
                <ns:ResGlobalInfo>
                    <ns:DepositPayments>
                        <ns:GuaranteePayment>
                            <ns:AcceptedPayments>
                                <!-- for PaymentCard Payment,  -->
                                <ns:AcceptedPayment>
                                    <ns:LoyaltyRedemption RedemptionQuantity="120" MemberNumber="200566551" ProgramName="Maverick">
                                            </ns:LoyaltyRedemption>
                                    <!-- data about amount and whether payment was already processed externally or WS is supposed to process it-->
                                    <ns:TPA_Extensions>
                                        <ns:PaymentProcessingDetails Amount="150"   LoyaltyTransactionCode="sfjjshvfssdshjv" PaymentProcessed="true">
                                                    </ns:PaymentProcessingDetails>
                                    </ns:TPA_Extensions>
                                </ns:AcceptedPayment>
                            </ns:AcceptedPayments>
                        </ns:GuaranteePayment>
                    </ns:DepositPayments>
                </ns:ResGlobalInfo>
            </ns:HotelReservation>
        </ns:HotelReservations>
    </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRQ (Payment not Accepted by Third Party, SHR to Process Payment, but not Points)

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:b="http://htng.org/2009B" xmlns:ns="http://www.opentravel.org/OTA/2003/05">
    <soapenv:Header>
        <b:HTNGHeader>
            <b:From>
                <b:systemId />
                <b:Credential>
                    <b:userName>CoolUsername</b:userName>
                    <b:password>VerySecretPassword</b:password>
                </b:Credential>
            </b:From>
            <b:To>
                <b:systemId />
            </b:To>
            <b:timestamp />
            <b:echoToken />
            <b:transactionId />
            <b:action />
        </b:HTNGHeader>
    </soapenv:Header>
    <soapenv:Body>
        <b:ProcessHotelReservation>
            <ns:OTA_HotelResRQ ResStatus="Book">
                <ns:POS>
                    <ns:Source>
                        <ns:RequestorID Type="1" ID="WEB" URL="data.windsurfercrs.com" ID_Context="WindSurfer" />
                        <ns:BookingChannel Type="GOO" />
                    </ns:Source>
                </ns:POS>
                <ns:HotelReservations>
                    <ns:HotelReservation>
                        <ns:RoomStays>
                            <ns:RoomStay>
                                <ns:RoomTypes>
                                    <ns:RoomType RoomTypeCode="DOUBLE" />
                                </ns:RoomTypes>
                                <ns:RatePlans>
                                    <ns:RatePlan RatePlanCode="RateDX10%RF" BookingCode="RateDX10%RF" />
                                </ns:RatePlans>
                                <ns:RoomRates>
                                    <ns:RoomRate NumberOfUnits="1" RoomTypeCode="DOUBLE" EffectiveDate="2022-12-28" ExpireDate="2022-12-29">
                                        <ns:Rates>
                                            <ns:Rate EffectiveDate="2022-12-28" ExpireDate="2022-12-29">
                                                <ns:Base AmountBeforeTax="95.02" AmountAfterTax="98.02" />
                                            </ns:Rate>
                                        </ns:Rates>
                                    </ns:RoomRate>
                                </ns:RoomRates>
                                <ns:GuestCounts>
                                    <ns:GuestCount AgeQualifyingCode="10" Count="1" />
                                </ns:GuestCounts>
                                <ns:TimeSpan Start="2022-12-28" End="2022-12-29" />
                                <ns:Guarantee GuaranteeCode="DX">
                        </ns:Guarantee>
                        <ns:Total AmountBeforeTax="85.02" AmountAfterTax="95.02" />
                        <ns:BasicPropertyInfo HotelCode="ADNSWSH" />
                    </ns:RoomStay>
                </ns:RoomStays>
                <ns:Services>
                    <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                        <ns:Price>
                            <ns:Base AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Base>
                            <ns:Total AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Total>
                        </ns:Price>
                        <ns:ServiceDetails>
                            <ns:TimeSpan Start="2022-12-26" />
                        </ns:ServiceDetails>
                    </ns:Service>
                </ns:Services>
                <ns:ResGuests>
                    <ns:ResGuest>
                        <ns:Profiles>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="1">
                                    <ns:Customer>
                                        <ns:PersonName>
                                            <ns:GivenName>Testiano</ns:GivenName>
                                            <ns:Surname>Testaldo</ns:Surname>
                                        </ns:PersonName>
                                        <ns:Telephone PhoneNumber="2134567845" />
                                        <ns:Email>example@shr.global</ns:Email>
                                        <ns:Address>
                                            <ns:AddressLine>1234 Test Drive</ns:AddressLine>
                                            <ns:CityName>Testerville</ns:CityName>
                                            <ns:PostalCode>77058</ns:PostalCode>
                                            <ns:StateProv StateCode="TX">Texas</ns:StateProv>
                                            <ns:CountryName Code="US">United States</ns:CountryName>
                                        </ns:Address>
                                    </ns:Customer>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="3">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName CompanyShortName="GSV" Code="GSV" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:UniqueID ID="123456" ID_Context="IATA" />
                                <ns:Profile ProfileType="4">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName Code="123456" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                        </ns:Profiles>
                    </ns:ResGuest>
                </ns:ResGuests>
                <ns:ResGlobalInfo>
                    <ns:DepositPayments>
                        <ns:GuaranteePayment>
                            <ns:AcceptedPayments>
                                <!-- for PaymentCard Payment,  -->
                                <ns:AcceptedPayment>
                                    <ns:PaymentCard CardCode="VS" CardType="Visa" ExpireDate="0330" SecureInd="true">
                                        <ns:CardHolderName>G.K. Testerson</ns:CardHolderName>
                                        <ns:CardNumber>
                                            <ns:PlainText>4917610000000000</ns:PlainText>
                                        </ns:CardNumber>
                                        <!-- Card Number -->
                                        <ns:SeriesCode> 
                                            <ns:PlainText>737</ns:PlainText>
                                            <!-- CVV -->
                                                     
                                        </ns:SeriesCode>
                                    </ns:PaymentCard>
                                    <!-- data about amount and whether payment was already processed externally or WS is supposed to process it-->
                                   <ns:TPA_Extensions>
                                        <ns:PaymentProcessingDetails PaymentProcessed="false">
                                                </ns:PaymentProcessingDetails>
                                    </ns:TPA_Extensions>
                                </ns:AcceptedPayment>
                            </ns:AcceptedPayments>
                        </ns:GuaranteePayment>
                    </ns:DepositPayments>
                </ns:ResGlobalInfo>
            </ns:HotelReservation>
        </ns:HotelReservations>
    </ns:OTA_HotelResRQ>
</b:ProcessHotelReservation>
</soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRQ (Payment Not Accepted by Third Party, SHR to Process Payment and Points)

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:b="http://htng.org/2009B" xmlns:ns="http://www.opentravel.org/OTA/2003/05">
    <soapenv:Header>
        <b:HTNGHeader>
            <b:From>
                <b:systemId />
                <b:Credential>
                    <b:userName>AwesomeUsername</b:userName>
                    <b:password>TopSecretPassword</b:password>
                </b:Credential>
            </b:From>
            <b:To>
                <b:systemId />
            </b:To>
            <b:timestamp />
            <b:echoToken />
            <b:transactionId />
            <b:action />
        </b:HTNGHeader>
    </soapenv:Header>
    <soapenv:Body>
        <b:ProcessHotelReservation>
            <ns:OTA_HotelResRQ ResStatus="Book">
                <ns:POS>
                    <ns:Source>
                        <ns:RequestorID Type="1" ID="WEB" URL="data.windsurfercrs.com" ID_Context="WindSurfer" />
                        <ns:BookingChannel Type="GOO" />
                    </ns:Source>
                </ns:POS>
                <ns:HotelReservations>
                    <ns:HotelReservation>
                        <ns:RoomStays>
                            <ns:RoomStay>
                                <ns:RoomTypes>
                                    <ns:RoomType RoomTypeCode="DOUBLE" />
                                </ns:RoomTypes>
                                <ns:RatePlans>
                                    <ns:RatePlan RatePlanCode="RateDX10%RF" BookingCode="RateDX10%RF" />
                                </ns:RatePlans>
                                <ns:RoomRates>
                                    <ns:RoomRate NumberOfUnits="1" RoomTypeCode="DOUBLE" EffectiveDate="2022-12-28" ExpireDate="2022-12-29">
                                        <ns:Rates>
                                            <ns:Rate EffectiveDate="2022-12-28" ExpireDate="2022-12-29">
                                                <ns:Base AmountBeforeTax="95.02" AmountAfterTax="98.02" />
                                            </ns:Rate>
                                        </ns:Rates>
                                    </ns:RoomRate>
                                </ns:RoomRates>
                                <ns:GuestCounts>
                                    <ns:GuestCount AgeQualifyingCode="10" Count="1" />
                                </ns:GuestCounts>
                                <ns:TimeSpan Start="2022-12-28" End="2022-12-29" />
                                <ns:Guarantee GuaranteeCode="DX">
                        </ns:Guarantee>
                        <ns:Total AmountBeforeTax="85.02" AmountAfterTax="95.02" />
                        <ns:BasicPropertyInfo HotelCode="ADNSWSH" />
                    </ns:RoomStay>
                </ns:RoomStays>
                <ns:Services>
                    <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                        <ns:Price>
                            <ns:Base AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Base>
                            <ns:Total AmountAfterTax="110" AmountBeforeTax="90">
                                <ns:Taxes Amount="1" />
                            </ns:Total>
                        </ns:Price>
                        <ns:ServiceDetails>
                            <ns:TimeSpan Start="2022-12-26" />
                        </ns:ServiceDetails>
                    </ns:Service>
                </ns:Services>
                <ns:ResGuests>
                    <ns:ResGuest>
                        <ns:Profiles>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="1">
                                    <ns:Customer>
                                        <ns:PersonName>
                                            <ns:GivenName>Super Mario</ns:GivenName>
                                            <ns:Surname>Brother</ns:Surname>
                                        </ns:PersonName>
                                        <ns:Telephone PhoneNumber="2134567845" />
                                        <ns:Email>example@shr.global</ns:Email>
                                        <ns:Address>
                                            <ns:AddressLine>1234 Test Drive</ns:AddressLine>
                                            <ns:CityName>Testerville</ns:CityName>
                                            <ns:PostalCode>77058</ns:PostalCode>
                                            <ns:StateProv StateCode="TX">Texas</ns:StateProv>
                                            <ns:CountryName Code="US">United States</ns:CountryName>
                                        </ns:Address>
                                    </ns:Customer>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:Profile ProfileType="3">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName CompanyShortName="GSV" Code="GSV" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                            <ns:ProfileInfo>
                                <ns:UniqueID ID="123456" ID_Context="IATA" />
                                <ns:Profile ProfileType="4">
                                    <ns:CompanyInfo>
                                        <ns:CompanyName Code="123456" CodeContext="CRS" />
                                    </ns:CompanyInfo>
                                </ns:Profile>
                            </ns:ProfileInfo>
                        </ns:Profiles>
                    </ns:ResGuest>
                </ns:ResGuests>
                <ns:ResGlobalInfo>
                    <ns:DepositPayments>
                        <ns:GuaranteePayment>
                            <ns:AcceptedPayments>
                                <!-- for PaymentCard Payment,  -->
                                <ns:AcceptedPayment>
                                    <ns:PaymentCard CardCode="VS" CardType="Visa" ExpireDate="0330" SecureInd="true">
                                        <ns:CardHolderName>Cardholder McTesterson</ns:CardHolderName>
                                        <ns:CardNumber>
                                            <ns:PlainText>4917610000000000</ns:PlainText>
                                        </ns:CardNumber>
                                        <!-- Card Number -->
                                        <ns:SeriesCode> 
                                            <ns:PlainText>737</ns:PlainText>
                                            <!-- CVV -->
                                                     
                                        </ns:SeriesCode>
                                    </ns:PaymentCard>
                                    <!-- data about amount and whether payment was already processed externally or WS is supposed to process it-->
                                   <ns:TPA_Extensions>
                                        <ns:PaymentProcessingDetails PaymentProcessed="false">
                                                </ns:PaymentProcessingDetails>
                                    </ns:TPA_Extensions>
                                </ns:AcceptedPayment>
                            </ns:AcceptedPayments>
                        </ns:GuaranteePayment>
                    </ns:DepositPayments>
                </ns:ResGlobalInfo>
            </ns:HotelReservation>
        </ns:HotelReservations>
    </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRS Elements & Attributes

...