Hotels

BETAALD
Verified
Door Api Dojo | Bijgewerkt vor 13 Tagen | Travel
Populariteit

9.8 / 10

Latency

2,272ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

Filtering data by hotel name

Rapid account: Nikolaytoplev
nikolaytoplev
vor 3 Jahren

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

Could you please help me with this problem?

Rapid account: Nikolaytoplev
nikolaytoplev Commented vor 3 Jahren

I’ve solved my problem.

Thank you for your help.

‘Wonderful API’

Rapid account: Apidojo
apidojo Commented vor 3 Jahren

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.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen