# Request

### Booking Cancel Example

```markup
<?xml version="1.0" encoding="UTF-8"?>
<BookingCancelRequest xmlns="https://api.zaui.io/api/01">
	<ApiKey>xxxxxxxxxxxxxxxxxxxxxxx</ApiKey>
	<ResellerId>2005</ResellerId>
	<SupplierId>200</SupplierId>
	<ExternalReference>10051374722992616</ExternalReference>
	<Timestamp>1577121674745</Timestamp>
	<BookingReference>999999999</BookingReference>
	<SupplierConfirmationNumber>1635213</SupplierConfirmationNumber>
	<CancelDate>2020-10-21</CancelDate>
 	<Author>Customer Service</Author>
	<Reason>No longer traveling</Reason>
	<SupplierNote>Refunded Customer</SupplierNote>
</BookingCancelRequest>
```

### Booking Cancel Request Fields

The booking cancellation request allows your implementation to cancel previously made bookings, successfully created through your implementation, directly into the supplier system.&#x20;

| XML Node                     | Parent Node            | Description                                                                                                                                                                                                                              | Optionality |
| ---------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `BookingCancelRequest`       |                        | Root XML node                                                                                                                                                                                                                            | Mandatory   |
| `API Key`                    | `BookingCancelRequest` | Your Unique API Key                                                                                                                                                                                                                      | Mandatory   |
| `ResellerId`                 | `BookingCancelRequest` | Your Unique Reseller Id                                                                                                                                                                                                                  | Mandatory   |
| `SupplierId`                 | `BookingCancelRequest` | String representing the unique supplier ID within the Zaui Marketplace                                                                                                                                                                   | Mandatory   |
| `ExternalReference`          | `BookingCancelRequest` | String representing a unique transaction ID. Used to identify your original request.                                                                                                                                                     | Optional    |
| `TimeStamp`                  | `BookingCancelRequest` | <p>Time of creation of request </p><p>• yyyy-MMddTHH:mm:ss.SSSZ(in UTC time)</p><p> or </p><p>• yyyy-MMddTHH:mm:ss.SSS\[+/- ]hh:mm </p><p>Example: </p><p>2020-04- 28T13:10:12.123Z (UTC time) </p><p>2020-04- 28T13:10:12.123+10:00</p> | Mandatory   |
| `BookingReference`           | `BookingCancelRequest` | Unique booking reference- used to identify the booking and perform a cancellation if necessary                                                                                                                                           | Mandatory   |
| `SupplierConfirmationNumber` | `BookingCancelRequest` | String that holds the unique supplier confirmation number. The SupplierConfirmationNumber is used in all subsequent request pertaining to the booking, and must be stored in your implementation                                         | Mandatory   |
| `CancelDate`                 | `BookingCancelRequest` | Date the cancellation was made. Must be in the format YYYY-MMDD                                                                                                                                                                          | Mandatory   |
| `Author`                     | `BookingCancelRequest` | String holding the name of the user who made the cancellation                                                                                                                                                                            | Mandatory   |
| `Reason`                     | `BookingCancelRequest` | String holding the reason for cancellation                                                                                                                                                                                               | Mandatory   |
| `SupplierNote`               | `BookingCancelRequest` | String holding any additional notes about the cancellation                                                                                                                                                                               | Mandatory   |

###
