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

Link Documents to Task

PUT /tenants/{tenant}/clients/{client}/clientdocument/task-link

Links the given documents to one of the client's tasks, or unlinks them from their task when taskCode is null. The file is not copied or moved and its portal folder is unchanged. A document has one task: one already on another task moves to this one. A document made by a step or request of its task cannot be unlinked, and fails individually. 404 when the task is not one of the client's.

Requires: Update on ClientDocuments.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
{
  "documentCodes": [
    "string"
  ],
  "taskCode": "string"
}

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
404 Not Found