Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Bulk Update TaskItems

PATCH /tenants/{tenant}/tasks

Updates multiple tasks at once. Supports updating status, assigned user, category,
due date and the automation switch.

At least one of Status, AssignedUserCode, CategoryCode, IsAutomationDisabled or DueDate must be provided.

Due date: sets every task's due date; start and statutory due dates are left alone. Each moved
task's workflow step planned dates follow it unless MoveWorkflowStepDates is false.

Automation: IsAutomationDisabled = true switches automation off; false switches it on,
which immediately runs any workflow steps that are ready. Every code must belong to an
existing task - task previews are rejected rather than created.

Auto-assign behavior: When setting status to InProgress without specifying an AssignedUserCode,
any unassigned NotStarted tasks will be automatically assigned to the current user.

Requires: Update on Tasks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

Request Body*

{
  "codes": [
    "string"
  ],
  "status": "NotStarted",
  "assignedUserCode": "string",
  "categoryCode": "string",
  "isAutomationDisabled": false
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json