Batch Execution Status API

Use the Execution Status API to view the current run status of a batch execution.

Attributes
  • batchRunId - Execution Id generated while triggering the object and can be obtained in the response of Execution API.
  • tasks - List of Task Codes. This is an optional parameter.
Request Body
{
    "batchRunId": "<Batchrun_ID>",
    "tasks":["<task_code>","<task_code>"]
}

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 unresolvable-reference.html#GUID-9ECDCE0D-01C2-493B-BAD5-42E7E90B021A.


{
    "severity": "info",
    "batchRunId": "BatchTEST1_2022-05-31_1653994545003_1",
    "taskStatusList": [
        {
            "taskCode": "t1",
            "taskStatus": "SUCCESSFUL",
            "statusCode": "0"
        },
        {
            "taskCode": "t5",
            "taskStatus": "FAILED",
            "statusCode": "-1"
        }
    ],
    "batchStatusCode": "-1",
    "batchList": [],
    "batchStatus": "FAILED",
    "status": "success",
    "statusCode": "0"
}