Hotels

有料
Verified
よって Api Dojo | 更新済み 4 days ago | Travel
人気

9.8 / 10

レイテンシー

2,301ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Filtering data by hotel name

Rapid account: Nikolaytoplev
nikolaytoplev
3 years ago

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 years ago

I’ve solved my problem.

Thank you for your help.

‘Wonderful API’

Rapid account: Apidojo
apidojo Commented 3 years 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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿