For users of the TourCMS tour operator ecommerce platform
Hello,
We have run into an issue where we are only getting 76 results from the xml API. I was wondering if there is a limitation to the amount of results that can be returned using the api search methods? I am using the search_tours method on this page http://www.executivetravellink.com/locations, to get a list of locations with future availability. For the search box on http://www.executivetravellink.com I am using the search_hotels_specific method for the results page. If you do a search with no items selected you will see that it returns the same amount of hotels as the location search returns locations. We currently have more than 76 hotels in the system and have verified that they meet the requirements for the api. Any help or insight you could offer would be greatly appreciated.
Thanks,
James
Tags:
Permalink Reply by James Spencer on July 28, 2011 at 7:29am Hello,
I was able to resolve the issue for the locations page by using the per_page parameter. I read that there is a parameter to override the 200 limit. Could someone please contact me via email so that I can get that? We are currently using the locations page to get location data for all of our client's hotel's and then manually adding that to our search box. We are approaching the 200 limit and would like to go beyond that so that we don't have to have the client provide us daily updates as they add new locations.
Thanks,
James
© 2012 Created by TourCMS team.