Upload a Supporting Document for the tenants named
POST/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/sections/supporting-documents
Stores the file once and gives each named tenant's unlocked workflows a Supporting Documents row holding it, so the page shows one document whose one file covers every tenant. Locked workflows are skipped and reported; when every one is locked, nothing is stored. Needs credentialing-workflow:details:create, details:update, details:delete and details:supporting-documents:create on every member tenant. The file is checked as the tenant upload checks it.
Request
Responses
- 201
- 400
- 403
- 404
- 409
- 415
- 422
Uploaded
INVALID_REQUEST: no file, an oversize file, a request part that isn't JSON, no targetTenantIds or one that isn't a participating tenant of this run, a blank fileType, or an expirationDate that isn't YYYY-MM-DD
The permission is missing on a member tenant
No such shared workflow, or a member tenant the caller has no read on (all-tenant authority)
WORKFLOW_CONFLICT: another write kept changing the rows
Not multipart/form-data. A JSON body to this path is refused here; it never reaches POST /{section}, which adds no Supporting Document
ALL_TENANTS_LOCKED: every workflow the document would reach is at PSV Complete or later, so no row was written. Nothing is stored, unless they locked while the upload was being saved: then the stored file is kept, referenced by no row