Page 31 - demo demito
P. 31
prepare – return details of the selected booking and calculate the cancellation charge due, but does not cancel the booking
confirm – go ahead and cancel the booking
<DetailLevel> Enum (optional)
Two-valued text enumeration overriding the level of detail to return
summary – return all IDs, the arrival date and number of nights stayed and the first guest name; this is the default for <CommitLevel> confirm
full – return all booking information; this is the default for <CommitLevel> prepare
Result:
<BookingCancelResult>
<CommitLevel>
<Booking>
</BookingCancelResult>
<CommitLevel>
Enum Indicates the commit level with which the cancellation was performed
<Booking>
Complex
A booking structure, containing details of the booking to cancel.
This may be either a short summary or full details depending upon the query mode and result detail override.
The booking details, and in particular the booking status fields, will appear the same regardless of the specified CommitLevel.
Therefore if the CommitLevel was set to prepare then the booking will appear as if cancelled, although it will not have been modified in reality.
You can generally cancel a booking any time before arrival, but there may be a cancellation fee to pay.
E.g. to perform a dry-run cancellation of roomsXML booking Id 3000:
<BookingCancel>
<Authority>
<Org>\[Your login organisation\]</Org>
roomsXML.com API Specifications
Page 31 of 36