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.
<Check title="Required Permissions" icon="key">The user must be an admin or the creator.</Check>
Path parameters
The id of the user.
Response
OK
Example response
{
"isBillable": true,
"taskId": "123e4567-e89b-12d3-a456-426614174000",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"note": "I created a first draft for the new sitemap",
"timezone": "Europe/Berlin",
"duration": 8635,
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWork": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"icon": "thumb_up"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "Carla",
"lastName": "Creative"
},
"task": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"baseType": "projecttask",
"taskStatusId": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"projectStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"description": "Work in progress",
"type": "todo"
},
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"hasImage": true,
"description": "One of our customers"
},
"projectType": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"icon": "thumb_up"
},
"hasImage": true,
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
},
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"plannedDuration": 21600,
"taskStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"description": "Work in progress",
"type": "todo",
"order": 1,
"icon": "arrow_forward"
},
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"correlationId": "123e4567-e89b-12d3-a456-426614174000",
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"parentTask": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design"
}
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"projectStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"description": "Work in progress",
"type": "todo"
},
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"hasImage": true,
"description": "One of our customers"
},
"projectType": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"icon": "thumb_up"
},
"hasImage": true,
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
},
"breaks": [
{
"startDate": "2022-01-01T12:00:00Z",
"duration": 3600,
"endDate": "2022-01-01T13:00:00Z"
}
],
"resourceVersion": 637825154598057900,
"isExternal": true
}Changes
Changed in 7 of the 20 revisions of this API.31659
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
- ▲
the response's body type changed from
arraytoobjectfor statusresponse-body-type-changed
- ▲
the response's body type changed from
arraytoobjectfor statusresponse-body-type-changed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
- ○
api operation id
GetLastTimeEntriesByUserIdV2was addedapi-operation-id-added
- ○
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
- ○
added the success response with the status
response-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○