Replace all site visits on a facility workflow
PUT/facility-credentialing-workflows/:workflowId/site-visits
Replaces the entire site visits list for the specified facility credentialing workflow with the array provided in the request body. When to use: Supply the complete desired list — omitting an existing item removes it. To clear all site visits, send an empty array []. Preconditions: The workflow must belong to the caller's tenant. Returns: 200 OK with the updated workflow section. Returns 404 if the workflow is not found, 400 if the request body is invalid.
Request
Responses
- 200
- 400
- 404
Site visits updated successfully
Invalid request
Workflow not found