Versions Compared

Key

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

Cancellation Initiate Request is sent before actual cancellation to check the possibility of booking cancellation. This is not real cancellation yet, but just a quote.

Info

Important note: In case of Multibooking reservation it is possible to cancel only all room reservations, not one room separately.

OTA_CancelRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

CancelType*

string ("Initiate")

Must be "Initiate" for that step.

1...1

RequestedCurrency

For more information see Common Data Description section in Glossary.

1...1

PrimaryLangID

0...1

UniqueID*

1...*

ID*

string

Should be the value of ResID_Value attribute from HotelReservationID element where ResID_Source="client".

1...1

ID_Context*

string ("client", "basket")

"Client" - in case of cancelling one room reservation.

“Basket“ - in case of cancelling multi-room reservation.

1...1

Type*

integer (10)

Must always be "10".

1...1

Expand
titleCancellation Initiate Request Sample XML
Code Block
languagexml
<OTA_CancelRQ CancelType="Initiate" EchoToken="tok1" PrimaryLangID="en" Version="2">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7" PriceDomain="1"/>
      </Source>
   </POS>
   <UniqueID ID="264888" ID_Context="client" Type="10"/>
</OTA_CancelRQ>

...