Add a note to tenants of a shared credentialing workflow
POST/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/notes
Adds the note to each member workflow of the tenants named in targetTenantIds; locked workflows are skipped and reported, and a workflow already holding the note gets no second copy. Needs credentialing-workflow:note:create on every member tenant.
Request
Responses
- 201
- 400
- 403
- 404
- 409
- 422
Added
INVALID_REQUEST: no target tenant, a target outside the workflow, a missing, blank or over-long message, or recordKind SHARED (a body that can't be bound: VALIDATION_ERROR)
TENANT_PERMISSION_MISSING: note:create is missing on a member tenant
No such shared workflow, or a member tenant the caller has no note read on (all-tenant authority)
WORKFLOW_CONFLICT: another write kept changing the notes
ALL_TENANTS_LOCKED: every workflow the note would reach is at PSV Complete or later, so nothing was added; or TOO_MANY_NOTES: a member workflow holds more notes than can be read at once