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>
<transfers-cancel id="dv.1234">
<cancellation-reason>I don't like yellow cars</cancellation-reason>
</transfers-cancel>
</request>
Parameter | Type | Comments | transfers-cancel @id | string | the reservation id as returned on the booking response | transfers-cancel/cancellation-reason | node | the reason why this booking is cancelled (you can leave it empty) |
Cancellation response <?xml version="1.0"?>
<response success="1" session="dv.1234">
<cancellation status="cancelled">
<remarks />
</cancellation>
</response>
Parameter | Type | Comments | cancellation @status | string | the status of the reservation. if it is not returned as "cancelled" - it is NOT cancelled | cancellation/remarks | node | remarks to be displayed to your customer regarding this cancellation |
|
|
|