Here is the request I am using, but for some reason even though I ask for a daterange of today and onward, I still seem to get events from 2007, 2008 and 2009
Note "m=meta:startDate" instead of "m=startDate". I made the same adjustment for Channel. Here's a link to another post where somebody had a similar question:
http://developer.active.com/forum/read/61391
active Admin
–
15 years ago
Also, I see our documentation for the Search API was wrong. I've just updated it accordingly.
Here is the request I am using, but for some reason even though I ask for a daterange of today and onward, I still seem to get events from 2007, 2008 and 2009
http://api.amp.active.com/search?s=date_asc&num=5000&m=startDate:daterange:today..+m=channel=Triathlon&v=json&l=92530&r=250&api_key=xxxxxx
Any ideas on what I'm doing wrong? I'm following the example for filtering dates
Message edited by adventures4charity.com 15 years ago
active Admin – 15 years ago
There are a few amendments you'll need to make to your query. Here's the proper query:
http://api.amp.active.com/search?s=date_asc&num=5000&m=meta:startDate:daterange:today..+meta:channel=Triathlon&v=json&l=92530&r=250&api_key=xxxxxx
Note "m=meta:startDate" instead of "m=startDate". I made the same adjustment for Channel. Here's a link to another post where somebody had a similar question:
http://developer.active.com/forum/read/61391
active Admin – 15 years ago
Also, I see our documentation for the Search API was wrong. I've just updated it accordingly.
adventures4charity.com – 15 years ago
thank you, this worked quite nicely!