DevelopersAPI referenceCronCrunchTimesheets
Approve a submitted week
Team workspaces only, owner or admin. The week must be submitted. Approved weeks stay locked.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/timesheets/string/approve"{ "timesheet": { "id": "string", "ownerId": "string", "weekStart": "2019-08-24", "status": "submitted", "submittedAt": "2019-08-24T14:15:22Z", "reviewedBy": "string", "reviewedAt": "2019-08-24T14:15:22Z", "note": "string" }}Weeks waiting for review
Team workspaces only, and only an owner or admin (org.data.read_all). Submitted weeks in this workspace, oldest first, at most 50. Each row includes that member's finished entries for the week. This is the one place a teammate's hours are visible. The entry list stays private.
Reject a week and reopen it
Team workspaces only, owner or admin. Submitted or approved weeks can be rejected, except an approved week with any invoiced or paid time, which is 409. note is required. The member can edit that week and submit it again.