SearchRequest
SearchRequest aggregates settings and criteria for hotel availability searches.
criteria objectrequired
Stay details, guests, filters, and preferences.
Check-in date for the requested stay.
Check-out date for the requested stay.
Provider hotel identifiers to limit the search scope.
exclusions object[]
Elements that must be excluded from the results.
Type of element being excluded (for example HOTEL or ROOM).
Identifier or field associated with the exclusion type.
Values that should be excluded for the given type/key combination.
occupancies object[]required
Occupancies requested; one entry per room configuration.
paxes object[]required
Travellers assigned to the room.
Traveller age at check-in time.
businessRules object
Business rules to apply when curating results.
Optimisation strategy that the aggregator should apply.
Possible values: [CHEAPER_AMOUNT, ROOM_TYPE]
Maximum number of options per board and rate plan to return per provider when applicable.
ISO 639-1 language code for textual content.
ISO 4217 currency code used for prices.
ISO 3166 alpha-2 nationality code for guests.
additionalParams object
Provider-specific additional parameters forwarded as-is.
settings objectrequired
Execution settings shared across aggregator requests.
Unique identifier used to correlate downstream provider calls and responses.
Provider access identifiers that the request should target.
pos object
Point of sale information for commercial routing.
Branch or office that originated the enquiry, when available.
When true, raw provider transactions are collected for auditing.
Maximum time in milliseconds allowed for the aggregator to respond.
Enables sandbox flows where providers expose dedicated mock behaviour.
Enables diagnostic payloads that surface debug data in responses.
Token that propagates caller authentication to downstream services.
{
"criteria": {
"checkIn": "2024-07-29T15:51:28.071Z",
"checkOut": "2024-07-29T15:51:28.071Z",
"hotels": [
"string"
],
"exclusions": [
{
"type": "string",
"key": "string",
"values": [
"string"
]
}
],
"occupancies": [
{
"paxes": [
{
"age": 0
}
]
}
],
"businessRules": {
"businessRulesType": "CHEAPER_AMOUNT",
"optionsQuota": 0
},
"language": "string",
"currency": "string",
"nationality": "string",
"additionalParams": {}
},
"settings": {
"requestId": "string",
"accessIds": [
"string"
],
"pos": {
"branchOffice": "string"
},
"auditTransactions": true,
"timeout": 0,
"testMode": true,
"debugData": true,
"token": "string"
}
}