Updates the time entry with the specified id.
Updates the time entry with the specified id. Depending on the time entry, the calling users has to have several permissions to update the time entry: No permissions are required if the calling user is owner of this time entry. If the calling user is not the creator of the time entry and the time entry is connected to a project, ‘write’ permissions on the ‘project-timetracking’ feature are necessary. If the time entry is connected to a task, the user needs to be assignee of this task or the user needs permissions on: ‘project-planning-data’ if it is a project task. The break duration of the time entry is kept the same. The break duration cannot be smaller than the duration of the time entry. To remove the breaks, use the endpoint POST /timeentries/{id}/removeBreaks. Following combination of times and duration are allowed for already completed time entries:
- start time (local or utc) and end time (local or utc) (this option always takes precedence)
- start time (local or utc) and duration
- end time (local or utc) and duration For running time entries, you can only update the start time (local or utc) while the duration stays 0.
Required Permissions
Any authenticated user.Path parameters
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The date (in UTC) when the time tracking was started.
The time (in UTC) when the time tracking was started.
The date (in UTC) when the time tracking was stopped.
The time (in UTC) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
The date (in Local) when the time tracking was started.
The time (in Local) when the time tracking was started.
The date (in Local) when the time tracking was stopped.
The time (in Local) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
Response
The date (in UTC) when the time tracking was started.
The time (in UTC) when the time tracking was started.
The date (in UTC) when the time tracking was stopped.
The time (in UTC) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
The date (in Local) when the time tracking was started.
The time (in Local) when the time tracking was started.
The date (in Local) when the time tracking was stopped.
The time (in Local) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
True if this entity is coming from an external workspace (awork Connect).