Creates document records for files that already exist in the external storage provider. No file upload — titles are derived from the file names. Files are tracked independently, so the result can contain a mix of successes and failures; files already tracked fail individually.
Requires: Create on ClientDocuments.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| client* | path string | |
Request Body*
{
"files": [
{
"externalFileId": "...",
"fileName": "...",
"fileSize": "..."
}
],
"documentCategoryCode": "string",
"visibleInClientPortal": false,
"portalFolderPath": "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