v1

latestOpenAPI 3.1.0Apache 2.02026-07-22160175414.0 KB
TimeEntries

Get a time-entry by id

Retrieve a single time-entry identified by its unique identifier.

Read more about the time-entry object.

Please see this guide on how to retrieve time-entries the right way.

get/api/v3/timeentries/{timeEntryId}

Response

OK

dataTimeEntry

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".