Timesheets
Deny a timesheet
Deny a timesheet with a mandatory comment.
Can only be performed on a timesheet with a pending
status.
POST
/
timmi-timesheet
/
api
/
timesheets
/
{id}
/
deny
Path Parameters
id
integer
requiredtimesheet id
Body
comment
string
requiredA comment to explain why this timesheet is denied.
Minimum length:
1
Response
200 - application/json
id
integer
Unique id of the WorkflowItem.
exceptionMessage
string
Any human readable error message.
startsOn
string
The Timesheet the WorkflowItem is related on starting date (included).
endsOn
string
The Timesheet the WorkflowItem is related on ending date (excluded).
expectedNextActor
object
A Directory 'User'. See API reference for up-to-date attributes.
status
string
- "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.
Was this page helpful?