Hotels

유료
Verified
분류별 Api Dojo | 업데이트됨 16 days ago | Travel
인기

9.8 / 10

지연 시간

2,271ms

서비스 수준

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입