• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Is Campground search limited to only two weeks ahead?

    • henry
    • Topic created 13 years ago

    Today is Jan 30th 2012. When I call a search for availability on Feb 13th 2012 it successfully returns the xml for available campsites.

    However, if I use exactly the sam url but change the day to Feb 14th 2012 it give a reserveamerica unformatted html page.

    Is active.com only keeping data two weeks ahead?

    The links are below:

    http://api.amp.active.com/camping/campgrounds?pstate=CA&amenity=4009&lengthOfStay=2&siteType=2003&api_key=98q62x5ymhchvhdge2f9bz42&arvdate=13%2F02%2F2012

    http://api.amp.active.com/camping/campgrounds?pstate=CA&amenity=4009&lengthOfStay=2&siteType=2003&api_key=98q62x5ymhchvhdge2f9bz42&arvdate=14%2F02%2F2012

    Message edited by henry 13 years ago

  1. henry13 years ago

    Resolved - silly mistake. The url format is ''m/d/Y" and so the 14th month is breaking it. Switch the days/months format fixes it.

[ Page 1 of 1 ]