Upload a new supporting document to a workflow
POST/monitoring-workflows/:workflowId/supporting-documents
Uploads a single supporting document file and appends it to the workflow's supporting documents collection. Use this endpoint to add one document without affecting the others; use PUT /monitoring-workflows/{workflowId}/supporting-documents to replace the entire collection. The request is a multipart/form-data upload: file is required (the binary content); fileType is required (e.g. 'Medical License'); state is optional; expirationDate is optional and must be in YYYY-MM-DD format when provided — an invalid format returns 400. Requires MONITORING_WORKFLOW_DETAILS_CREATE, MONITORING_WORKFLOW_DETAILS_UPDATE, and MONITORING_WORKFLOW_DETAILS_SUPPORTING_DOCUMENTS_CREATE. The tenant-id header is mandatory.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
Supporting document uploaded successfully
Bad request - file is missing, fileType is missing, or expirationDate is not in YYYY-MM-DD format
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Monitoring workflow not found
Internal server error