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.
चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:
नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें
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.