Approve a week of hours
approve_timesheetApproves a week of hours a person on the user's projects submitted for approval: its hours stay closed to that person (the user, as the project owner, can still change them) and the person gets a notification. A rejected week has to be submitted again first. A Pro feature. Needs confirm: true; without it the result is a preview with the week's hours by project and task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Up to 500 characters, sent to the person with the notification. | |
| confirm | No | true performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects. | |
| timesheetId | Yes | A week handed in for approval (the user's own, or one handed to the user). |