Task Services API
Use these APIs to query tasks with configurable options and manage assignments and task lifecycle. The examples access these methods through context.Tasks. See the Tasks API for named queries by status, team, department, or group.
Methods
| Method | Purpose |
|---|---|
| FetchAllTasksAsync | Query all visible tasks with paging, filtering, and sorting. |
| FetchMyTasksAsync | Query tasks for the current user. |
| FetchMyGroupTasksAsync | Query tasks associated with the current user's group. |
| FetchTaskByIdAsync | Retrieve a task by ID. |
| TakeAssignmentAsync | Take a task assignment. |
| ReleaseTaskAsync | Release a task assignment. |
| SetTaskAssigneeAsync | Assign a task to a user. |
| ReassignTasksAsync | Reassign multiple tasks to a user. |
| MarkTaskCompleteAsync | Complete a task. |
| CancelTaskAsync | Cancel a task. |
| CancelTasksAsync | Cancel multiple tasks. |
| UpdateTaskAsync | Update task information. |
Models
- TaskQueryOptions controls task fetch queries.
- CRTaskInfo represents task details.
- CRTasks contains task results.
Results depend on the signed-in user's permissions and the task's current state. See SDK usage and troubleshooting for paging and failure handling.