Attendance > EditTimesheetRequest
Creates an Edit timesheet request
Changed onCreates an edit timesheet request by specifying the type of the request and the fields required to create or update the shift.
post/api/2026-10-01/resources/attendance/edit_timesheet_requests
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/attendance/edit_timesheet_requests
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_tracking
- or API key in header x-api-key
Request body
Example request
{
"employee_id": "1",
"request_type": "create_shift",
"reason": "Looks good!",
"date": "2022-01-01",
"clock_in": "2024-01-01T12:12:01-02:00",
"clock_out": "2024-01-01T12:12:01-02:00",
"workable": true,
"attendance_shift_id": "1",
"reference_date": "2022-01-01",
"time_settings_break_configuration_id": "1",
"location_type": "office",
"observations": "Employee arrived late due to traffic",
"workplace_id": "1",
"clock_in_work_area_id": "1",
"clock_out_work_area_id": "1"
}Response
CREATED
Example response
{
"id": "1",
"request_type": "update_shift",
"employee_id": "1",
"workable": true,
"clock_in": "08:30",
"clock_out": "10:30",
"location_type": "office",
"reason": "Looks good!",
"attendance_shift_id": "1",
"time_settings_break_configuration_id": "1",
"observations": "Employee arrived late due to traffic",
"date": "2023-10-01",
"reference_date": "2023-10-01",
"workplace_id": "1",
"clock_in_work_area_id": "1",
"clock_out_work_area_id": "1"
}Changes
- info
endpoint added
- info