curl --request GET \
--url https://{host}/api/v3/timeentries \
--header 'Authorization: <authorization>'{
"data": {
"count": 123,
"items": [
{
"ownerId": 199,
"unit": 2,
"startsAt": "2022-01-01T08:00:00",
"duration": "03:45:00",
"id": 2,
"owner": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"legalEntityId": 123
},
"endsAt": "2022-01-01T11:45:00",
"authorId": 199,
"createdAt": "2022-01-01T18:35:10",
"modifierId": 123,
"modifiedAt": "2022-01-01T18:42:14",
"archivedAt": "2022-01-01T18:41:12",
"creationSource": 2,
"layer": 123,
"axisSections": [
{
"id": 2,
"code": "<string>",
"name": "<string>",
"multilingualName": "<string>",
"description": "<string>",
"ownerId": 2,
"startOn": "2023-11-07T05:31:56Z",
"endOn": "2023-11-07T05:31:56Z",
"active": true,
"axisId": 123,
"parentAxisSections": [
{}
],
"childrenAxisSections": [
{}
]
}
],
"comment": {
"id": 123,
"content": "<string>",
"authorId": 123,
"createdAt": "2023-11-07T05:31:56Z"
},
"timeTypeId": 123,
"timesheetId": 123
}
]
}
}List all time-entries satisfying query filters.
For technical purposes, a time-entry of duration 00:00:00 will be returned for any day if :
Read more about the time-entry object.
Please see this guide on how to retrieve time-entries the right way.
curl --request GET \
--url https://{host}/api/v3/timeentries \
--header 'Authorization: <authorization>'{
"data": {
"count": 123,
"items": [
{
"ownerId": 199,
"unit": 2,
"startsAt": "2022-01-01T08:00:00",
"duration": "03:45:00",
"id": 2,
"owner": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"legalEntityId": 123
},
"endsAt": "2022-01-01T11:45:00",
"authorId": 199,
"createdAt": "2022-01-01T18:35:10",
"modifierId": 123,
"modifiedAt": "2022-01-01T18:42:14",
"archivedAt": "2022-01-01T18:41:12",
"creationSource": 2,
"layer": 123,
"axisSections": [
{
"id": 2,
"code": "<string>",
"name": "<string>",
"multilingualName": "<string>",
"description": "<string>",
"ownerId": 2,
"startOn": "2023-11-07T05:31:56Z",
"endOn": "2023-11-07T05:31:56Z",
"active": true,
"axisId": 123,
"parentAxisSections": [
{}
],
"childrenAxisSections": [
{}
]
}
],
"comment": {
"id": 123,
"content": "<string>",
"authorId": 123,
"createdAt": "2023-11-07T05:31:56Z"
},
"timeTypeId": 123,
"timesheetId": 123
}
]
}
}API key. Value must be formatted like so: lucca application={api_key}.
{offset},{limit}. Defaults to 0,1000.
"2000,500"
Filter out time-entries on its ownerIds
{comparator},{date-time}. Filter out time-entries on its startsAt.
"between,2021-01-01,2021-02-01"
Filter on a comma-separated list of AxisSections identifiers.
Filter on a comma-separated list of AxisSections codes.
{comparator},{date-time}. Filter out time-entries on their modifiedAt.
"since,2021-01-01T08:45:23Z"
{comparator},{date-time}. Filter out time-entries on their startsAt.
"since,2021-01-01T08:45:23Z"
{fieldName},{direction}. Defaults to {id},{asc}
OK
Show child attributes
Was this page helpful?