Approve Timesheet

Approves a timesheet (process resource). Only a timesheet whose derived status is PENDING_APPROVAL can be approved; approving an already-approved or not-yet-open timesheet returns 409. Returns the updated timesheet with status APPROVED.

OAuth Scopes: time_tracking:timesheets.write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

ID of the timesheet to approve.

date-time
required

The timesheet's hoursLastChangedAt value as last fetched by the caller, in ISO 8601 UTC. This is specifically hoursLastChangedAt, not updatedAt: hours are stored separately, so the timesheet row's updatedAt may not move when hours change (and vice versa). The approval is rejected with 409 if the timesheet's hours changed after this instant, so callers never approve a version they have not seen.

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json