Hotels

FREEMIUM
By Api Dojo | Updated 4 months ago | Travel
Popularity

9.8 / 10

Latency

3,706ms

Service Level

100%

Back to All Discussions

Filtering data by hotel name

avatar
nikolaytoplev
a year ago

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

Could you please help me with this problem?

avatar
apidojo commented a year ago

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.

avatar
nikolaytoplev commented a year ago

I’ve solved my problem.

Thank you for your help.

‘Wonderful API’

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 4.2 - Votes: 21