5. Canellation

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>
  <event-cancel id="dv.1234">
    <cancellation-reason>Test Cancellation</cancellation-reason>
  </hotel-cancel>
</request>
Parameter Type Comments
event-cancel @idstringthe reservation id as returned on the booking response
event-cancel/cancellation-reasonnodethe reason why this booking is cancelled

Cancellation response
<?xml version="1.0"?> <response success="1" session="dv.1234"> <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