TimeEntries
Update a time-entry by id
Update fields of a single time-entry identified by its unique id.
The "id" field must be sent and correspond to an existing time-entry.
Read more about the time-entry object and any validation error that you might encounter when using this API.
There are different ways to update time-entries. Please see this guide on how to update time-entries the right way depending on your use case.
put/api/v3/timeentries/{timeEntryId}
Request body
TimeEntry required
time-entries are the working time sequences spent by a user on any given day.
time-entries come in different units and submission modes that should match the timesheet configuration of a given owner on a given day.
About units & duration
Lucca Timesheet supports up to 3 different units when it comes to entering time-entries. These are:
- 0: Days In this case, the user does not enter the exact hours he/she started working, but rather the total duration spent as a fraction of a day. For example: "John worked half a day on Monday".
- 1: Hours In this case, the user still does not enter the exact hours, but only the duration spent in hours. For example: "John worked 7h30min yesterday".
- 2: Time In this unit, the user has to enter the actual time he/she started working, as well as the end time. For example: "John started working at 08:00 for 3 hours, thus ending at 11:00".
Response
OK