Sign in to participate

Be Kind, Be Helpful

Ask a question, answer a question, and get to know the fine people in the Harvest community.

Forum powered by Altered Beast
This is a Topic in API and Developers

Announcement: Greater availability of updated_since filtering in API

Avatar

We have released some new filters throughout the API. The updated_since parameter should make syncing any locally stored data a much easier task. The new filter has been added to the following API’s:

The updated_since filter was already available prior in these API’s:

Along with this change, the Reports API now also has a filter available on is_closed.

Please do let us know if you have any questions or concerns with these new API methods.

Avatar

Just a quicky, this might be common knowledge though (if it is, sorry :) )

e.g. the project api, will updated_since also take into account any time entries to that project? Or does it only reflect actual changes to the properties of the project itself?

Cheers,

Ben

Avatar

The updated_since filter on projects is only meant for the project properties themselves. One corollary to this is that user and task assignment updates to the project will also refresh the updated_at attribute, which will impact results using the updated_since filter.

Avatar

Tx, too bad. Would’ve saved a lot of calls.

Cheers, Ben

Avatar

Ben, the Reporting API also has an updated_since filter.

http://www.getharvest.com/api/reporting

Tracking time is not really a fundamental change in a project, which is why updated_since does not reflect that activity in the Project API.

Avatar

Tx for the heads up, will look into it. Just to be on the safe side. Getting time-entries for e.g. a project with an updated_since filter on it, will return all new objects + all changed objects for that UTC right?

Avatar

Yes. All new + changed objects.

 

[ Please sign up to post a comment. ]