Timesheets API
A timesheet is one person's week of time on one project, Monday to Sunday: the Monday it starts on, the minutes it holds with the billable minutes among them, the count of logs, and where it stands.
A timesheet is one person's week of time on one project, Monday to Sunday: the Monday it starts on, the minutes it holds with the billable minutes among them, the count of logs, and where it stands. A week is open while its logs still change, awaiting approval from the moment it is put to the project's approvers (its logs hold until they answer or the week is withdrawn), and approved once they approve it, which locks every log of the week and counts it for billing. An approver may reopen an approved week, which unlocks its logs, and the week waits to be put forward again.
The approval itself runs through the approvals endpoints like every other gate: the submission here opens the request, the approvers decide it with POST /v1/approvals/{approval}/decide, and the person who put the week forward withdraws it with POST /v1/approvals/{approval}/withdraw. Who approves comes from the project's Timesheet approval policy, the project manager by default.
Every read here is the team's; a client guest's token is refused with 403. A week is read by its owner, or by anyone who may see the project's time; it is put forward by its owner, or for them by someone who may approve time on the project.
Endpoints
/v1/me/timesheetsList my timesheetsGET/v1/projects/{project}/timesheetsList a project's timesheetsGET/v1/timesheets/{timesheet}Get a timesheetGET/v1/timesheets/{timesheet}/revisionsList a timesheet's versionsGET/v1/timesheets/{timesheet}/revisions/{revision}Get a versionPOST/v1/projects/{project}/timesheets/submitSubmit a weekPOST/v1/timesheets/{timesheet}/reopenReopen a timesheetPOST/v1/timesheets/{timesheet}/revisions/{revision}/restoreRestore a versionRelated
How is this guide?
Last updated on