Versions Compared

Key

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

...

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_HotelResNotifRQ (Payment Accepted by Third Party, SHR to Redeem 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>AmazingUsername</b:userName>
                    <b:password>MagicalPassword</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-24" ExpireDate="2022-12-25">
                                        <ns:Rates>
                                            <ns:Rate EffectiveDate="2022-12-24" ExpireDate="2022-12-25">
                                                <ns:Base AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                            </ns:Rate>
                                        </ns:Rates>
                                    </ns:RoomRate>
                                </ns:RoomRates>
                                <ns:GuestCounts>
                                    <ns:GuestCount AgeQualifyingCode="10" Count="1" />
                                </ns:GuestCounts>
                                <ns:TimeSpan Start="2022-12-24" End="2022-12-25" />
                                <ns:Guarantee GuaranteeCode="DX">
                                </ns:Guarantee>
                                <ns:Total AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                <ns:BasicPropertyInfo HotelCode="EXAMPLE"/>
                            </ns:RoomStay>
                        </ns:RoomStays>
                        <ns:Services>
                            <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                                <ns:Price>
                                    <ns:Base AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Base>
                                    <ns:Total AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Total>
                                </ns:Price>
                                <ns:ServiceDetails>
                                    <ns:TimeSpan Start="2022-11-24" />
                                </ns:ServiceDetails>
                            </ns:Service>
                        </ns:Services>
                        <ns:ResGuests>
                            <ns:ResGuest>
                                <ns:Profiles>
                                    <ns:ProfileInfo>
                                        <ns:Profile ProfileType="1">
                                            <ns:Customer>
                                                <ns:PersonName>
                                                    <ns:GivenName>Princess</ns:GivenName>
                                                    <ns:Surname>Peach</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>77027</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>Test user</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="400" MerchantReference="tedtu895ttg5oo" PspReference="iokluyj444587tyu6y">
                                                </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                        <!-- for Loyalty Points Payment,  -->
                                        <ns:AcceptedPayment>
                                            <ns:LoyaltyRedemption RedemptionQuantity="200" 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="100" PaymentProcessed="true" LoyaltyTransactionCode="7yyhh8hhuunuhj" >
                                                    </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>

OTA_HotelResNotifRQ (Payment Processed by Third Party, SHR to Redeem Points, Masked Card)

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>FantasticUsername</b:userName>
                    <b:password>MarvelousPassword</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-11-30">
                                                <ns:Base AmountBeforeTax="90.02" AmountAfterTax="90.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:Guarantee>
                                <ns:Total AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                <ns:BasicPropertyInfo HotelCode="USE PROVIDED HOTEL CODE FOR TESTING"/>
                            </ns:RoomStay>
                        </ns:RoomStays>
                        <ns:Services>
                            <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                                <ns:Price>
                                    <ns:Base AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Base>
                                    <ns:Total AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Total>
                                </ns:Price>
                                <ns:ServiceDetails>
                                    <ns:TimeSpan Start="2022-11-24" />
                                </ns:ServiceDetails>
                            </ns:Service>
                        </ns:Services>
                        <ns:ResGuests>
                            <ns:ResGuest>
                                <ns:Profiles>
                                    <ns:ProfileInfo>
                                        <ns:Profile ProfileType="1">
                                            <ns:Customer>
                                                <ns:PersonName>
                                                    <ns:GivenName>Bob</ns:GivenName>
                                                    <ns:Surname>Forapples</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>77027</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>Patty O'Furniture</ns:CardHolderName>
                                                <ns:CardNumber MaskedCardNumber="xxxxxxxxxxxx0000" Token="n33e1ao17u379099" TokenProviderID="AdyenV2"/>
                                            </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="500" MerchantReference="thhyf895ttg5oo" PspReference="ii36dj444587tyu6y">
                                                </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                        <!-- for Loyalty Points Payment,  -->
                                        <ns:AcceptedPayment>
                                            <ns:LoyaltyRedemption RedemptionQuantity="100" 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="100" PaymentProcessed="true" LoyaltyTransactionCode="7yyhh8ghjh8gdfuhj" >
                                                    </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 (Modify Reservation, Payment Processed by Third Party, SHR to Redeem 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>Username</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="Modify">
                <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-11-30">
                                                <ns:Base AmountBeforeTax="90.02" AmountAfterTax="90.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:Guarantee>
                                <ns:Total AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                <ns:BasicPropertyInfo HotelCode="USE PROVIDED HOTEL CODE FOR TESTING"/>
                            </ns:RoomStay>
                        </ns:RoomStays>
                        <ns:Services>
                            <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                                <ns:Price>
                                    <ns:Base AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Base>
                                    <ns:Total AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Total>
                                </ns:Price>
                                <ns:ServiceDetails>
                                    <ns:TimeSpan Start="2022-11-24" />
                                </ns:ServiceDetails>
                            </ns:Service>
                        </ns:Services>
                        <ns:ResGuests>
                            <ns:ResGuest>
                                <ns:Profiles>
                                    <ns:ProfileInfo>
                                        <ns:Profile ProfileType="1">
                                            <ns:Customer>
                                                <ns:PersonName>
                                                    <ns:GivenName>Ebeneezer</ns:GivenName>
                                                    <ns:Surname>Scrooge</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>77027</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>Test user</ns:CardHolderName>
                                                <ns:CardNumber MaskedCardNumber="xxxxxxxxxxxx0000" Token="n33e1ao17u379099" TokenProviderID="AdyenV2"/>
                                            </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="400" MerchantReference="thhyf895ttg5oo" PspReference="oi36dj444fftyu6y">
                                                </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                        <!-- for Loyalty Points 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="120" PaymentProcessed="true" LoyaltyTransactionCode="dyydjdjghjh8gdfuhj" >
                                                    </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                    </ns:AcceptedPayments>
                                </ns:GuaranteePayment>
                            </ns:DepositPayments>
                            <ns:HotelReservationIDs>
                                <ns:HotelReservationID ResID_Type="14" ResID_Value="SLSL7DVDP" />
                            </ns:HotelReservationIDs>
                        </ns:ResGlobalInfo>
                    </ns:HotelReservation>
                </ns:HotelReservations>
            </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRQ (Cancel Reservation, Payment Processed by Third Party, Points Redeemed by SHR, Masked Card)

Code Block
<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>username</b:userName>
                    <b:password>password</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="Cancel">
                <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-11-30">
                                                <ns:Base AmountBeforeTax="90.02" AmountAfterTax="90.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:Guarantee>
                                <ns:Total AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                <ns:BasicPropertyInfo HotelCode="USE PROVIDED HOTEL CODE FOR TESTING"/>
                            </ns:RoomStay>
                        </ns:RoomStays>
                        <ns:Services>
                            <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                                <ns:Price>
                                    <ns:Base AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Base>
                                    <ns:Total AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Total>
                                </ns:Price>
                                <ns:ServiceDetails>
                                    <ns:TimeSpan Start="2022-11-24" />
                                </ns:ServiceDetails>
                            </ns:Service>
                        </ns:Services>
                        <ns:ResGuests>
                            <ns:ResGuest>
                                <ns:Profiles>
                                    <ns:ProfileInfo>
                                        <ns:Profile ProfileType="1">
                                            <ns:Customer>
                                                <ns:PersonName>
                                                    <ns:GivenName>Koopa</ns:GivenName>
                                                    <ns:Surname>Troopa</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>77027</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>Koopa Troopa</ns:CardHolderName>
                                                <ns:CardNumber MaskedCardNumber="xxxxxxxxxxxx0000" Token="n33e1ao17u379099" TokenProviderID="AdyenV2"/>
                                            </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="400" MerchantReference="thhyf895ttg5oo" PspReference="oi36dj444fftyu6y">
                                                </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                        <!-- for Loyalty Points 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="120" PaymentProcessed="true" LoyaltyTransactionCode="dyydjdjghjh8gdfuhj" >
                                                    </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                    </ns:AcceptedPayments>
                                </ns:GuaranteePayment>
                            </ns:DepositPayments>
                            <ns:HotelReservationIDs>
                                <ns:HotelReservationID ResID_Type="14" ResID_Value="SLSL7DVDP" />
                            </ns:HotelReservationIDs>
                        </ns:ResGlobalInfo>
                    </ns:HotelReservation>
                </ns:HotelReservations>
            </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>

OTA_HotelResNotifRQ (Cancel Reservation, Payment Processed by Third Party, Points Redeemed by SHR, Plaintext Card)

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>EpicUsername</b:userName>
                    <b:password>MysteriousPassword</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="Cancel">
                <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-11-30">
                                                <ns:Base AmountBeforeTax="90.02" AmountAfterTax="90.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:Guarantee>
                                <ns:Total AmountBeforeTax="90.02" AmountAfterTax="90.02" />
                                <ns:BasicPropertyInfo HotelCode="VH06"/>
                            </ns:RoomStay>
                        </ns:RoomStays>
                        <ns:Services>
                            <ns:Service Quantity="1" Inclusive="false" ServiceInventoryCode="" ServiceRPH="">
                                <ns:Price>
                                    <ns:Base AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Base>
                                    <ns:Total AmountAfterTax="11" AmountBeforeTax="10">
                                        <ns:Taxes Amount="1" />
                                    </ns:Total>
                                </ns:Price>
                                <ns:ServiceDetails>
                                    <ns:TimeSpan Start="2022-11-24" />
                                </ns:ServiceDetails>
                            </ns:Service>
                        </ns:Services>
                        <ns:ResGuests>
                            <ns:ResGuest>
                                <ns:Profiles>
                                    <ns:ProfileInfo>
                                        <ns:Profile ProfileType="1">
                                            <ns:Customer>
                                                <ns:PersonName>
                                                    <ns:GivenName>Orville</ns:GivenName>
                                                    <ns:Surname>Wright</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>77027</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>Orville Wright</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="400" MerchantReference="5f5e4ffjhfehfffe" PspReference="oi3fkll444fftyu6y">
                                                </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                        <!-- for Loyalty Points Payment,  -->
                                        <ns:AcceptedPayment>
                                            <ns:LoyaltyRedemption RedemptionQuantity="210" 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="210" PaymentProcessed="true" LoyaltyTransactionCode="fjfjefkhjh8gdfuhj" >
                                                    </ns:PaymentProcessingDetails>
                                            </ns:TPA_Extensions>
                                        </ns:AcceptedPayment>
                                    </ns:AcceptedPayments>
                                </ns:GuaranteePayment>
                            </ns:DepositPayments>
                            <ns:HotelReservationIDs>
                                <ns:HotelReservationID ResID_Type="14" ResID_Value="SLSL7DVD9" />
                            </ns:HotelReservationIDs>
                        </ns:ResGlobalInfo>
                    </ns:HotelReservation>
                </ns:HotelReservations>
            </ns:OTA_HotelResRQ>
        </b:ProcessHotelReservation>
    </soapenv:Body>
</soapenv:Envelope>
</soapenv:Envelope>

OTA_HotelResNotifRS Elements & Attributes

...