Filter tasks by "updated_since"


#1

The ability to filter certain endpoints by “updated_since” was recently added (Support for updated_since date filter). However, it was not added to the tasks endpoint.

I maintain a Drupal plugin which integrates with FreeAgent to pull down the timeslip data per project.

To do that, I need to fetch the tasks for each project. It is not possible to filter the tasks, other than by project id or view (all, active, hidden, completed).

However, with over a few years worth of projects, that results in a lot of API calls to the service, which, with the introduction of the new rate limiting, is impacting on the data available to the application.

Is there any way we could get this filter added? Even a ‘sort by’ updated_at would help .

Thanks,
Stella


#2

I have the same problem. It is rather inconsistent to have it only for some end-points and for others not. We have many tasks accumulated over time - retrieving all them every time is a rather wasteful approach.


#3

Hi,

We have added support for updated_since date filter and sort options to the tasks API endpoint. Please refer to the documentation for more details: https://dev.freeagent.com/docs/tasks#list-all-tasks.

Kind regards,

Anup