Hotels

付费
Verified
通过 Api Dojo | 已更新 a month ago | Travel
人气

9.8 / 10

延迟

2,326ms

服务等级

100%

Health Check

N/A

返回所有讨论

problem in properties/v2/list

Rapid account: Kittanet
kittanet
a year ago

Hi, I can’t to use properties/v2/list with filters -> star the response is not correctly.

ex. body

{
“currency”: “THB”,
“destination”: {
“regionId”: “604”
},
“checkInDate”: {
“day”: 10,
“month”: 3,
“year”: 2023
},
“checkOutDate”: {
“day”: 11,
“month”: 3,
“year”: 2023
},
“rooms”: [
{
“adults”: 2,
“children”: []
}
],
“resultsStartingIndex”: 0,
“resultsSize”: 10,
“filters”: {
“star”: [
“30”
]
}
}

and some response show “star”: null and hotel is actually is 4-star hotel in hotels.com. Please kindly check this api.

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

It was weekend, and we were syncing the new system between server nodes. Your requests might fall back to the servers with old system so it caused the issue. Please being patient and try again.

Regards.

Rapid account: Kittanet
kittanet Commented a year ago

The properties/v2/list is response “star”: null again. Please re-check this api again.

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

You may try this body request :
{
“siteId”:300000046,
“locale”:“en_GB”,
“currency”: “THB”,
“destination”: {
“regionId”: “604”
},
“checkInDate”: {
“day”: 10,
“month”: 3,
“year”: 2023
},
“checkOutDate”: {
“day”: 11,
“month”: 3,
“year”: 2023
},
“rooms”: [
{
“adults”: 2,
“children”: []
}
],
“resultsStartingIndex”: 0,
“resultsSize”: 10,
“filters”: {
“star”: [
“30”
]
}
}
Regards.

Rapid account: Kittanet
kittanet Commented a year ago

Thanks. It works but I got another error response. The currency in response doesn’t change when I change currency.

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

Thank you! You are right, there was an issue sending the filter by “star” to the server. The IT team just fixed it, you may try again now.

Regards.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论