Hotels

PAGO
Verified
Por Api Dojo | Atualizado 13 days ago | Travel
Popularidade

9.8 / 10

Latência

2,272ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

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.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários