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": "jsmith@example.com",
"legalEntityId": 123,
"manager": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"legalEntityId": 123
}
},
"startsOn": "2023-12-25",
"endsOn": "2023-12-25",
"expectedNextActorId": 123,
"expectedNextActor": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"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": "jsmith@example.com",
"legalEntityId": 123,
"manager": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"legalEntityId": 123
}
},
"startsOn": "2023-12-25",
"endsOn": "2023-12-25",
"expectedNextActorId": 123,
"expectedNextActor": {
"id": 2,
"firstName": "<string>",
"lastName": "<string>",
"mail": "jsmith@example.com",
"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
Was this page helpful?