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.
Únase a la conversación, añada un comentario a continuación:
Inicie sesió/Regístrese para publicar nuevos comentarios
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.