ReferenceStatementsStatementsRunsRunidCancel
Cancel a segment statement run
Stops a running or parked run after the patient it is on; statements already generated stay.
Loading the API reference…
Stops a running or parked run after the patient it is on; statements already generated stay.
A practice API key or an OAuth access token, both presented as Authorization: Bearer <token>. The token itself names the practice, so no organization header is needed.
In: header
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json
application/json
application/json
application/json
curl -X POST "https://example.com/statements/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "status": "running", "parkedReason": "page_failed", "stalled": true, "preparing": true, "kind": "account", "periodStart": "string", "periodEnd": "string", "asOf": "2019-08-24T14:15:22Z", "expectedCount": -9007199254740991, "generatedCount": -9007199254740991, "skippedCount": -9007199254740991, "failedCount": -9007199254740991, "dismissedCount": -9007199254740991, "createdByName": "string", "createdAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z"}