v1
latestOpenAPI 3.1.02026-07-242735131.1 MBTimesheets
Approve timesheet
Approves the given timesheet.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage timeoffs (time_and_attendance) | - | Manage timesheets (timesheet:write) |
post/v1/timesheets/{timesheet_id}/approve
Path parameters
timesheet_idstring required
Timesheet ID
Response
Success
Example response
{
"data": {
"timesheet": {
"approval_required": true,
"country_code": "PRT",
"employment_id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"end_date": "2021-07-01",
"id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"notes": "Some notes",
"start_date": "2021-07-01",
"status": "submitted",
"submitted_at": "2021-07-15T18:18:17Z"
}
}
}