Hotels

PAYANT
Par Api Dojo | Mise à jour 5 दिन पहले | Travel
Popularité

9.8 / 10

Latence

2,301ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Filtering data by hotel name

Rapid account: Nikolaytoplev
nikolaytoplev
3 वर्ष पहले

GET properties/list
I want to filter data by hotel name.

Could you please help me with this problem?

Rapid account: Nikolaytoplev
nikolaytoplev Commented 3 वर्ष पहले

I’ve solved my problem.

Thank you for your help.

‘Wonderful API’

Rapid account: Apidojo
apidojo Commented 3 वर्ष पहले

Hello,

Firstly, you use …/locations/search endpoint and the hotel name as input value to get destinationId. The result must have type field as HOTEL.
Secondly, as its type field is HOTEL, you use …/properties/get-details directly instead to get the hotel information. Just pass destinationId value as id, you should get correct result.

Regards.

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

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