7.1.8.4.1 Batch Interrupt API
Use the Interrupt API to interrupt a batch execution.
Attributes
batchName
- The unique batch codebatchRunID
- Execution Id generated while triggering the object and can be obtained in the response of Execution API.
Request
Body
{
"batchName": "<Batch_code>",
"batchRunId": "<Batchrun_ID>"
}
Sample Response Body
The following Response body is a sample
for
Success : 200 OK
. For more information about status code in the
response body, refer to Rest API Status Codes.
{
"summary": "Execution interrupted successfully for Run Id: B2001_2022-05-30_1653233511394_1",
"severity": "info",
"batchRunId": "B2001_2022-05-30_1653233511394_1",
"details": "Execution interrupted successfully.",
"statusCode": "0",
"status": "success"
}