Update Time Entry

Updates a time entry by its unique identifier. A Timesheet is a collection of time entries for a particular Resource for a specific week. Each time entry records the number of whole minutes spent by this Resource on an activity. An activity can be a Task in any project that Resource can access, or the activity can be an administrative task such as "Sick Leave" or "Meetings". When a time entry is linked to a Task, the number of minutes spent on the time entry are recorded as time spent on the Task. Time entries linked to an administrative tasks are grouped for reporting but are not added to any Task within your Workspace. Time entries are recorded in whole minutes. If you specify a time entry in fractional hours, either using the API or via the web application, the amount you specify will be converted to minutes and rounded to the nearest neighbor using the rounding algorithm Midpoint-Away-From-Zero. When a Timesheet is submitted for approval or approved, users are no longer permitted to create, update, or delete time entries for that week. Users with Global Admin level access can override this restriction and continue to make changes to a Timesheet after approval.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

timesheetIdstringRequiredformat: "uuid"
The unique identifier of the time entry to update

Headers

x-integration-namestringOptional
The name of the calling system passed along as a header parameter

Request

The new information that should replace the previous time entry
hoursdouble or nullOptional
Reported hours. If minutes is specified this property is ignored
minutesinteger or nullOptional
Specify the time in minutes. This overrides the Hours property.
notesstring or nullOptional
Notes
documentIdslist of strings or nullOptional
Document Ids

Response

Success
errorobject or null
If the API call failed, this will contain information about the error that occurred.
successboolean or null

True if the API call succeeded; false otherwise.

hasErrorboolean or null
True if the API call failed.
statusCodeenum or null
The HTTP code of the response.
dataobject or null
Time entry representation