The cancellation process has two steps
PreCancel
Cancel
To cancel a booking requires the PreCancel call followed by the Cancel call.
The precancel call returns the cancellation cost for the booking and a cancellation token required to validate the cancel call.
The structure of the XML will be:
The structure of the XML will be:
The cancel call allows a booking to be cancelled using the cancellation token returned in the precancel response.
The structure of the XML will be:
The structure of the XML will be:
<PreCancelRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<BookingReference>1000623</BookingReference>
</PreCancelRequest>
<PreCancelResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions/>
</ReturnStatus>
<BookingReference>1000623</BookingReference>
<CancellationCost>50.00</CancellationCost>
<CancellationToken>J7H7G55go9J76fge4=</CancellationToken>
</PreCancelResponse>
<CancelRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<BookingReference>1000623</BookingReference>
<CancellationCost></CancellationCost>
<CancellationToken>J7H7G55go9J76fge4=</CancellationToken>
</CancelRequest>
<CancelResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions/>
</ReturnStatus>
</CancelResponse>