hotel-search
Query Session
Changed onQuery hotels within a session.
post/hotel-search/sessions/{session_id}/query
Request
- Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
- URL: https://api.helloaxel.com/hotel-search/sessions/{session_id}/query
- Auth: HTTP bearer
Path parameters
session_idstring uuid required
Request body
Example request
{
"filters": {
"amenities": [
"wifi",
"pool"
],
"max_price_per_night": {
"amount": 30000,
"currency": "USD"
},
"max_star_rating": 4,
"min_price_per_night": {
"amount": 10000,
"currency": "USD"
},
"min_review_score": 7.5,
"min_star_rating": 3,
"refundable_only": false
}
}Response
Successful Response
Example response
{
"guests": {
"rooms": [
{
"adults": 2,
"children": [
{
"age": 5
}
]
}
]
},
"filters": {
"amenities": [
"wifi",
"pool"
],
"max_price_per_night": {
"amount": 30000,
"currency": "USD"
},
"max_star_rating": 4,
"min_price_per_night": {
"amount": 10000,
"currency": "USD"
},
"min_review_score": 7.5,
"min_star_rating": 3,
"refundable_only": false
},
"criteria": {
"guests": {
"rooms": [
{
"adults": 2,
"children": [
{
"age": 5
}
]
}
]
}
}
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info