Autotask icon

Autotask

Work with Autotask PSA REST API resources

Actions125

Time Entry → List Time Entries

AI-generated

Summary

List Time Entries returns matching time entry records, optionally filtered and limited.

Inputs

  • returnAll — Whether to return all results or only up to a given Limit.
  • limit — Max number of results to return.
  • includeFields — Optional comma-separated list of fields to include in the response. Field names must match the Autotask entity (e.g. id, name, createDate). Leave blank to return all fields.
  • qfResourceID — Filter to time entries logged by this resource.
  • qfTicketID — Filter to time entries on this ticket.
  • qfTaskID — Filter to time entries on this task.
  • qfDateWorkedFrom — Date Worked From filter.
  • qfDateWorkedTo — Date Worked To filter.
  • useAdvancedFilters — Whether to show advanced filter controls (row-builder + raw JSON). Leave off to filter only by the Quick Filters above.
  • advancedFilters — Add filter clauses by field name and operator. All clauses are joined with AND. For OR / nested logic, use Custom Filter (JSON) below.
  • filterJson — Raw Autotask filter array, merged with the rest. Use for OR groups, nested clauses, or any filter the UI above cannot express.
  • requestOptions — Impersonation Resource ID to override credential default.

Output shape

a list of Time Entry records

Optionally paginated; fields can be limited with includeFields.

Examples

Example 1: Retrieve all billable time entries for a specific resource in January 2024

resource=resource, qfResourceID=12345, qfDateWorkedFrom=2024-01-01, qfDateWorkedTo=2024-01-31, returnAll=true, limit=200

Example 2: List time entries on ticket 98765 with only id and hoursWorked fields

qfTicketID=98765, includeFields=id,hoursWorked, limit=50

Example 3: Fetch time entries with advanced OR filter for two statuses

filterJson=[{"op":"or","items":[{"op":"eq","field":"status","value":1},{"op":"eq","field":"status","value":5}]}]

Links

Discussion