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

Time Tracking API Documentation - by Person

Avatar

The documentation for the “Time Tracking API:http://www.getharvest.com/api/time-tracking only shows the URI for getting time entries made by the requesting user (the user account that authenticated the HTTP connection). The URI for this is as follows:

GET /daily/#{day_of_the_year}/#{year}

However, it is also possible (for administrator-level users) to access time entries for any user, using the following URI:

GET /daily/#{user_id}/#{day_of_the_year}/#{year}

The latter is completely undocumented (except that it also happens to be the URI when browsing other users timesheet in the Harvest Web UI).

Is part of the API officially supported? Can we get it added to the documentation? Also, what other methods support this additional argument? Can we create a time entry on behalf of another user? Is this done via the URI or by adding the user_id to the XML POST data?

Thanks,

Avatar

Also, the forums are still not respecting the Link formatting markup (please fix).

Here’s a link to the Time Tracking API:

http://www.getharvest.com/api/time-tracking

Avatar

Yes, Jim, this feature has been undocumented in the API for a long time. It is time to change that. Here is the quick and easy documentation:

http://www.getharvest.com/api/time-tracking#oth…

(As for the forum formatting issues, I’m going to take a look at that today.)

Avatar

Jim, wanted to let you know any new posts or comments should respect Textile formatting just fine. We also have code formatting improved as well. Hope that helps!

 

[ Please sign up to post a comment. ]