HotelsRequest
Request payload for retrieving hotels
scope object
Preferred filter payload for hotel queries.
Optional connection code for filtering
Optional provider scope; defaults to the provider inferred from the connection
List of hotel codes to filter by
Provider-specific hotel codes
Destination codes where hotels should be located
Country codes to filter by
Hotel ranking values to filter by
Maximum number of results to return
Hotel name to search for (partial match)
Hotel group identifier
query object
Standard filter payload for hotel queries.
Optional connection code for filtering
Optional provider scope; defaults to the provider inferred from the connection
List of hotel codes to filter by
Provider-specific hotel codes
Destination codes where hotels should be located
Country codes to filter by
Hotel ranking values to filter by
Maximum number of results to return
Hotel name to search for (partial match)
Hotel group identifier
Pagination token for the next page of results. To retrieve the next page, include this token in the 'token' field of the subsequent request. Tokens are valid for 4 minutes and are tied to the original query criteria. If the query criteria change, a new token must be generated.
{
"scope": {
"connectionCode": "string",
"providerCode": "string",
"hotelCodes": [
"string"
],
"providerHotelCodes": [
"string"
],
"destinationCodes": [
"string"
],
"countries": [
"string"
],
"ranks": [
0
],
"maxSize": 0,
"hotelName": "string",
"group": "string"
},
"query": {
"connectionCode": "string",
"providerCode": "string",
"hotelCodes": [
"string"
],
"providerHotelCodes": [
"string"
],
"destinationCodes": [
"string"
],
"countries": [
"string"
],
"ranks": [
0
],
"maxSize": 0,
"hotelName": "string",
"group": "string"
},
"token": "string"
}