Skip to content

TaskGetAllOptions

type TaskGetAllOptions = RequestOptions & PaginationOptions & {
  folderId?: number;
  asTaskAdmin?: boolean;
};

Options for getting tasks across folders

Type Declaration

folderId?

optional folderId: number;

Optional folder ID to filter tasks by folder

asTaskAdmin?

optional asTaskAdmin: boolean;

Optional flag to fetch tasks using admin permissions When true, fetches tasks across folders where the user has at least Task.View, Task.Edit and TaskAssignment.Create permissions When false or omitted, fetches tasks across folders where the user has at least Task.View and Task.Edit permissions