Timesheet Approval

Get Employees for Status Grouping

Get paginated list of employee IDs grouped by timesheet status for the groupByStatus feature. Employees with pending timesheets are grouped first, followed by employees with no pending timesheets.

post/tsa/v2/employees-for-status-grouping

Request

  • Base URL
    https://your-subdomain.deputy.deputy.com/api
  • URL
    https://your-subdomain.deputy.deputy.com/api/tsa/v2/employees-for-status-grouping
  • Auth
    API key in header OAuth

Request body

dateFromstring

start of date range, inclusive, Y-m-d

dateTostring

end of date range, inclusive, Y-m-d

cursorstring

pagination cursor for getting next page of results

limitinteger

maximum number of employee IDs to return (default 50)

areaIdsinteger[]

filter by operational unit area IDs

employeeNameQuerystring

search employees by first name, last name, or display name

leaveLocationIdsinteger[]

filter by employee location IDs (employee.company)

reviewStatestring

filter by timesheet review state

subordinateEmployeeIdsinteger[]

restrict results to specific subordinate employee IDs

Response

A successful response.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.