Returns the last time entry of a specified user.

The last time entry is always the last one that was started. Time entries which are started in the future are ignored. If a time entry does not have a start time, 12.00 am is automatically assumed as the start time for comparison with other time entries from the same day.

Required Permissions
The user must be an admin or the creator.

Path parameters

userIdUUIDRequired
The id of the user. Not required if the me route is used.

Headers

AuthorizationstringRequired

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

Response

OK
timezonestring>=1 character
The original timezone of the time tracking. The format of the timezone is the IANA standard.
typeOfWorkIdUUID
The id of the type of work.
isBillableboolean or null
Whether the time tracking is billable or not.
isBilledboolean or null
Whether the time tracking is billed or not.
taskIdUUID or null or null
The id of the task.
projectIdUUID or null or null
The id of the project.
notestring or null or null
The note of the time tracking.
startDateUtcdatetime or null or null

The date (in UTC) when the time tracking was started.

startTimeUtcstring or null or null

The time (in UTC) when the time tracking was started.

endDateUtcdatetime or null or null

The date (in UTC) when the time tracking was stopped.

endTimeUtcstring or null or null

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.

startDateLocaldatetime or null or null

The date (in Local) when the time tracking was started.

startTimeLocalstring or null or null

The time (in Local) when the time tracking was started.

endDateLocaldatetime or null or null

The date (in Local) when the time tracking was stopped.

endTimeLocalstring or null or null

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.

durationinteger or null or null
The duration of the time tracking in seconds. Required when the time tracking has already been completed and EndTime has not been set.
breakDurationinteger or null or null
The duration of the break in seconds. Cannot be set via API.
userIdUUID or null or null
The id of the user. Can be null if the user was deleted.
idUUID or null
The id of the time tracking.
createdByUUID or null
The id of the user who created this time tracking.
createdOndatetime or null
The date this time tracking was created.
updatedByUUID or null
The id of the user who last updated this time tracking.
updatedOndatetime or null
The date this time tracking was last modified.
typeOfWorkobject or null
userobject or null
taskobject or null
projectobject or null
breakslist of objects or null
The breaks of the time tracking.
resourceVersionlong or null
The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
isExternalboolean or null

True if this entity is coming from an external workspace (awork Connect).