curl --request GET \
--url https://{host}/api/v3/timmitimesheets \
--header 'Authorization: <authorization>'{
"data": {
"items": [
{
"id": 123,
"name": "45 - January 2016 - Approved",
"ownerId": 2,
"owner": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123,
"manager": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123
}
},
"startsOn": "2023-12-25",
"endsOn": "2023-12-25",
"expectedNextActorId": 123,
"expectedNextActor": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123
},
"status": 0,
"statuteId": 123
}
]
}
}List all timesheets satisfying query filters.
Please refer to the Timesheet API reference for additional information on the Timesheet resource.
curl --request GET \
--url https://{host}/api/v3/timmitimesheets \
--header 'Authorization: <authorization>'{
"data": {
"items": [
{
"id": 123,
"name": "45 - January 2016 - Approved",
"ownerId": 2,
"owner": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123,
"manager": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123
}
},
"startsOn": "2023-12-25",
"endsOn": "2023-12-25",
"expectedNextActorId": 123,
"expectedNextActor": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "[email protected]",
"legalEntityId": 123
},
"status": 0,
"statuteId": 123
}
]
}
}API key. Value must be formatted like so: lucca application={api_key}.
User's identifier.
Filter on the start date of the timesheet.
"between,2022-01-01,2022-02-01"
Filter on the timesheet workflow status. 0 for temporary, 1 for pending, 2 for approved, 3 for rejected.
Filter on the end date of the timesheet.
"until,2022-01-01"
OK
Show child attributes
The list of timesheets satisfying query filters.
Show child attributes
Uniquer identifier of the timesheet.
Human-readable description of the Timesheet
"45 - January 2016 - Approved"
Reference to the Timesheet owner.
x >= 1A Timesheet limited model of a user
Show child attributes
Unique identifier of this User.
x >= 1Given name.
Family name
Email address.
Unique identifier of the legal establishment this user currently has a work contract with.
A Timesheet limited model of a user
Show child attributes
Unique identifier of this User.
x >= 1Given name.
Family name
Email address.
Unique identifier of the legal establishment this user currently has a work contract with.
The Timesheet starting date (included).
The Timesheet ending date (excluded).
Reference to the TimesheetUser responsible for the next approval workflow step. Is null if status <> 1
Reference to the TimesheetUser responsible for the next approval workflow step. Is null if status <> 1
Show child attributes
Unique identifier of this User.
x >= 1Given name.
Family name
Email address.
Unique identifier of the legal establishment this user currently has a work contract with.
Approval workflow status for this timesheet
0, 1, 2, 3 Reference to the applicable "statute" (configuration).
Was this page helpful?