Set which tenants hold a record
PUT/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/sections/:section/:deduplicationId/coverage
Adds a copy to each added, unlocked tenant and removes the copy from each removed one; locked tenants keep what they have. Widening a system-originated record needs coverageExpansionConfirmed. Needs credentialing-workflow:details:create (widening) and details:delete (narrowing) on every member tenant; widening a Supporting Document needs the upload's four permissions instead, details:supporting-documents:create among them, and a file that is its own workflow's upload or already shared with the run. The new copies of a record with attachments carry them, which needs details:attachments:create on every member tenant too, and files that are their holders' own uploads or already shared with the run. Removed copies take their attachments with them; no file is deleted.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 422
Coverage set
A malformed request, an unknown section or no tenant left
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)
STALE_RECORD, SHARE_CONFIRMATION_REQUIRED or WORKFLOW_CONFLICT; nothing was changed
NPDB_NOT_SHAREABLE, PRIVATE_ROW_NOT_SHAREABLE, SUPPORTING_DOCUMENT_NOT_SHAREABLE, ATTACHMENT_NOT_SHAREABLE or COVERAGE_NARROWING_UNSUPPORTED