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

« Previous Version 4 Current »

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.

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

 Cancellation Initiate Request Sample XML
<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>
 Multibooking Cancellation Initiate Request Sample XML
<OTA_CancelRQ CancelType="Initiate" EchoToken="tok1" PrimaryLangID="en" Version="2" xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <POS>
      <Source>
         <RequestorID ID="cla" MessagePassword="pwa" Type="22"/>
         <BookingChannel Type="7"/>
      </Source>
   </POS>
   <UniqueID ID="basket1" ID_Context="basket" Type="10"/>
</OTA_CancelRQ>

  • No labels