Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Channel Manager Hotel Rate Amount Notify Request is sent by a Channel Manager to Client's API to update information about a room rate for a guest and rate for extra beds for additional guests in the room.

OTA_HotelRateAmountNotifRQ/RateAmountMessages*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

HotelCode*

string (1 - 64)

Identifies a specific hotel in a Client's API system.

1...1

HotelCodeContext*

string

Describes a context where the hotel code is taken, identifier of a Client's API.

1...1

RateAmountMessage*

Describes prices for room and rate plan for a specified period.

1...*

RateAmountMessage/StatusApplicationControl*

Contains values of time period when a room is available, as well as identifiers of a specific room.

1...1

Start*

yyyy-mm-dd

Indicates a start of the time when particular rates are applied to a room.

1...1

End*

yyyy-mm-dd

Indicates an end of the time when particular rates are applied to a room.

1...1

RatePlanCode*

string (1 - 64)

Specifies a rate plan code of a room.

1...1

InvTypeCode*

string (1 - 16)

Contains a RoomTypeCode of a room.

1...1

RateAmountMessage/Rates/Rate

Includes main info about prices for particular type of pax.

0...1

RateAmountMessage/Rates/Rate/BaseByGuestAmts/BaseByGuestAmt*

Contains rate information that is applied for main guests in the reservation (not extra-beds).

1...*

AgeQualifyingCode*

For more information see Common Data Description section in Glossary.

1...1

AmountAfterTax*

decimal

Indicates the price for a room for each night in the timespan, starting from a Start date (including) and ending with an End date (including). The currency is not set as it is configured in the Client's API side.

1...1

RateAmountMessage/Rates/Rate/AdditionalGuestAmounts/AdditionalGuestAmount

Contains rates for extra beds in a room.

0...*

Amount*

decimal

Defines the price for an extra bed for a particular guest type. The price is for one night in the timespan, starting from a Start date (including) and ending with an End date (including). The currency is not set as it is configured in the Client's API side.

1...1

AgeQualifyingCode*

For more information see Common Data Description section in Glossary.

1...1

 Channel Manager Hotel Rate Amount Notify Request Sample XML
<OTA_HotelRateAmountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
  <POS>
    <Source>
      <RequestorID ID="gpts" MessagePassword="test" Type="22"/>
      <BookingChannel PriceDomain="1" Type="7"/>
    </Source>
  </POS>
  <RateAmountMessages HotelCode="9105431" HotelCodeContext="gptsapi">
    <RateAmountMessage>
      <StatusApplicationControl End="2018-09-11" InvTypeCode="2434085.2434084" RatePlanCode="2434100.2434089" Start="2018-09-01"/>
      <Rates>
        <Rate>
          <BaseByGuestAmts>
            <BaseByGuestAmt AgeQualifyingCode="10" AmountAfterTax="200.00"/>
          </BaseByGuestAmts>
          <AdditionalGuestAmounts>
            <AdditionalGuestAmount AgeQualifyingCode="10" Amount="80"/>
            <AdditionalGuestAmount AgeQualifyingCode="8" Amount="40"/>
          </AdditionalGuestAmounts>
        </Rate>
      </Rates>
    </RateAmountMessage>
  </RateAmountMessages>
</OTA_HotelRateAmountNotifRQ>
  • No labels