v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
FacilityCredentialingWorkflow

Update facility site visits

Replace all site visits for a facility credentialing workflow

put/facility-credentialing-workflows/{workflowId}/site-visits

Path parameters

workflowIdstring required

Headers

tenant-idstring required

Request body

gradestring required

The grade of the site visit

datestring

The date of the site visit

sourcestring required

The source of the site visit

createdAtstring

The date the record was created

createdBystring

The user who created the record

updatedAtstring

The date the record was last updated

updatedBystring

The user who last updated the record

verifiedDatestring

The date the site visit was verified

verifiedBystring

The user who verified the site visit

Example request

[
  {
    "grade": "A",
    "date": "2024-01-15",
    "source": "Accreditation Body",
    "createdAt": "2024-01-01",
    "createdBy": "user@example.com",
    "updatedAt": "2024-06-01",
    "updatedBy": "user@example.com",
    "attachments": [
      {
        "createdAt": "2024-01-15T10:30:00Z",
        "fileType": "License",
        "fileUrl": "gs://bucket/facility-credentialing-workflow/attachments/file.pdf",
        "originalFileName": "license.pdf",
        "state": "CA",
        "expirationDate": "2025-12-31",
        "source": "CAQH",
        "createdBy": "user@example.com",
        "updatedAt": "2024-02-15T14:20:00Z",
        "updatedBy": "admin@example.com"
      }
    ],
    "verifiedDate": "2024-01-20",
    "verifiedBy": "verifier@example.com"
  }
]

Response

Site visits updated successfully