Versions Compared

Key

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

...

Code Block
languagexml
titleUse case 1: OTA_HotelRatePlanNotifRQ for occupancy-based pricing
<OTA_HotelRatePlanNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentravel.org/OTA/2003/05" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRQ" Version="1.000">
  <POS>
    <Source>
      <RequestorID ID="MASTERUSERNAME" MessagePassword="MASTERPASSWORD" Type="13"></RequestorID>
    </Source>
  </POS>
  <RatePlans HotelCode="HOTELCODE">
    <RatePlan RatePlanCode="00P551924536469f">
      <Rates>
        <Rate InvTypeCode="00P5519245316dc1" Start="2015-10-26" End="2015-10-31">
          <BaseByGuestAmts>
            <BaseByGuestAmt AmountAfterTax="38.00" DecimalPlaces="2" NumberOfGuests="1" CurrencyCode="CHF" AgeQualifyingCode="10" />
            <BaseByGuestAmt AmountAfterTax="45.00" DecimalPlaces="2" NumberOfGuests="2" CurrencyCode="CHF" AgeQualifyingCode="10" />
            <BaseByGuestAmt AmountAfterTax="52.00" DecimalPlaces="2" NumberOfGuests="3" CurrencyCode="CHF" AgeQualifyingCode="10" />
          </BaseByGuestAmts>
        </Rate>
      </Rates>
    </RatePlan>
  </RatePlans>
</OTA_HotelRatePlanNotifRQ>

...

Name
Mandatory
Description
AmountAfterTax / AmountBeforeTaxYesThe new price to apply on the online booking system
DecimalPlacesYesThe number of decimal places that have been transferred with the price
NumberOfGuestsNoThe occupancy for which the transmitted price applies
CurrencyCodeYesThe currency in which the price has been transmitted
AgeQualifyingCodeNoSeeĀ Age Qualifying Code (AQC) definitions

Child elements: None


Note
titleNumberOfGuests attribute
When occupancy-based pricing is used by the online booking system, the NumberOfGuests attribute will be transferred in order to provided. Should room-based pricing be used then no NumberOfGuests attribute will be transferred.

...