Response

The response when updating a booking in the supplier system

BookingUpdateRequest Example Response

<?xml version="1.0" encoding="UTF-8"?>
<BookingUpdateResponse 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>
	<TransactionStatus>
		<Status>CONFIRMED</Status>
	</TransactionStatus>
	<SupplierConfirmationNumber>1635213</SupplierConfirmationNumber>
</BookingUpdateResponse>

Booking Update Response Fields

XML Node

Parent Node

Description

BookingUpdateResponse

N/A

Root XML node

API Key

BookingUpdateResponse

Your Unique API Key

ResellerId

BookingUpdateResponse

Your Unique Reseller Id

SupplierId

BookingUpdateResponse

String representing the unique supplier ID within the Zaui Marketplace

ExternalReference

BookingUpdateResponse

String representing a unique transaction ID. Used to identify your original request

TimeStamp

BookingUpdateResponse

Time of creation of request

• yyyy-MMddTHH:mm:ss.SSSZ(in UTC time)

or

• yyyy-MMddTHH:mm:ss.SSS[+/- ]hh:mm

Example:

2020-04- 28T13:10:12.123Z (UTC time)

2020-04- 28T13:10:12.123+10:00

RequestStatus

BookingUpdateResponse

Request status root XML element

Status

RequestStatus

Status value for the request. Values are:

• Success

• Error

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

BookingUpdateResponse

String containing the unique booking reference from your system

TransactionStatus

BookingUpdateResponse

Root node that holds data on the transaction

Status

TransactionStatus

Status of the transition. Options are:

• CONFIRMED

• REJECTED

RejectionReasonDetails

TransactionStatus

Extended details on the transaction rejection

RejectionReason

TransactionStatus

Reason transaction was rejected. Options are:

• NOT_OPERATING - Tour is not operating on the date for which the booking was made.

• OTHER - Any other reason. Details must be provided in RejectionReasonDetails

SupplierConfirmationNumber

BookingUpdateResponse

String holding the unique supplier confirmation number. This number must be used on subsequent booking API calls, such as amend, cancel

NOTE: the supplier confirmation number must be the number of the original booking request

Last updated