Tasks

GET /tasks

List all tasks for the company with optional filters

Request

  • Base URL
    https://api.fergus.com
  • Auth
    • OAuth 2
      Authorization codehttps://auth.fergus.com/oauth2/authorize
      Token URLhttps://auth.fergus.com/oauth2/token
    • or HTTP bearer
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

pageSizeinteger
'asc'
OR
'desc'
pageCursorstring
'createdAt'
OR
'dueDate'
'pending'
OR
'completed'

Filter by task status

filterEmployeeIdnumber

Filter tasks assigned to this employee ID

filterJobIdnumber

Filter tasks linked to this job ID

filterDueDateFromstring date

Filter tasks with due date on or after this date (yyyy-mm-dd)

filterDueDateTostring date

Filter tasks with due date on or before this date (yyyy-mm-dd)

filterOverdueboolean

Filter to tasks that are past their due date and not completed

Response

Successful Response

resultstring required

Changes

No recorded changes to this operation across all 18 revisions of this API.