This article will take you through the elements of a Booking Cancel Request and Response.
The Booking Cancel request allows you to cancel a specific online booking.
| Element Name | Element Description | Attributes | Required | |
|---|---|---|---|---|
| RMSBookingCancelRQ | Root element. Containing the request for a booking cancellation. | Yes | ||
| AgentId | RMSBookingCancelRQ | The agent code of the RMS agent enquiring. | Yes | |
| RMSClientId | RMSBookingCancelRQ | The RMS Client Id of the property being searched. | Yes | |
| BookingReference | RMSBookingCancelRQ | The RMS Booking ID of the booking to cancel. | Yes | |
| Test | RMSBookingCancelRQ | If this element is present, the booking will be cancelled from the training database of the requesting property. | No |
<RMSBookingCancelRQ>
<AgentId>1</AgentId>
<RMSClientId>3038</RMSClientId>
<BookingReference>1897119</BookingReference>
</RMSBookingCancelRQ>
| Element Name | Parent Element | Element Description | Attributes |
|---|---|---|---|
| RMSBookingCancelRS | Root element. Containing the response for a booking cancellation. | ||
| Success | RMSBookingCancelRS | The element returned if cancellation was successful. | |
| Error | RMSBookingCancelRS | The element returned if cancellation was unsuccessful. | |
| Id | Error | The Id of the error. | |
| Message | Error | The description of the error. |
<RMSBookingCancelRS>
<Success />
</RMSBookingCancelRS>
<RMSBookingCancelRS>
<Error>
<Id>-601</Id>
<Message>Error Message.</Message>
</Error>
|</RMSBookingCancelRS>