We are doing a hotel request such as :
The resultant search does not really respect the star-rating. Many of the results in this search ,for example, are 2 and 3 star hotels.
Looking for any guidance on this problem. Known API defect? , Search params not correct?
Thanks in advance
Message edited by morgan 2 years ago
2 years ago
I'm unable to reproduce the behavior you're seeing. I consistently see only 4 star hotels using your parameters (substituting a valid developer key, and using a much higher limit just to be sure).
Can you confirm that you're URL-encoding the request string? Since you're using a lat-lon pair to specify a destination, I believe you'll always need to URLEncode, due to the presence of the lat-lon separating comma.
2 years ago
Seth, Thank you for your reply. I have been caught up working on some other problems til today. I tried URL encoding but I still get embedded 3 and 3.5 star results. In order to take the test outside of our application, I run the above URL via curl at the command line to get the search request url. I then paste this url into a browser to get the actual list of results. How are you verifying the url? SInce you are indicating that you do not get the embedded lower star hotels, I would like to figure out what I am doing wrong.
I think I see where we have a disconnect.
You're correct in that the links returned by the Deals URL - the links that can be used to direct a user to the Hotwire web site - will land on results pages that contain hotels of all available star ratings. We find that users who reach us based on a given offer often find value in the alternatives that exist in the extended result set.
Please sign in to add a post.
© 2000-2011 Hotwire, Inc. All rights reserved. Hotwire, Inc. is not responsible for content on external sites. Hotwire, the Hotwire logo, Hot Fare, Hot Rate, "4-star hotels. 2-star prices.", Travel Ticker and TripStarter are either registered trademarks or trademarks of Hotwire, Inc. in the US and/or other countries. Other logos or product and company names mentioned herein may be the property of their respective owners. CST 2053390-40; NST 20003-0209.