Join our community at https://www.reddit.com/r/HotelByte/
curl --location --request POST 'https://api-test.hotelbyte.com/api/search/hotelList' \
--header 'Client-Request-Timestamp;' \
--header 'Currency;' \
--header 'IP;' \
--header 'Language;' \
--header 'Request-Id;' \
--header 'Session-Id;' \
--header 'Test;' \
--header 'Timeout-Milliseconds;' \
--header 'Trace-Id;' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"hotelIds": [
"461850557",
"118062388"
],
"maxRatesPerHotel": 1,
"checkIn": "now()",
"checkOut": "now()+7",
"countryCode": "US",
"residencyCode": "US",
"nationalityCode": "US",
"roomOccupancies": [
{
"adultCount": 2,
"childrenAges": [
2
]
}
],
"destinationId": "804028047",
"destinationName": "Dubai",
"pageNum": 1,
"pageSize": 10,
"cursor": 0,
"sortBy": "price-desc"
}'{
"code": 0,
"msg": "string",
"data": {
"list": [
{
"id": "461850557",
"destinationId": "804028047",
"name": {
"en": "Jumeirah Beach Hotel"
},
"rating": 4.5,
"address": {
"en": "Millenium Al Barsha"
},
"latlngCoordinator": {
"google": {
"lat": 25.0478,
"lng": 121.5319
},
"gaode": {
"lat": 25.0478,
"lng": 121.5319
}
},
"logoURL": "https://static.hotelbyte.com/Images/Hotel/804028047_1.jpg",
"minPrice": {
"amount": 100,
"currency": "USD"
},
"minPricesByCurrency": [
{
"amount": 700,
"currency": "CNY"
},
{
"amount": 85,
"currency": "EUR"
}
],
"isAvailable": true,
"rooms": [
{
"roomTypeId": "string",
"roomTypeName": {
"en": "string",
"zh": "string",
"ar": "string"
},
"hotelId": "string",
"rates": [
{
"ratePkgId": "string",
"refundableMode": "full",
"refundableUntil": "2006-01-02T15:04:05Z07:00",
"cancelFees": [
{
"until": "2006-01-02T15:04:05Z07:00",
"fee": {
"currency": "string",
"amount": 0
}
}
],
"originalRoomNaming": {
"id": "string",
"name": "string",
"supplier": 0
},
"rate": {
"commissionableRate": {
"currency": "string",
"amount": 0
},
"netRate": {
"currency": "string",
"amount": 0
},
"grossRate": {
"currency": "string",
"amount": 0
},
"respectGrossRate": true
},
"totalRate": {
"commissionableRate": {
"currency": "string",
"amount": 0
},
"netRate": {
"currency": "string",
"amount": 0
},
"grossRate": {
"currency": "string",
"amount": 0
},
"respectGrossRate": true
},
"rateComment": "string",
"includesPackaging": true,
"checkIn": "now()",
"checkOut": "now()+7",
"board": {
"boardId": "RO",
"boardName": {
"en": "string",
"zh": "string",
"ar": "string"
},
"boardDesc": {
"en": "string",
"zh": "string",
"ar": "string"
}
},
"tax": {
"total": {
"currency": "string",
"amount": 0
},
"items": [
{
"taxType": "string",
"taxName": "string",
"amount": {
"currency": "string",
"amount": 0
},
"desc": "string"
}
]
}
}
]
}
]
}
],
"basic": {
"destination": {
"id": "804028047",
"name": {
"en": "Dubai"
}
},
"sessionId": "374337a797454a344ad999c7730da01c"
},
"total": 100,
"hasMore": true
}
}