Mishor 4 Documentation‎ > ‎5. API Methods‎ > ‎4. Cars‎ > ‎

5. 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>
  <cars-cancel id="h1.1234">
    <cancellation-reason>I really need to cancel</cancellation-reason>
  </cars-cancel>
</request>
Parameter Type Comments
car-cancel @idstringthe reservation id as returned on the booking response
car-cancel/cancellation-reasonnodethe reason why this booking is cancelled

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