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.
Participez à la discussion - ajoutez un commentaire ci-dessous:
Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
I’ve solved my problem.
Thank you for your help.
‘Wonderful API’
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.