PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Timesheet → Get Many

AI-generated

Summary

Retrieve multiple timesheet records from PerfexCRM, with optional filtering by staff ID and task ID, and control over pagination via returnAll, limit, and offset parameters.

Inputs

  • Return All — Boolean to decide whether to return all matched timesheets or limit the results.
  • Limit — Maximum number of timesheet records to return if Return All is false. Minimum value is 1.
  • Offset — Number of timesheet records to skip before starting to return results if Return All is false. Minimum value is 0.
  • Filters — Optional filters to narrow down results by Staff ID or Task ID.

Output shape

a list of timesheet objects matching the given filters and pagination, returned as an array of JSON objects.

If Return All is true, pagination parameters Limit and Offset are ignored and all matching timesheets are returned. If false, up to Limit timesheets will be returned starting after Offset. The response includes only the timesheet data directly from the PerfexCRM API's /timesheets endpoint as filtered.

Examples

Example 1: Retrieve all timesheets for a particular staff member

Return All: true; Filters: Staff ID set to desired staff member ID

Example 2: Retrieve a limited page of timesheets for a specific task

Return All: false; Limit: 50; Offset: 100; Filters: Task ID set to desired task ID

Discussion