v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Attendance > EditTimesheetRequest

Updates an Edit timesheet request

Updates an edit timesheet request by specifying the fields required to update the shift.

put/api/2026-07-01/resources/attendance/edit_timesheet_requests/{id}

Path parameters

idstring required

Request body

attendance_shift_idstring
clock_instring
clock_outstring
datestring
reference_datestring
employee_idstring required
idstring required
location_type'office' | 'business_trip' | 'work_from_home'
observationsstring
reasonstring
time_settings_break_configuration_idstring

Response

OK

idstring required

Unique identifier for the edit timesheet request

approvedboolean

Status of the edit timesheet request

request_type'create_shift' | 'delete_shift' | 'update_shift' required

Type of the request

employee_idstring required

Id of the shift's employee

workableboolean

Indicates if the shift is workable or a break

clock_instring

Clock in of the shift

clock_outstring

Clock out of the shift

location_type'office' | 'business_trip' | 'work_from_home'

Location of the shift

reasonstring

Approve or reject reason

attendance_shift_idstring

Id of the shift for the request

time_settings_break_configuration_idstring

Id of the type of break for the request

observationsstring

Additional observations for the shift

datestring

Date of the shift

reference_datestring

Reference date for the shift

Example response

{
  "id": "1",
  "request_type": "create_shift",
  "employee_id": "1",
  "workable": true,
  "clock_in": "08:30:15",
  "clock_out": "10:30:00",
  "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-09-30"
}