Skip to main content

SearchRs

Represents the response for a hotel search operation. Contains the list of available options that match the client's search criteria. Additionally, it includes error or warning messages (AdviseMessages) and trace data (AuditData), which logs the transactions sent to and received from the supplier.

Properties

NameTypeDescription
AuditDataProviderAuditContains 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/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>Collection of advice messages, which may include errors or warnings generated during the search process.
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.
AccommodationsArrayList of accommodations, meal plans, and options returned by the search.These represent the available (hotel-mealPlans-options) that meet the client's criteria.
Accommodations
AccommodationType
AccommodationTypeGets or initializes the type of accommodation.
Accommodations
AccommodationCode
StringGets the unique code identifying the accommodation.
Accommodations
AccommodationName
StringGets or initializes the name of the accommodation.
Accommodations/BoardsArray<Board>Gets the list of meal plan options (Board) available for the hotel.
Accommodations/Boards
BoardCode
StringThe unique code identifying the meal plan option.
Accommodations/Boards/NameStringThe name of the meal plan option.
Accommodations/Boards/OptionsArray<Option>The collection of options associated with this meal plan.
Accommodations/Boards/Options
FormId
StringInternal field for form test. Not serialized. DO NOT USE!
Accommodations/Boards/Options
Status
StatusIndicates the availability status of the option.
Accommodations/Boards/Options
Price
PriceThe price details associated with the option, including net, gross and minimum selling price.
Accommodations/Boards/Options
Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Price/MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
PaymentTypes
Array<PaymentType>Specifies the accepted payment types for the option.
Accommodations/Boards/Options
Rooms
Array<Room>The list of rooms included with the option, including type, description, and price.
Accommodations/Boards/Options
Rooms/OccupancyRefId
IntegerNumeric ID linking this room to its occupancy data in the Occupancy.
Accommodations/Boards/Options
Rooms/Code
StringUnique code assigned to this room.
Accommodations/Boards/Options
Rooms/Description
StringDescription of the room's features or characteristics.
Accommodations/Boards/Options
Rooms/RoomPrice
RoomPricePricing information for the room, including total price and currency details.
Accommodations/Boards/Options
Rooms/RoomPrice/Price
PriceThe total price of the room.
Accommodations/Boards/Options
Rooms/RoomPrice/Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Rooms/RoomPrice/Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Rooms/RoomPrice/Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Rooms/RoomPrice/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Rooms/RoomPrice/Price
NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Rooms/RoomPrice/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Array<PriceBreakdown>Breakdown of the room price over specific periods, such as daily rates.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price
PriceThe price for each day of the room during the specified period.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Price/MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
Start
IntegerThe starting day of the pricing period (inclusive).
Accommodations/Boards/Options
Rooms/RoomPrice/PriceBreakdown
End
IntegerThe ending day of the pricing period (inclusive).
Accommodations/Boards/Options
Rooms/Refundable
BooleanIndicates if the room is refundable based on the cancellation policy.
Accommodations/Boards/Options
Rooms/RefundableSpecified
BooleanIndicates whether the refundable status has been explicitly specified.
Accommodations/Boards/Options
Rooms/LegacyRoomId
StringLegacy identifier for internal tracking. Automatically generated using OccupancyRefId and Code.
Accommodations/Boards/Options
Rooms/Units
IntegerNumber of units available for this room type.
Accommodations/Boards/Options
Rooms/RatePlan
RatePlanRate plan associated with this room.
Accommodations/Boards/Options
Rooms/RatePlan/Code
StringThe unique code for the rate plan.
Accommodations/Boards/Options
Rooms/RatePlan/Name
StringThe name of the rate plan.
Accommodations/Boards/Options
Rooms/Promotions
Array<Promotion>Promotions or discounts applicable to this room.
Accommodations/Boards/Options
Rooms/Promotions/Code
StringThe unique code identifying the promotion.
Accommodations/Boards/Options
Rooms/Promotions/Name
StringThe name of the promotion.
Accommodations/Boards/Options
Rooms/Remarks
Array<Remark>Additional remarks or notes about this room.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
Rooms/Remarks/Text
StringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
Accommodations/Boards/Options
Rooms/Surcharges
Array<Surcharge>Additional surcharges applied to this room.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
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".
Accommodations/Boards/Options
Rooms/Surcharges/Price
PriceRepresents the price of this surcharge, including the amount and currency. See Price for details about the price structure.
Accommodations/Boards/Options
Rooms/Surcharges/Price
Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Rooms/Surcharges/Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Rooms/Surcharges/Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Rooms/Surcharges/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Rooms/Surcharges/Price
NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Rooms/Surcharges/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPolicyCancellation policy specific to this room.
Accommodations/Boards/Options
Rooms/CancelPolicy/Refundable
BooleanIndicates whether the booking is refundable.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties
Array<CancelPenalty>A collection of penalties that apply if the booking is canceled.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties/HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties/PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties/Currency
CurrencySpecifies the currency in which the penalty value is expressed.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties/Value
DoubleIndicates the value of the penalty.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPenalties/Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
Accommodations/Boards/Options
Rooms/CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
Accommodations/Boards/Options
Rooms/Beds
Array<Bed>List of beds available in the room, including types and configurations.
Accommodations/Boards/Options
Rooms/Beds/Type
StringThe type of the bed.
Accommodations/Boards/Options
Rooms/Beds/Description
StringA description of the bed.
Accommodations/Boards/Options
Rooms/Beds/Count
IntegerThe number of beds of this type in the room.
Accommodations/Boards/Options
Rooms/Beds/Shared
BooleanIndicates whether the bed is shared.
Accommodations/Boards/Options
Rooms/Amenities
Array<Amenity>Amenities included with this room, such as Wi-Fi or parking.
Accommodations/Boards/Options
Rooms/Amenities/Code
StringA unique code that identifies the amenity.
Accommodations/Boards/Options
Rooms/Amenities/Type
AmenityTypeThe type of the amenity, defined by AmenityType.
Accommodations/Boards/Options
Rooms/Amenities/Value
StringThe value associated with the amenity.
Accommodations/Boards/Options
Rooms/Amenities/Texts
StringAdditional textual information or description for the amenity.
Accommodations/Boards/Options
Rooms/UnitsSpecified
BooleanIndicates whether the number of units has been explicitly specified.
Accommodations/Boards/Options
Rooms/Features
Array<Feature>Features or custom attributes of the room, used for specific integrations.
Accommodations/Boards/Options
Rooms/Features/Code
StringThe unique code identifying the feature of the room.
Accommodations/Boards/Options
Parameters
Array<Parameter>Parameters for transferring data between operations, such as from Search to Quote or Quote to Book.
Accommodations/Boards/Options
Parameters/Key
IntegerIdentifies the parameter with a numeric key.
Accommodations/Boards/Options
Parameters/Value
StringDefines the value associated with the parameter.
Accommodations/Boards/Options
Parameters/ParameterType
ParameterTypeSpecifies the type of the parameter (ParameterType), whether it is internal or supplier-related.
Accommodations/Boards/Options
Parameters/Immutable
BooleanIndicates 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.
Accommodations/Boards/Options
Parameters/RoomId
IntegerAssociates the parameter with a specific room, identified by its ID.
Accommodations/Boards/Options
CancelPolicy
OptionCancelPolicyThe cancellation policy associated with the option, detailing penalties and conditions.
Accommodations/Boards/Options
CancelPolicy/Refundable
BooleanIndicates whether the booking is refundable.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
Array<CancelPenalty>A collection of penalties that apply if the booking is canceled.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
Currency
CurrencySpecifies the currency in which the penalty value is expressed.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
Value
DoubleIndicates the value of the penalty.
Accommodations/Boards/Options
CancelPolicy/CancelPenalties
Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
Accommodations/Boards/Options
CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
Accommodations/Boards/Options
CancelPolicy
RoomCancelPolicyDescriptions
Array<RoomCancelPolicyDescriptions>Gets or sets the list of room-specific cancellation policy descriptions.
Accommodations/Boards/Options
CancelPolicy
RoomCancelPolicyDescriptions
OccupancyRefId
IntegerIdentifies the specific occupancy within the booking for which this cancellation policy applies.
Accommodations/Boards/Options
CancelPolicy
RoomCancelPolicyDescriptions
Description
StringTextual information detailing the cancellation policy applicable to the room associated with the OccupancyRefId.
Accommodations/Boards/Options
Promotions
Array<Promotion>The promotions applied to the option, such as discounts or special offers.
Accommodations/Boards/Options
Promotions/Code
StringThe unique code identifying the promotion.
Accommodations/Boards/Options
Promotions/Name
StringThe name of the promotion.
Accommodations/Boards/Options
RateRules
Array<RateRule2>The rate rules for the option, specifying sales restrictions such as "Senior Discount" or "Resident Rate."
Accommodations/Boards/Options
RateRules/RateRuleType
RateRuleSelling restrictions applied to the room. These define specific conditions or eligibility requirements that must be met to sell the room. Possible restrictions include:
Accommodations/Boards/Options
RateRules/Code
StringRepresents a unique identifier for the rate rule, typically defined by the supplier.This code is used to reference and distinguish the rule from others.
Accommodations/Boards/Options
RateRules/Name
StringProvides a human-readable name or label for the rate rule.This name is typically used in user interfaces or reports to describe the rule.
Accommodations/Boards/Options
RateRules/Restrictions
Array<Restriction>Defines a collection of additional restrictions that further specify the conditions of the rate rule.Restrictions can include age limits, regional requirements, or special eligibility conditions.
Accommodations/Boards/Options
RateRules/Restrictions/Code
StringA unique identifier for the restriction.
Accommodations/Boards/Options
RateRules/Restrictions/Name
StringA descriptive name for the restriction.
Accommodations/Boards/Options
RateRules/Restrictions
RestrictionType
RestrictionTypeThe type of the restriction, categorizing its purpose or application.
Accommodations/Boards/Options
Remarks
Array<Remark>Additional remarks associated with the option, such as special conditions or information.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
Remarks/Text
StringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
Accommodations/Boards/Options
Surcharges
Array<Surcharge>Surcharges applied to the option, such as mandatory fees or taxes.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
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".
Accommodations/Boards/Options
Surcharges/Price
PriceRepresents the price of this surcharge, including the amount and currency. See Price for details about the price structure.
Accommodations/Boards/Options
Surcharges/Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Surcharges/Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Surcharges/Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Surcharges/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Surcharges/Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Surcharges/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
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.
Accommodations/Boards/Options
Amenities
Array<Amenity>Amenities included with the option, such as "Free Wi-Fi" or "Parking."
Accommodations/Boards/Options
Amenities/Code
StringA unique code that identifies the amenity.
Accommodations/Boards/Options
Amenities/Type
AmenityTypeThe type of the amenity, defined by AmenityType.
Accommodations/Boards/Options
Amenities/Value
StringThe value associated with the amenity.
Accommodations/Boards/Options
Amenities/Texts
StringAdditional textual information or description for the amenity.
Accommodations/Boards/Options
Supplements
Array<Supplement>Supplements available with the option, such as activity passes.
Accommodations/Boards/Options
Supplements/Code
StringThe unique code identifying the supplement.
Accommodations/Boards/Options
Supplements/Name
StringThe descriptive name of the supplement.
Accommodations/Boards/Options
Supplements/Description
StringAn optional textual description providing additional details about the supplement.
Accommodations/Boards/Options
Supplements/Mandatory
BooleanIndicates whether the supplement is mandatory for the booking.
Accommodations/Boards/Options
Supplements/Price
PriceThe Price associated with the supplement, including details such as currency and net price.
Accommodations/Boards/Options
Supplements/Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Accommodations/Boards/Options
Supplements/Price/Binding
BooleanIndicates whether the price is binding.
Accommodations/Boards/Options
Supplements/Price/Net
DoubleThe net price paid by the buyer to the seller.
Accommodations/Boards/Options
Supplements/Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Accommodations/Boards/Options
Supplements/Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Accommodations/Boards/Options
Supplements/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Accommodations/Boards/Options
Supplements/SupplementType
SupplementTypeThe specific SupplementType of the supplement (e.g., meal plan, additional service).
Accommodations/Boards/Options
Supplements/ChargeType
ChargeTypeDefines how the supplement is charged using ChargeType (e.g., per person, per stay).
Accommodations/Boards/Options
Supplements/DurationType
DurationTypeSpecifies whether the supplement applies to a specific duration (Open or Range).
Accommodations/Boards/Options
Supplements/Quantity
IntegerThe quantity of the supplement included in the booking.
Accommodations/Boards/Options
Supplements/StartDate
StringThe start date for the supplement (if applicable).
Accommodations/Boards/Options
Supplements
StartDateAsDateTime
StringThe start date as a DateTime object for easier manipulation.
Accommodations/Boards/Options
Supplements/EndDate
StringThe end date for the supplement (if applicable).
Accommodations/Boards/Options
Supplements/EndDateAsDateTime
StringThe end date as a DateTime object for easier manipulation.
Accommodations/Boards/Options
Supplements/Resort
ResortThe associated Resort where the supplement applies.
Accommodations/Boards/Options
Supplements/Resort/Code
StringUnique code that identifies the resort in the system.
Accommodations/Boards/Options
Supplements/Resort/Name
StringName of the resort.
Accommodations/Boards/Options
Supplements/Resort/Description
StringOptional description providing additional details about the resort.
Accommodations/Boards/Options
Supplements/Unit
UnitTimeTypeSpecifies the unit of time for the supplement (e.g., per day, per stay) using UnitTimeType.
Accommodations/Boards/Options
AddOns
ObjectInternal field for passing additional information across layers.
Accommodations/LocationLocationGets the geographical location of the hotel.
Accommodations/Location/CodeStringThe unique code identifying the location.
Accommodations/Location
Country
StringThe ISO 3166-1 alpha-2 country code where the location is situated.
Accommodations/Location
Longitude
DoubleThe longitude coordinate of the location, expressed in decimal degrees.
Accommodations/Location
Latitude
DoubleThe latitude coordinate of the location, expressed in decimal degrees.
GlobalOptionParametersArray<Parameter>Global parameters that the client must send in subsequent operations (e.g., in a quote request). These parameters apply to all options returned in the response.
GlobalOptionParameters/KeyIntegerIdentifies the parameter with a numeric key.
GlobalOptionParameters/ValueStringDefines the value associated with the parameter.
GlobalOptionParameters
ParameterType
ParameterTypeSpecifies the type of the parameter (ParameterType), whether it is internal or supplier-related.
GlobalOptionParameters
Immutable
BooleanIndicates 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.
GlobalOptionParameters/RoomIdIntegerAssociates the parameter with a specific room, identified by its ID.
DiscardedItemsIntegerDiscarded items in the search response, can be rooms or options depending on the connector.