Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

Overview

The OTA_HotelRateAmountNotifRQ operation sends a notification that synchronizes the pricing for a rate in the IBE.

Request

Node / @Attribute

Quantity

Type

Description

OTA_HotelRateAmountNotifRQ

1

Root element

@TimeStamp

0..1

DateTime

ISO 8601 encoded timestamp indicating the creation date and time of the message

@Version

0..1

Decimal

The OpenTravel message version indicated by a decimal value

RateAmountMessages

1

A collection of RateAmountMessages that define the rate changes to be made

@HotelCode

1

String

The code that uniquely identifies a single hotel property

RateAmountMessage

1

RateAmountMessages that define the rate changes to be made

UniqueID

0..1

The unique identifier element allows the trading partners to uniquely identify each Rate being uploaded

@Type

1

Integer

A reference to the type of object defined by the UniqueID element.

@ID

1

String

A unique identifying value assigned by the creating system

@Instance

An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated

StatusApplicationControl

1

Information on what the RateAmountMessage Message applies to

@Start

1

Date

The starting value of the time span

@End

1

Date

The ending value of the time span

@RatePlanCode

1

String

A code that identifies the rate plan

@InvTypeCode

1

String

A code that identifies a room type

Rates

Rate

@Start

1

Date

The starting value of the time span

@End

1

Date

The ending value of the time span

@Mon

0..1

Boolean

When true, apply to Monday

@Tue

0..1

Boolean

When true, apply to Tuesday

@Weds

0..1

Boolean

When true, apply to Wedsneday

@Thur

0..1

Boolean

When true, apply to Thursday

@Fri

0..1

Boolean

When true, apply to Friday

@Sat

0..1

Boolean

When true, apply to Saturday

@Sun

0..1

Boolean

When true, apply to Sunday

BaseByGuestAmts

@NumberOfGuests

1

Decimal

The number of guests associated with this base charge

@AgeQualifyingCode

1

Decimal

Defines an age range or age category of a guest

AdditionalGuestAmounts

0..1

A collection of charges that apply to for additional occupants

AdditionalGuestAmount

1

Collection of incremental charges per age qualifying code for additional guests

@Amount

1

Decimal

The total amount not including any associated tax

@AgeQualifyingCode

1

Integer

Defines an age range or age category of a guest

Sample

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Header>
    <HTNGHeader xmlns="http://htng.org/1.1/Header/">
      <From>
        <systemId>API Debug</systemId>
        <Credential>
          <userName>martinmAPI</userName>
          <password>p76Tvmtsme</password>
        </Credential>
      </From>
      <To>
        <systemId>Convert5</systemId>
      </To>
      <echoToken>1717057639</echoToken>
    </HTNGHeader>
  </soap:Header>
  <soap:Body>
    <OTA_HotelRateAmountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" TimeStamp="2024-05-30T08:27:19" Version="1.0" EchoToken="1717057639">
      <RateAmountMessages HotelCode="1853">
        <RateAmountMessage>
          <StatusApplicationControl InvTypeCode="DBL" RatePlanCode="EXT1" Start="2024-05-30" End="2024-06-29"/>
          <Rates>
            <Rate>
              <BaseByGuestAmts>
                <BaseByGuestAmt AgeQualifyingCode="10" NumberOfGuests="1" AmountAfterTax="125.00"/>
                <BaseByGuestAmt AgeQualifyingCode="10" NumberOfGuests="2" AmountAfterTax="150.00"/>
              </BaseByGuestAmts>
              <AdditionalGuestAmounts>
                <AdditionalGuestAmount AgeQualifyingCode="10" Amount="20"/>
                <AdditionalGuestAmount AgeQualifyingCode="8" Amount="10"/>
              </AdditionalGuestAmounts>
            </Rate>
          </Rates>
        </RateAmountMessage>
      </RateAmountMessages>
    </OTA_HotelRateAmountNotifRQ>
  </soap:Body>
</soap:Envelope>

Response

Node / @Attribute

Quantity

Type

Description

OTA_HotelRateAmountNotifRS

1

Root element

@TimeStamp

0..1

DateTime

ISO 8601 encoded timestamp indicating the creation date and time of the message

@Version

0..1

Decimal

The OpenTravel message version indicated by a decimal value

Success

0..1

Indicates that the incoming request message was processed successfully

Erorrs

0..1

A collection of errors that occurred during the processing of a message

Warnings

0..1

A collection of warning that occurred during the processing of a message

Sample

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <soap:Header>
    <wsa:Action>OTA_HotelRateAmountNotifRS</wsa:Action>
  </soap:Header>
  <soap:Body>
    <OTA_HotelRateAmountNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.100" TimeStamp="2024-05-30T08:30:04Z">
      <Success/>
    </OTA_HotelRateAmountNotifRS>
  </soap:Body>
</soap:Envelope>

  • No labels