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 Current »

Channel Manager Hotel Reservation Notify Response indicates whether Request went successfully or not based on the reply from Channel Manager.

OTA_HotelResNotifRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

ResResponseType

string ("Modified", "Committed", "Cancelled", "Unsuccessful")

Displays the status of reservation notify response. Possible values: “Modified”, “Cancelled”, “Committed” or “Unsuccessful” (in case of any error returns).

1...1

Success

For more information see Common Data Description section in Glossary.

Warnings/Warning

Errors/Error

HotelReservations/HotelReservation

Contains information about the reservation that are to be confirmed/modified/cancelled.

0...1

HotelReservations/HotelReservation/UniqueID

A unique identifier of a booking (order) in Client's API system.

1...1

ID

string (1 - 16)

Is equal to unique identifier of a booking (order) in Client's API system.

1...1

Type

integer (1)

Defines unique ID type and always set as "1".

1...1

HotelReservations/HotelReservation/ResGlobalInfo

Contains general details about the reservation.

1...1

HotelReservations/HotelReservation/ResGlobalInfo/HotelReservationIDs/HotelReservationID

Contains unique identifier of a booking.

1...*

ResID_Source

string ("client")

Defines a source where reservation is coming from and is always set to "client".

1...1

ResID_Value

string (1 - 64)

Displays unique reservation identifier returned by Channel Manager API.

1...1

 Channel Manager Reservation Notify Response Sample XML (Cancel)
<OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="21345" ResResponseType="Cancelled" Version="2.0">
  <Success/>
  <HotelReservations>
    <HotelReservation>
      <UniqueID ID="189-1" Type="1"/>
      <ResGlobalInfo>
        <HotelReservationIDs>
          <HotelReservationID ResID_Source="client" ResID_Value="LUX-189-1"/>
        </HotelReservationIDs>
      </ResGlobalInfo>
    </HotelReservation>
  </HotelReservations>
</OTA_HotelResNotifRS>
 Channel Manager Reservation Notify Response Sample XML (Confirmation)
<OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="21345" ResResponseType="Committed" Version="2.0">
  <Success/>
  <HotelReservations>
    <HotelReservation>
      <UniqueID ID="1716-1" Type="1"/>
      <ResGlobalInfo>
        <HotelReservationIDs>
          <HotelReservationID ResID_Source="client" ResID_Value="LUX-1716-1"/>
        </HotelReservationIDs>
      </ResGlobalInfo>
    </HotelReservation>
  </HotelReservations>
</OTA_HotelResNotifRS>
  • No labels