Hotels

PAYANT
Verified
Par Api Dojo | Mise à jour il y a 25 jours | Travel
Popularité

9.8 / 10

Latence

2,268ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

problem in properties/v2/list

Rapid account: Kittanet
kittanet
il y a un an

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 il y a un an

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 il y a un an

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

Rapid account: Apidojo
apidojo Commented il y a un an

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 il y a un an

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 il y a un an

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires