v1
latestOpenAPI 3.1.02026-08-063776831.4 MBCredentialingWorkflow
Change status of multiple credentialing workflows
Creates timeline events for multiple credentialing workflows in a single operation. This allows changing the status of multiple workflows at once. Each workflow is processed independently, and the response includes both successful and failed operations.
post/credentialing-workflows/timeline-events
Headers
tenant-idstring required
Tenant ID
Request body
Example request
{
"workflowIds": [
"a2b4f213-f56e-49b7-9ffe-070ff70f0539",
"b3c5f324-f67e-49b8-0aff-181ff81f1640"
],
"timelineEventData": {
"credentialingDecisionDate": "2022-03-10",
"nextCredentialingDate": "2022-03-10"
},
"filter": "{\"data.credentialingStatus\":{\"eq\":\"PENDING\"}}"
}Response
Bulk status change operation completed. Check successful and failed arrays for details.
Example response
{
"successful": [
{
"workflowId": "a2b4f213-f56e-49b7-9ffe-070ff70f0539",
"timelineEvent": {
"id": "te_123456",
"workflowId": "cw_123456",
"data": {
"name": "CRED_APPROVED",
"changeReason": "Application approved by committee",
"credentialingDecisionDate": "2022-03-10",
"nextCredentialingDate": "2022-03-10",
"nextCredentialingDateSource": "SYSTEM_CALCULATED",
"nextCredentialingDateChangeLog": [
{
"changedFrom": "2022-03-10",
"changedTo": "2022-03-10",
"changeReason": "Updated based on new license expiration",
"createdBy": "user_123456",
"createdAt": "2024-01-15T10:30:00Z"
}
],
"psvPdfPath": "/files/psv_123456.pdf",
"overrideReason": "Test override reason",
"isOverride": true
},
"createdBy": "user_123456",
"updatedBy": "user_123456",
"createdAt": "2022-03-10T16:15:50Z",
"updatedAt": "2022-03-10T16:15:50Z"
}
}
],
"failed": [
{
"workflowId": "a2b4f213-f56e-49b7-9ffe-070ff70f0539",
"timelineEvent": {
"id": "te_123456",
"workflowId": "cw_123456",
"data": {
"name": "CRED_APPROVED",
"changeReason": "Application approved by committee",
"credentialingDecisionDate": "2022-03-10",
"nextCredentialingDate": "2022-03-10",
"nextCredentialingDateSource": "SYSTEM_CALCULATED",
"nextCredentialingDateChangeLog": [
{
"changedFrom": "2022-03-10",
"changedTo": "2022-03-10",
"changeReason": "Updated based on new license expiration",
"createdBy": "user_123456",
"createdAt": "2024-01-15T10:30:00Z"
}
],
"psvPdfPath": "/files/psv_123456.pdf",
"overrideReason": "Test override reason",
"isOverride": true
},
"createdBy": "user_123456",
"updatedBy": "user_123456",
"createdAt": "2022-03-10T16:15:50Z",
"updatedAt": "2022-03-10T16:15:50Z"
}
}
],
"totalCount": 5,
"successCount": 4,
"failureCount": 1
}