6. Cancellation

In order to cancel a confirmed booking you will need to send the following request
Cancellation request
<request version="4.0">
  <auth>
    <username>example</username>
    <password>example</password>
    <agent>example</agent>
  </auth>
  <hotel-cancel id="dv.Uw9DWaxu0A">
    <cancellation-reason>Test Cancellation</cancellation-reason>
  </hotel-cancel>
</request>
Parameter Type Comments
hotel-cancel @idstringthe reservation id as returned on the booking response
hotel-cancel/cancellation-reasonnodethe reason why this booking is cancelled

Cancellation response
<?xml version="1.0"?> <response success="1" session="dv.Um0EGZgbMA"> <cancellation status="cancelled"> <remarks /> </cancellation> </response>
Parameter Type Comments
cancellation @statusstringthe status of the reservation. if it is not returned as "cancelled" - it is NOT cancelled
cancellation/remarksnoderemarks to be displayed to your customer regarding this cancellation

Comments