Time Reporting
Reporting parameters
Parameter | Description |
---|---|
ID |
Time Entry ID |
Hours |
Number of (decimal time) hours tracked in this time entry |
Notes |
Time entry notes |
Project-ID |
Project ID that the time entry is associated with |
Spent-At |
Date of the time entry |
User-ID |
User ID that tracked this time entry |
Is-Billed |
true if the time entry has been marked as invoiced, false if uninvoiced |
Is-Closed |
true if the time entry has been approved via Timesheet Approval (no API support), false if un-approved |
Timer-Started-At |
Time (UTC) and date that timer was started (if tracking by duration) |
Hours-With-Timer |
Running timers will return the currently tracked value in decimal time |
Started-At |
Start timestamp of timer (if timestamps are enabled) |
Ended-At |
End timestamp of timer (if timestamps are enabled) |
Billable |
true if the time entry is billable, false if non-billable |
Billable-Rate |
The billable rate applied to this time entry. |
Cost-Rate |
The cost rate applied to this time entry. |
Updated-At |
Time (UTC) and date that entry was last updated |
Created-At |
Time (UTC) and date that entry was created |
All entries for project timeframe
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD
HTTP Response: 200 OK
Examples
All entries by user for timeframe
This call requires parameters (from
, to
) to describe the timeframe to use for a report. This method can be used to view your own entries on a specific project.
GET https://YOURACCOUNT.harvestapp.com/people/{USER_ID}/entries?from=YYYYMMDD&to=YYYYMMDD
HTTP Response: 200 OK
Filtering options
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD&billable=yes
Acceptable values for the billable
parameter are yes
and no
.
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD&only_billed=yes
Acceptable value for the only_billed
parameter is yes
. Anything else will be ignored.
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD&only_unbilled=yes
Acceptable value for the only_unbilled
parameter is yes
. Anything else will be ignored.
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD&is_closed=no
Acceptable values for the is_closed
parameter are yes
and no
.
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?from=YYYYMMDD&to=YYYYMMDD&updated_since=2010-09-25+18%3A30
Acceptable value for the updated_since
parameter is a UTC date time value, URL encoded.
GET https://YOURACCOUNT.harvestapp.com/projects/{PROJECT_ID}/entries?user_id=1334