List timesheets
deputy_list_timesheetsSearch timesheets (actual worked time) by time window, employee, area and approval state. Each record has StartTime/EndTime (unix; EndTime null while in progress), TotalTime (hours), Cost, TimeApproved, PayRuleApproved, IsInProgress, IsLeave, Roster (linked shift) and Exported. Deputy: POST /api/v1/resource/Timesheet/QUERY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only timesheets starting at or before this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times). | |
| max | No | Page size, 1-500 (Deputy's cap). Default 100. | |
| from | No | Only timesheets starting at or after this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times). | |
| start | No | Pagination offset (0-based). Pass the previous page's next_start. | |
| area_id | No | Only timesheets in this area (OperationalUnit id). | |
| employee_id | No | Only this employee's timesheets. | |
| in_progress | No | true = only people currently on the clock. | |
| pay_approved | No | Filter on PayRuleApproved (approved for payroll export). | |
| time_approved | No | Filter on TimeApproved (supervisor approved the times). |