Deny a timesheet
Timesheets
Deny a timesheet
Deny a timesheet with a mandatory comment.
Can only be performed on a timesheet with a pending status.
POST
Deny a timesheet
Headers
API key. Value must be formatted like so: lucca application={api_key}.
Path Parameters
timesheet id
Body
A comment to explain why this timesheet is denied.
Minimum string length:
1Response
OK
Unique id of the WorkflowItem.
Any human readable error message.
The Timesheet the WorkflowItem is related on starting date (included).
Pattern:
yyyy-MM-ddThe Timesheet the WorkflowItem is related on ending date (excluded).
Pattern:
yyyy-MM-ddA Directory 'User'. See API reference for up-to-date attributes.
- "success" for a succesfull workflow operation.
- "error" if any error was met, and therefore an excetion message is set.
- "noAction" if the workflow operation was not performed.