latestOpenAPI 3.1.02026-08-194237902.5 MB

563848e0ecc0

CredentialingWorkflow

Get latest timeline events for credentialing workflows

Returns the most recent timeline event (by creation date) for each requested credentialing workflow ID, including data.changeReason when present. Accepts 1–10 workflow IDs. If a workflow has no timeline events, that ID is still included with an error message; other IDs are unaffected (partial success).

get/credentialing-workflows/timeline-events/latest

Query parameters

{"stackTrail":"paths:/credentialing-workflows/timeline-events/latest:get:parameters:0:schema:items","oasType":"schema","type":"unknown"}

One or more credentialing workflow IDs (max 10 unique IDs; duplicates are ignored)

Headers

tenant-idstring required

Tenant ID

Response

Successfully retrieved latest timeline events (may include per-ID error entries)

Example response

{
  "results": [
    {
      "workflowId": "cw_123456",
      "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"
      }
    }
  ]
}