cURL
curl --request POST \ --url https://{host}/timmi-timesheet/api/timesheets/{id}/deny \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "comment": "<string>" }'
[ { "id": 123, "exceptionMessage": "<string>", "startsOn": "2023-12-25", "endsOn": "2023-12-25", "expectedNextActor": {}, "status": "<string>" } ]
Deny a timesheet with a mandatory comment.
Can only be performed on a timesheet with a pending status.
pending
API key. Value must be formatted like so: lucca application={api_key}.
lucca application={api_key}
timesheet id
OK
The response is of type WorkflowItem · object[].
WorkflowItem · object[]
Was this page helpful?