BookingDetail
BookingDetail contains booking level data returned by providers.
Resulting booking status.
Possible values: [BOOK_STATUS_TYPE_OK, BOOK_STATUS_TYPE_KO, BOOK_STATUS_TYPE_ON_REQUEST, BOOK_STATUS_TYPE_CANCELLED, BOOK_STATUS_TYPE_UNKNOWN, BOOK_STATUS_TYPE_PENDING_COMMIT]
reference object
Booking references across aggregator, client and provider.
Booking identifier generated by the aggregator.
Client reference supplied during booking.
Provider booking reference.
Confirmation reference communicated to travellers.
Supplier code responsible for billing the booking.
price object
Final price associated with the booking.
Indicates whether the price is binding or subject to change.
Recommended selling price.
Net cost injected by the provider.
ISO 4217 currency code for the price amounts.
remarks object[]
Remarks from the provider related to the booking.
Type identifier that categorises the value.
Associated value.
rooms object[]
Rooms confirmed as part of the booking.
Occupancy reference associated with the room.
Provider room code.
Descriptive room name.
Provider confirmation reference for the room.
{
"status": "BOOK_STATUS_TYPE_OK",
"reference": {
"bookingID": "string",
"clientReference": "string",
"providerReference": "string",
"confirmationReference": "string"
},
"billingSupplierCode": "string",
"price": {
"binding": true,
"suggested": 0,
"net": 0,
"currency": "string"
},
"remarks": [
{
"type": "string",
"value": "string"
}
],
"rooms": [
{
"occupancyRefId": 0,
"code": "string",
"description": "string",
"confirmationReference": "string"
}
]
}