PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Staff → Get Timesheets

AI-generated

Summary

Retrieve timesheets for a specified staff member, optionally filtering by task and date range, and control the number of returned results.

Inputs

  • Staff ID (required) — The ID of the staff member whose timesheets to retrieve.
  • Return All — Whether to return all matching timesheets or limit the number of results.
  • Limit — Maximum number of timesheets to return if 'Return All' is false.
  • Filters — Optional filters including Task ID to filter by a specific task, Date From to filter timesheets starting from this date, and Date To to filter timesheets up to this date.

Output shape

a list of timesheet records for the specified staff member, filtered and paginated according to input parameters

Supports pagination and filtering by task_id, date_from, and date_to. If 'Return All' is true, returns all matching timesheets; otherwise, limits output by 'Limit'.

Examples

Example 1: Retrieve all timesheets for staff member 1234

Set Staff ID to '1234', enable 'Return All' to true.

Example 2: Retrieve up to 10 timesheets for staff member 5678 filtered by task and date range

Set Staff ID to '5678', set 'Return All' to false, set 'Limit' to 10, and use Filters to specify 'Task ID', 'Date From', and 'Date To'.

Discussion