BookRs
Represents the response for a hotel booking operation.
Propertiesโ
| Name | Type | Description | 
|---|---|---|
| AuditData | ProviderAudit | Contains the requests and responses exchanged with the supplier.This field is populated internally by the connector framework. Integrators do not need to handle this field manually. | 
| AuditData/Request | Array<ProviderAuditRq> | Collection of audit entries for provider requests.Each entry contains details about a specific request made to the provider. | 
| AuditData/Request/SendAt | String | The timestamp indicating when the request was sent. | 
| AuditData/Request/Data | String | The payload data included in the request. | 
| AuditData/Request/Url | String | The URL of the provider endpoint to which the request is sent. | 
| AuditData/Request/Headers | Object | A collection of headers included in the request. | 
| AuditData/Request/HttpMethod | HttpMethod | The HTTP method used to send the request. | 
| AuditData/Request/HttpMethod/ Method  | String | No description available. | 
| AuditData/Response | Array<ProviderAuditRs> | Collection of audit entries for provider responses.Each entry contains details about a specific response received from the provider. | 
| AuditData/Response/ReceivedAt | String | The timestamp indicating when the response was received. | 
| AuditData/Response/Data | String | The payload data contained in the provider's response. | 
| AuditData/Response/Headers | Object | A collection of headers included in the provider's response. | 
| AuditData/Response/StatusCode | Integer | The HTTP status code returned by the provider. | 
| AdviseMessages | Array<AdviseMessage> | The collection of advise messages associated with the booking response. | 
| AdviseMessages/Code | AdviseMessageCode | Gets the code that represents the message type. | 
| AdviseMessages/Level | AdviseMessageLevel | Gets the severity level of the message (e.g., Error, Warning, or Info). | 
| AdviseMessages/Description | String | Gets the message description providing additional context. | 
| AdviseMessages/CorrelationId | String | Gets a unique identifier for correlating the message with specific operations. | 
| AdviseMessages/External | External | Gets additional external details associated with the message. | 
| AdviseMessages/External/Code | String | The supplier's internal code for identifying the nature of the response or error. | 
| AdviseMessages/External/ Message  | String | A descriptive message returned by the supplier. | 
| AdviseMessages/External/ HttpStatusCode  | Integer | The HTTP status code of the supplier's response. | 
| BookDetails | BookDetails | The details of the booking. | 
| BookDetails/Status | BookStatus | The current status of the booking. | 
| BookDetails/Reference | Reference | A collection of locators that identify the booking. | 
| BookDetails/Reference/ ClientLocator  | String | The booking locator provided by the client.This is typically used to match the booking in the client's internal systems. | 
| BookDetails/Reference/ SupplierLocator  | String | The booking locator provided by the supplier.This identifier is used to reference the booking in the supplier's system. | 
| BookDetails/Reference/ HotelLocator  | String | The 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. | 
| BookDetails/Holder | Holder | The personal details of the booking holder. | 
| BookDetails/Holder/Name | String | The name of the holder. | 
| BookDetails/Holder/SurName | String | The surname of the holder. | 
| BookDetails/Holder/ PersonalTitleType  | PersonalTitleType | The personal title type of the holder. | 
| BookDetails/Holder/ContactInfo | ContactInfo | The contact information of the holder. | 
| BookDetails/Holder/ContactInfo/ | String | The email address of the passenger. | 
| BookDetails/Holder/ContactInfo/ Phone  | String | The phone number of the passenger. | 
| BookDetails/Hotel | HotelDetail | The hotel details associated with the booking. | 
| BookDetails/Hotel/BookingDate | String | The date when the booking was created. | 
| BookDetails/Hotel/CheckIn | String | The check-in date for the booking. | 
| BookDetails/Hotel/CheckOut | String | The check-out date for the booking. | 
| BookDetails/Hotel/ CheckInAsDateTime  | String | The check-in date as a DateTime object. | 
| BookDetails/Hotel/ CheckOutAsDateTime  | String | The check-out date as a DateTime object. | 
| BookDetails/Hotel/HotelCode | String | The unique code identifying the hotel. | 
| BookDetails/Hotel/HotelName | String | The name of the hotel associated with the booking. | 
| BookDetails/Hotel/BoardCode | String | The board code for the booking. | 
| BookDetails/Hotel/Occupancies | Array<BookOccupancy> | The collection of occupancies associated with the booking. | 
| BookDetails/Hotel/Occupancies/ OccupancyId  | Integer | The unique identifier for the occupancy. | 
| BookDetails/Hotel/Occupancies/ Paxes  | Array<BookPaxInput> | The collection of passenger inputs (paxes) for the occupancy. | 
| BookDetails/Hotel/Occupancies/ Paxes/Age  | Integer | The age of the passenger. | 
| BookDetails/Hotel/Occupancies/ Paxes/Name  | String | The first name of the passenger. | 
| BookDetails/Hotel/Occupancies/ Paxes/SurName  | String | The surname (last name) of the passenger. | 
| BookDetails/Hotel/Occupancies/ Paxes/PersonalTitleType  | PersonalTitleType | The personal title type of the passenger. | 
| BookDetails/Hotel/Rooms | Array<Room> | The collection of rooms included in the booking. | 
| BookDetails/Hotel/Rooms/ OccupancyRefId  | Integer | Numeric ID linking this room to its occupancy data in the Occupancy. | 
| BookDetails/Hotel/Rooms/Code | String | Unique code assigned to this room. | 
| BookDetails/Hotel/Rooms/ Description  | String | Description of the room's features or characteristics. | 
| BookDetails/Hotel/Rooms/ RoomPrice  | RoomPrice | Pricing information for the room, including total price and currency details. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price  | Price | The total price of the room. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/Currency  | Currency | The currency of the price, represented in ISO 4217 format (e.g., USD, EUR). | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/Binding  | Boolean | Indicates whether the price is binding. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/Net  | Double | The net price paid by the Buyer to the Seller. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/Gross  | Double | The gross price, which includes the net price and the Buyer's commission. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/NetSpecified  | Boolean | Indicates whether the net price is explicitly specified. | 
| BookDetails/Hotel/Rooms/ RoomPrice/Price/ MinimumSellingPrice  | Double | The minimum selling price. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown  | Array<PriceBreakdown> | Breakdown of the room price over specific periods, such as daily rates. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price  | Price | The price for each day of the room during the specified period. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ Currency  | Currency | The currency of the price, represented in ISO 4217 format (e.g., USD, EUR). | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ Binding  | Boolean | Indicates whether the price is binding. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ Net  | Double | The net price paid by the Buyer to the Seller. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ Gross  | Double | The gross price, which includes the net price and the Buyer's commission. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ NetSpecified  | Boolean | Indicates whether the net price is explicitly specified. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Price/ MinimumSellingPrice  | Double | The minimum selling price. | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/Start  | Integer | The starting day of the pricing period (inclusive). | 
| BookDetails/Hotel/Rooms/ RoomPrice/PriceBreakdown/End  | Integer | The ending day of the pricing period (inclusive). | 
| BookDetails/Hotel/Rooms/ Refundable  | Boolean | Indicates if the room is refundable based on the cancellation policy. | 
| BookDetails/Hotel/Rooms/ RefundableSpecified  | Boolean | Indicates whether the refundable status has been explicitly specified. | 
| BookDetails/Hotel/Rooms/ LegacyRoomId  | String | Legacy identifier for internal tracking. Automatically generated using OccupancyRefId and Code. | 
| BookDetails/Hotel/Rooms/Units | Integer | Number of units available for this room type. | 
| BookDetails/Hotel/Rooms/ RatePlan  | RatePlan | Rate plan associated with this room. | 
| BookDetails/Hotel/Rooms/ RatePlan/Code  | String | The unique code for the rate plan. | 
| BookDetails/Hotel/Rooms/ RatePlan/Name  | String | The name of the rate plan. | 
| BookDetails/Hotel/Rooms/ Promotions  | Array<Promotion> | Promotions or discounts applicable to this room. | 
| BookDetails/Hotel/Rooms/ Promotions/Code  | String | The unique code identifying the promotion. | 
| BookDetails/Hotel/Rooms/ Promotions/Name  | String | The name of the promotion. | 
| BookDetails/Hotel/Rooms/ Remarks  | Array<Remark> | Additional remarks or notes about this room. | 
| BookDetails/Hotel/Rooms/ Remarks/RemarkType  | RemarkType | The type of the remark, categorized by RemarkType, specifies its nature or purpose. It may refer to the hotel as a whole, a specific room being booked, services provided by the accommodation, or general remarks not tied to any particular entity. | 
| BookDetails/Hotel/Rooms/ Remarks/Text  | String | The text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information. | 
| BookDetails/Hotel/Rooms/ Surcharges  | Array<Surcharge> | Additional surcharges applied to this room. | 
| BookDetails/Hotel/Rooms/ Surcharges/ChargeType  | ChargeType | Specifies whether the surcharge is included in the room rate or must be paid separately at the property. See ChargeType for possible values. | 
| BookDetails/Hotel/Rooms/ Surcharges/Mandatory  | Boolean | Indicates 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. | 
| BookDetails/Hotel/Rooms/ Surcharges/Description  | String | Provides a description of the surcharge, giving context about the type of cost it represents.Examples: "Tourist Tax", "Resort Fee", or "Additional Bed Fee". | 
| BookDetails/Hotel/Rooms/ Surcharges/Price  | Price | Represents the price of this surcharge, including the amount and currency. See Price for details about the price structure. | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/Currency  | Currency | The currency of the price, represented in ISO 4217 format (e.g., USD, EUR). | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/Binding  | Boolean | Indicates whether the price is binding. | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/Net  | Double | The net price paid by the Buyer to the Seller. | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/Gross  | Double | The gross price, which includes the net price and the Buyer's commission. | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/NetSpecified  | Boolean | Indicates whether the net price is explicitly specified. | 
| BookDetails/Hotel/Rooms/ Surcharges/Price/ MinimumSellingPrice  | Double | The minimum selling price. | 
| BookDetails/Hotel/Rooms/ Surcharges/Code  | String | An 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. | 
| BookDetails/Hotel/Rooms/ CancelPolicy  | CancelPolicy | Cancellation policy specific to this room. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/Refundable  | Boolean | Indicates whether the booking is refundable. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties  | Array<CancelPenalty> | A collection of penalties that apply if the booking is canceled. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties/ HoursBefore  | Integer | Indicates the number of hours before the check-in date when the penalty becomes applicable. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties/ PenaltyType  | PenaltyType | Specifies the type of penalty enforced upon cancellation. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties/ Currency  | Currency | Specifies the currency in which the penalty value is expressed. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties/ Value  | Double | Indicates the value of the penalty. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/CancelPenalties/ Deadline  | String | Specifies the absolute deadline for the penalty in UTC format. | 
| BookDetails/Hotel/Rooms/ CancelPolicy/ CancelPolicyDescription  | String | Provides additional details or a textual summary of the cancellation policy. | 
| BookDetails/Hotel/Rooms/Beds | Array<Bed> | List of beds available in the room, including types and configurations. | 
| BookDetails/Hotel/Rooms/Beds/ Type  | String | The type of the bed. | 
| BookDetails/Hotel/Rooms/Beds/ Description  | String | A description of the bed. | 
| BookDetails/Hotel/Rooms/Beds/ Count  | Integer | The number of beds of this type in the room. | 
| BookDetails/Hotel/Rooms/Beds/ Shared  | Boolean | Indicates whether the bed is shared. | 
| BookDetails/Hotel/Rooms/ Amenities  | Array<Amenity> | Amenities included with this room, such as Wi-Fi or parking. | 
| BookDetails/Hotel/Rooms/ Amenities/Code  | String | A unique code that identifies the amenity. | 
| BookDetails/Hotel/Rooms/ Amenities/Type  | AmenityType | The type of the amenity, defined by AmenityType. | 
| BookDetails/Hotel/Rooms/ Amenities/Value  | String | The value associated with the amenity. | 
| BookDetails/Hotel/Rooms/ Amenities/Texts  | String | Additional textual information or description for the amenity. | 
| BookDetails/Hotel/Rooms/ UnitsSpecified  | Boolean | Indicates whether the number of units has been explicitly specified. | 
| BookDetails/Hotel/Rooms/ Features  | Array<Feature> | Features or custom attributes of the room, used for specific integrations. | 
| BookDetails/Hotel/Rooms/ Features/Code  | String | The unique code identifying the feature of the room. | 
| BookDetails/Price | Price | The total price of the booking. | 
| BookDetails/Price/Currency | Currency | The currency of the price, represented in ISO 4217 format (e.g., USD, EUR). | 
| BookDetails/Price/Binding | Boolean | Indicates whether the price is binding. | 
| BookDetails/Price/Net | Double | The net price paid by the Buyer to the Seller. | 
| BookDetails/Price/Gross | Double | The gross price, which includes the net price and the Buyer's commission. | 
| BookDetails/Price/NetSpecified | Boolean | Indicates whether the net price is explicitly specified. | 
| BookDetails/Price/ MinimumSellingPrice  | Double | The minimum selling price. | 
| BookDetails/CancelPolicy | CancelPolicy | The cancellation policy associated with the booking. | 
| BookDetails/CancelPolicy/ Refundable  | Boolean | Indicates whether the booking is refundable. | 
| BookDetails/CancelPolicy/ CancelPenalties  | Array<CancelPenalty> | A collection of penalties that apply if the booking is canceled. | 
| BookDetails/CancelPolicy/ CancelPenalties/HoursBefore  | Integer | Indicates the number of hours before the check-in date when the penalty becomes applicable. | 
| BookDetails/CancelPolicy/ CancelPenalties/PenaltyType  | PenaltyType | Specifies the type of penalty enforced upon cancellation. | 
| BookDetails/CancelPolicy/ CancelPenalties/Currency  | Currency | Specifies the currency in which the penalty value is expressed. | 
| BookDetails/CancelPolicy/ CancelPenalties/Value  | Double | Indicates the value of the penalty. | 
| BookDetails/CancelPolicy/ CancelPenalties/Deadline  | String | Specifies the absolute deadline for the penalty in UTC format. | 
| BookDetails/CancelPolicy/ CancelPolicyDescription  | String | Provides additional details or a textual summary of the cancellation policy. | 
| BookDetails/Remarks | Array<Remark> | Additional remarks or notes related to the booking. | 
| BookDetails/Remarks/RemarkType | RemarkType | The type of the remark, categorized by RemarkType, specifies its nature or purpose. It may refer to the hotel as a whole, a specific room being booked, services provided by the accommodation, or general remarks not tied to any particular entity. | 
| BookDetails/Remarks/Text | String | The text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information. | 
| BookDetails/ BillingSupplierCode  | String | The code of the agency responsible for the booking. | 
| BookDetails/Payable | String | Information about the entity responsible for payment of the booking. | 
| BookDetails/AddOns | Object | Additional metadata provided by the supplier for internal use. | 
| AddOns | Object | A dictionary containing supplier information for the option. |