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.
Announcement: updated_since available in clients and projects API
There is a new filtering option available on the clients, client contacts and projects API. For the SHOW ALL requests, you may now pass an updated_since parameter. This allows easy access to retrieve only the most recent changes for the resources you are going after.
Example:
Say I keep a list of client information in an internal database. Currently this is updated nightly via the Harvest API. To update the internal database, the job must pull all clients from Harvest and update the internal DB accordingly. This could be done either by comparison for changes or just with a dumb overwrite of all data.
Now with updated_since in the client API, the job can simply call the Harvest API with the time of the previous job execution. Harvest will return only clients that have been updated since that time.
Documentation is available on the respective API pages.
http://www.getharvest.com/api/clients
http://www.getharvest.com/api/client_contacts
http://www.getharvest.com/api/projects
Please let us know if you have any questions!