Invalidate a timesheet
Invalidate a timesheet with a mandatory comment.
Can only be performed on a timesheet with an approved status.
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 invalidated.
Response
OK
A WorkflowItem is an individual workflow action performed by a user.
The expectedNextActor object is a User. See API reference. [blocked]
Unique id of the WorkflowItem.
Any human readable error message.
The Timesheet the WorkflowItem is related on starting date (included).
yyyy-MM-ddThe Timesheet the WorkflowItem is related on ending date (excluded).
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.