This object is in archive! 
Retrieve a list of leads filtered by date via the API
Completed
Is there a way to retrieve a list of leads filtered by an arbitrary date? Ideally I'd want something like this to work—
- $ http get 'https://www.inflatableoffice.com/api1/leads/' \
- > apiKey=="$IO_API_KEY" \
- > limit=='3' \
- > status[]=='4921' status[]=='29613' status[]=='6967' status[]=='9013' \
- > date=='8/1/2017 - 8/1/2017' \
- > | jq '.items[].eventstarttime'
- "2023-04-25T12:15:00-07:00"
- "2023-04-25T12:15:00-07:00"
- "2020-02-22T12:00:00-08:00"
—but of course right now the status[] and date parameters are ignored. Specifying the statuses via a predefined filter would be fine, but I need the date to be variable.
Try the following:- switch api1 to api2
- &status[]=4921&status[]=29613....
- &date=URLENCODE('2023-04-25 - 2024-04-25')
You should be able to build the URL the same way that the view report URL does for filtering.
Try the following:- switch api1 to api2
- &status[]=4921&status[]=29613....
- &date=URLENCODE('2023-04-25 - 2024-04-25')
You should be able to build the URL the same way that the view report URL does for filtering.
Try the following:- switch api1 to api2
- &status[]=4921&status[]=29613....
- &date=URLENCODE('2023-04-25 - 2024-04-25')
You should be able to build the URL the same way that the view report URL does for filtering.
Try the following:- switch api1 to api2
- &status[]=4921&status[]=29613....
- &date=URLENCODE('2023-04-25 - 2024-04-25')
You should be able to build the URL the same way that the view report URL does for filtering.
This issue should now be fixed.
This issue should now be fixed.
Replies have been locked on this page!