Updates the time entry.
Changed onUpdates the time entry. 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. <Check title="Required Permissions" icon="key">The user must have permission to access the requested resource.</Check>
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/timeentries/{timeEntryId}
- Auth: HTTP bearer
Path parameters
The id of the time entry.
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PutTimeEntryByIdremoved and replaced withtimeEntries_PutTimeEntryById
- info