Skip to main content

CheckBookingsRs

Represents the response for checking hotel bookings. This response includes detailed booking information, advice messages, and any additional metadata provided by the supplier.

Properties

NameTypeDescription
AuditDataProviderAuditProvides detailed audit data for the supplier transactions, including request and response logs.
AuditData/RequestArray<ProviderAuditRq>Collection of audit entries for provider requests.Each entry contains details about a specific request made to the provider.
AuditData/Request/SendAtStringThe timestamp indicating when the request was sent.
AuditData/Request/DataStringThe payload data included in the request.
AuditData/Request/UrlStringThe URL of the provider endpoint to which the request is sent.
AuditData/Request/HeadersObjectA collection of headers included in the request.
AuditData/Request/HttpMethodHttpMethodThe HTTP method used to send the request.
AuditData/Request/HttpMethod
Method
StringNo description available.
AuditData/ResponseArray<ProviderAuditRs>Collection of audit entries for provider responses.Each entry contains details about a specific response received from the provider.
AuditData/Response/ReceivedAtStringThe timestamp indicating when the response was received.
AuditData/Response/DataStringThe payload data contained in the provider's response.
AuditData/Response/HeadersObjectA collection of headers included in the provider's response.
AuditData/Response/StatusCodeIntegerThe HTTP status code returned by the provider.
AdviseMessagesArray<AdviseMessage>A collection of advice messages generated during the booking check operation.
AdviseMessages/CodeAdviseMessageCodeGets the code that represents the message type.
AdviseMessages/LevelAdviseMessageLevelGets the severity level of the message (e.g., Error, Warning, or Info).
AdviseMessages/DescriptionStringGets the message description providing additional context.
AdviseMessages/CorrelationIdStringGets a unique identifier for correlating the message with specific operations.
AdviseMessages/ExternalExternalGets additional external details associated with the message.
AdviseMessages/External/CodeStringThe supplier's internal code for identifying the nature of the response or error.
AdviseMessages/External
Message
StringA descriptive message returned by the supplier.
AdviseMessages/External
HttpStatusCode
IntegerThe HTTP status code of the supplier's response.
BookingsArray<BookDetails>A list of detailed booking information retrieved during the operation.
Bookings/StatusBookStatusThe current status of the booking.
Bookings/ReferenceReferenceA collection of locators that identify the booking.
Bookings/Reference
ClientLocator
StringThe booking locator provided by the client.This is typically used to match the booking in the client's internal systems.
Bookings/Reference
SupplierLocator
StringThe booking locator provided by the supplier.This identifier is used to reference the booking in the supplier's system.
Bookings/Reference
HotelLocator
StringThe booking locator specific to the hotel, provided by the supplier. (Optional)This may be required in cases where the hotel system uses its own unique identifiers.
Bookings/HolderHolderThe personal details of the booking holder.
Bookings/Holder/NameStringThe name of the holder.
Bookings/Holder/SurNameStringThe surname of the holder.
Bookings/Holder
PersonalTitleType
PersonalTitleTypeThe personal title type of the holder.
Bookings/Holder/ContactInfoContactInfoThe contact information of the holder.
Bookings/Holder/ContactInfo
Email
StringThe email address of the passenger.
Bookings/Holder/ContactInfo
Phone
StringThe phone number of the passenger.
Bookings/HotelHotelDetailThe hotel details associated with the booking.
Bookings/Hotel/BookingDateStringThe date when the booking was created.
Bookings/Hotel/CheckInStringThe check-in date for the booking.
Bookings/Hotel/CheckOutStringThe check-out date for the booking.
Bookings/Hotel
CheckInAsDateTime
StringThe check-in date as a DateTime object.
Bookings/Hotel
CheckOutAsDateTime
StringThe check-out date as a DateTime object.
Bookings/Hotel/HotelCodeStringThe unique code identifying the hotel.
Bookings/Hotel/HotelNameStringThe name of the hotel associated with the booking.
Bookings/Hotel/BoardCodeStringThe board code for the booking.
Bookings/Hotel/OccupanciesArray<BookOccupancy>The collection of occupancies associated with the booking.
Bookings/Hotel/Occupancies
OccupancyId
IntegerThe unique identifier for the occupancy.
Bookings/Hotel/Occupancies
Paxes
Array<BookPaxInput>The collection of passenger inputs (paxes) for the occupancy.
Bookings/Hotel/Occupancies
Paxes/Age
IntegerThe age of the passenger.
Bookings/Hotel/Occupancies
Paxes/Name
StringThe first name of the passenger.
Bookings/Hotel/Occupancies
Paxes/SurName
StringThe surname (last name) of the passenger.
Bookings/Hotel/Occupancies
Paxes/PersonalTitleType
PersonalTitleTypeThe personal title type of the passenger.
Bookings/Hotel/RoomsArray<Room>The collection of rooms included in the booking.
Bookings/Hotel/Rooms
OccupancyRefId
IntegerNumeric ID linking this room to its occupancy data in the Occupancy.
Bookings/Hotel/Rooms/CodeStringUnique code assigned to this room.
Bookings/Hotel/Rooms
Description
StringDescription of the room's features or characteristics.
Bookings/Hotel/Rooms/RoomPriceRoomPricePricing information for the room, including total price and currency details.
Bookings/Hotel/Rooms/RoomPrice
Price
PriceThe total price of the room.
Bookings/Hotel/Rooms/RoomPrice
Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Bookings/Hotel/Rooms/RoomPrice
Price/Binding
BooleanIndicates whether the price is binding.
Bookings/Hotel/Rooms/RoomPrice
Price/Net
DoubleThe net price paid by the buyer to the seller.
Bookings/Hotel/Rooms/RoomPrice
Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Bookings/Hotel/Rooms/RoomPrice
Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Bookings/Hotel/Rooms/RoomPrice
Price/MinimumSellingPrice
DoubleThe minimum selling price.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown
Array<PriceBreakdown>Breakdown of the room price over specific periods, such as daily rates.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price
PriceThe price for each day of the room during the specified period.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price/Binding
BooleanIndicates whether the price is binding.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price/Net
DoubleThe net price paid by the buyer to the seller.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price
NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/Start
IntegerThe starting day of the pricing period (inclusive).
Bookings/Hotel/Rooms/RoomPrice
PriceBreakdown/End
IntegerThe ending day of the pricing period (inclusive).
Bookings/Hotel/Rooms
Refundable
BooleanIndicates if the room is refundable based on the cancellation policy.
Bookings/Hotel/Rooms
RefundableSpecified
BooleanIndicates whether the refundable status has been explicitly specified.
Bookings/Hotel/Rooms
LegacyRoomId
StringLegacy identifier for internal tracking. Automatically generated using OccupancyRefId and Code.
Bookings/Hotel/Rooms/UnitsIntegerNumber of units available for this room type.
Bookings/Hotel/Rooms/RatePlanRatePlanRate plan associated with this room.
Bookings/Hotel/Rooms/RatePlan
Code
StringThe unique code for the rate plan.
Bookings/Hotel/Rooms/RatePlan
Name
StringThe name of the rate plan.
Bookings/Hotel/Rooms
Promotions
Array<Promotion>Promotions or discounts applicable to this room.
Bookings/Hotel/Rooms
Promotions/Code
StringThe unique code identifying the promotion.
Bookings/Hotel/Rooms
Promotions/Name
StringThe name of the promotion.
Bookings/Hotel/Rooms/RemarksArray<Remark>Additional remarks or notes about this room.
Bookings/Hotel/Rooms/Remarks
RemarkType
RemarkTypeThe type of the remark, categorized by RemarkType.This specifies the nature or purpose of the remark: Related to the hotel as a whole. Specific to the room being booked. Related to services provided by the accommodation. General remarks not tied to a specific entity.
Bookings/Hotel/Rooms/Remarks
Text
StringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
Bookings/Hotel/Rooms
Surcharges
Array<Surcharge>Additional surcharges applied to this room.
Bookings/Hotel/Rooms
Surcharges/ChargeType
ChargeTypeSpecifies whether the surcharge is included in the room rate or must be paid separately at the property. See ChargeType for possible values.
Bookings/Hotel/Rooms
Surcharges/Mandatory
BooleanIndicates whether this surcharge is mandatory. Mandatory surcharges, such as government taxes, must always be paid, while optional surcharges may depend on the guest's preferences.
Bookings/Hotel/Rooms
Surcharges/Description
StringProvides a description of the surcharge, giving context about the type of cost it represents.Examples: "Tourist Tax", "Resort Fee", or "Additional Bed Fee".
Bookings/Hotel/Rooms
Surcharges/Price
PriceRepresents the price of this surcharge, including the amount and currency. See Price for details about the price structure.
Bookings/Hotel/Rooms
Surcharges/Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Bookings/Hotel/Rooms
Surcharges/Price/Binding
BooleanIndicates whether the price is binding.
Bookings/Hotel/Rooms
Surcharges/Price/Net
DoubleThe net price paid by the buyer to the seller.
Bookings/Hotel/Rooms
Surcharges/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Bookings/Hotel/Rooms
Surcharges/Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Bookings/Hotel/Rooms
Surcharges/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Bookings/Hotel/Rooms
Surcharges/Code
StringAn optional code that uniquely identifies this surcharge for internal or external reference. This can be useful for tracking specific fees or integrating with supplier systems.
Bookings/Hotel/Rooms
CancelPolicy
CancelPolicyCancellation policy specific to this room.
Bookings/Hotel/Rooms
CancelPolicy/Refundable
BooleanIndicates whether the booking is refundable.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
Array<CancelPenalty>A collection of penalties that apply if the booking is canceled.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
Currency
CurrencySpecifies the currency in which the penalty value is expressed.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
Value
DoubleIndicates the value of the penalty.
Bookings/Hotel/Rooms
CancelPolicy/CancelPenalties
Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
Bookings/Hotel/Rooms
CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
Bookings/Hotel/Rooms/BedsArray<Bed>List of beds available in the room, including types and configurations.
Bookings/Hotel/Rooms/Beds/TypeStringThe type of the bed.
Bookings/Hotel/Rooms/Beds
Description
StringA description of the bed.
Bookings/Hotel/Rooms/Beds
Count
IntegerThe number of beds of this type in the room.
Bookings/Hotel/Rooms/Beds
Shared
BooleanIndicates whether the bed is shared.
Bookings/Hotel/Rooms/AmenitiesArray<Amenity>Amenities included with this room, such as Wi-Fi or parking.
Bookings/Hotel/Rooms/Amenities
Code
StringA unique code that identifies the amenity.
Bookings/Hotel/Rooms/Amenities
Type
AmenityTypeThe type of the amenity, defined by AmenityType.
Bookings/Hotel/Rooms/Amenities
Value
StringThe value associated with the amenity.
Bookings/Hotel/Rooms/Amenities
Texts
StringAdditional textual information or description for the amenity.
Bookings/Hotel/Rooms
UnitsSpecified
BooleanIndicates whether the number of units has been explicitly specified.
Bookings/Hotel/Rooms/FeaturesArray<Feature>Features or custom attributes of the room, used for specific integrations.
Bookings/Hotel/Rooms/Features
Code
StringThe unique code identifying the feature of the room.
Bookings/PricePriceThe total price of the booking.
Bookings/Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Bookings/Price/BindingBooleanIndicates whether the price is binding.
Bookings/Price/NetDoubleThe net price paid by the buyer to the seller.
Bookings/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Bookings/Price/NetSpecifiedBooleanIndicates whether the net price is explicitly specified.
Bookings/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Bookings/CancelPolicyCancelPolicyThe cancellation policy associated with the booking.
Bookings/CancelPolicy
Refundable
BooleanIndicates whether the booking is refundable.
Bookings/CancelPolicy
CancelPenalties
Array<CancelPenalty>A collection of penalties that apply if the booking is canceled.
Bookings/CancelPolicy
CancelPenalties/HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
Bookings/CancelPolicy
CancelPenalties/PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
Bookings/CancelPolicy
CancelPenalties/Currency
CurrencySpecifies the currency in which the penalty value is expressed.
Bookings/CancelPolicy
CancelPenalties/Value
DoubleIndicates the value of the penalty.
Bookings/CancelPolicy
CancelPenalties/Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
Bookings/CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
Bookings/RemarksArray<Remark>Additional remarks or notes related to the booking.
Bookings/Remarks/RemarkTypeRemarkTypeThe type of the remark, categorized by RemarkType.This specifies the nature or purpose of the remark: Related to the hotel as a whole. Specific to the room being booked. Related to services provided by the accommodation. General remarks not tied to a specific entity.
Bookings/Remarks/TextStringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
Bookings/BillingSupplierCodeStringThe code of the agency responsible for the booking.
Bookings/PayableStringInformation about the entity responsible for payment of the booking.
Bookings/AddOnsObjectAdditional metadata provided by the supplier for internal use.
ParametersArray<Parameter>A collection of parameters used to transfer data across different operations.
Parameters/KeyIntegerIdentifies the parameter with a numeric key.
Parameters/ValueStringDefines the value associated with the parameter.
Parameters/ParameterTypeParameterTypeSpecifies the type of the parameter (ParameterType), whether it is internal or supplier-related.
Parameters/ImmutableBooleanIndicates whether the parameter remains constant throughout operations (e.g., from Search to Quote and Book). In second searches or quotes, an immutable parameter is used to identify and match the same option.
Parameters/RoomIdIntegerAssociates the parameter with a specific room, identified by its ID.
AddOnsObjectAdditional metadata provided by the supplier for internal use.