Skip to content

TaskGetAllOptions

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

Options for getting tasks across folders

Type Declaration

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

folderId?

optional folderId: number

Optional folder ID to filter tasks by folder