Set one member's File Type (Clean or Non-Clean) or hide its findings, under its own tenant
PUT/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/members/file-type
Writes a File Type change on one member workflow of this shared credentialing run, under the tenant named in the body, while the member is at PSV Complete. The shared page spans tenants and the tenant-scoped PATCH /credentialing-workflows/{workflowId}/practitioner-file-type can only answer for the caller's selected one, so the member's real tenant travels in the body. hiddenFindingRuleKeys is the full set of findings to hide from the PSV packet; without fileType the save is hide-only: it writes no analyst File Type, so the verdict stays the platform's, and needs no reason. A Non-Clean change always needs a reason; a Clean change needs one while a finding stays unhidden; either needs one when the member's verdict could not be evaluated or there is none. The caller must hold the File Type permission in the body tenant, and the member's tenant must have PSV transparency switched on. Repeating the newest analyst change with the same hides is a 204 that writes nothing.
Request
Responses
- 204
- 400
- 403
- 404
- 409
- 500
The change was written, or the same change was already in place
VALIDATION_ERROR: a missing run id, workflowId or tenantId, neither fileType nor hiddenFindingRuleKeys, an unknown fileType, a reason over 1000 characters, more than 50 or blank hide keys, or a hide key that is not one of the member's findings. FILE_TYPE_REASON_REQUIRED: the reason rule refused. WORKFLOW_NOT_EDITABLE: the member is not at PSV Complete, its verdict is frozen, or its tenant is not switched on
TENANT_UPDATE_NOT_PERMITTED: the caller lacks the File Type permission in the body tenant; nothing was written
The workflow and tenant are not a member of this shared run in this anchor group
WORKFLOW_CONFLICT: a concurrent writer modified this workflow and the retry budget was exhausted; safe to retry
The write failed