> For the complete documentation index, see [llms.txt](https://docs.zaui.com/io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zaui.com/io/api-function-definitions/booking/cancel/booking-cancel-response.md).

# Response

### Booking Cancel Response Fields

```markup
<?xml version="1.0" encoding="UTF-8"?>
<BookingCancelResponse xmlns="https://api.zaui.io/api/01">
	<ApiKey>xxxxxxxxxxxxxxxxxxxxxxx</ApiKey>
	<ResellerId>2005</ResellerId>
	<SupplierId>200</SupplierId>
	<ExternalReference>10051374722992616</ExternalReference>
	<Timestamp>1577121674745</Timestamp>
	<RequestStatus>
		<Status>SUCCESS</Status>
	</RequestStatus>
	<BookingReference>999999999</BookingReference>
	<SupplierConfirmationNumber>1635213</SupplierConfirmationNumber>
	<SupplierCancellationNumber>CANCEL78910</SupplierCancellationNumber>
<TransactionStatus>
 <Status>CONFIRMED</Status>
</TransactionStatus>
</BookingCancelResponse>
```

| XML Node                     | Parent Node             | Description                                                                                                                                                                                                                                                                                                                        |
| ---------------------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `BookingCancelResponse`      | N/A                     | Root XML node                                                                                                                                                                                                                                                                                                                      |
| `API Key`                    | `BookingCancelResponse` | Your Unique API Key                                                                                                                                                                                                                                                                                                                |
| `ResellerId`                 | `BookingCancelResponse` | Your Unique Reseller Id                                                                                                                                                                                                                                                                                                            |
| `SupplierId`                 | `BookingCancelResponse` | String representing the unique supplier ID within the Zaui Marketplace                                                                                                                                                                                                                                                             |
| `ExternalReference`          | `BookingCancelResponse` | String representing a unique transaction ID. Used to identify your original request                                                                                                                                                                                                                                                |
| `TimeStamp`                  | `BookingCancelResponse` | <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>                                                                                           |
| `RequestStatus`              | `BookingCancelResponse` | Request status root XML element                                                                                                                                                                                                                                                                                                    |
| `Status`                     | `RequestStatus`         | <p>Status value for the request. Values are:</p><p>• Success</p><p>• Error</p>                                                                                                                                                                                                                                                     |
| `Error`                      | `RequestStatus`         | Root node for the error details on a non-successful request                                                                                                                                                                                                                                                                        |
| `ErrorCode`                  | `Error`                 | String with the error code                                                                                                                                                                                                                                                                                                         |
| `ErrorMessage`               | `Error`                 | String with the error message                                                                                                                                                                                                                                                                                                      |
| `ErrorDetails`               | `Error`                 | String with additional details, and recommendation on the error                                                                                                                                                                                                                                                                    |
| `BookingReference`           | `BookingCancelResponse` | String containing the unique booking reference from your system                                                                                                                                                                                                                                                                    |
| `SupplierConfirmationNumber` | `BookingCancelResponse` | String holding the original unique supplier confirmation number                                                                                                                                                                                                                                                                    |
| `SupplierCancellationNumber` | `BookingCancelResponse` | String holding the unique cancellation number                                                                                                                                                                                                                                                                                      |
| `TransactionStatus`          | `BookingCancelResponse` | Root node that holds data on the transaction                                                                                                                                                                                                                                                                                       |
| `Status`                     | `TransactionStatus`     | <p>Status of the transition. Options are:</p><p>• CONFIRMED</p><p>• REJECTED</p>                                                                                                                                                                                                                                                   |
| `RejectionReasonDetails`     | `TransactionStatus`     | Extended details on the transaction rejection                                                                                                                                                                                                                                                                                      |
| `RejectionReason`            | `TransactionStatus`     | <p>Reason transaction was rejected. Options are: </p><p>• PAST\_CANCEL\_DATE - Allowed cancellation date is in the past.</p><p>• PAST\_TOUR\_DATE - Tour date is in the past. </p><p>• TOUR\_REDEEMED - Tour has already been redeemed. </p><p>• OTHER - Any other reason. Details must be provided in RejectionReasonDetails.</p> |
