Hotels

שולם
Verified
על ידי Api Dojo | מְעוּדכָּן il y a 4 jours | Travel
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

2,301ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Filtering data by hotel name

Rapid account: Nikolaytoplev
nikolaytoplev
il y a 3 ans

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

Could you please help me with this problem?

Rapid account: Nikolaytoplev
nikolaytoplev Commented il y a 3 ans

I’ve solved my problem.

Thank you for your help.

‘Wonderful API’

Rapid account: Apidojo
apidojo Commented il y a 3 ans

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות