Attendance > EditTimesheetRequest

Reads all Edit timesheet requests

Changed on

Reads all Edit timesheet requests

get/api/2026-10-01/resources/attendance/edit_timesheet_requests

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/attendance/edit_timesheet_requests
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: time_tracking
    • or API key in header x-api-key

Query parameters

ids[]string[]

Return only the timesheet-edit requests with these ids.

[
  "1",
  "2",
  "3"
]
employee_ids[]string[]

Return only the requests raised for these employees.

[
  "1",
  "2",
  "3"
]
shift_idstring

Return only the requests targeting this existing attendance shift. Requests that propose a brand-new shift have no shift yet and are never matched.

Example:1
pendingboolean

Set to true to return only the requests still awaiting a decision (approved is null). Passing false has no effect: it does not restrict the result to already-decided requests.

Example:true
start_onstring

Return only the requests about a timesheet day on or after this date. This is the day the request refers to, not the day it was created. Given without end_on it matches that single day.

Example:2022-01-01
end_onstring

Return only the requests about a timesheet day on or before this date. Given without start_on it matches every request up to that day.

Example:2022-01-01

Response

OK

Example response

{
  "data": [
    {
      "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