29.1.2 Response JSON Parameters

This section provides the list of parameters in the JSON Response.

Table 29-3 POST JSON Response

Name Type Description
run_sk STRING The unique number created for each instance.
duration STRING The duration of the process/activity.
process_instance_id STRING The unique value that identifies the process instance.
activity_id STRING The unique ID of the activity.
process_code STRING The process code of the run pipeline.
datasource STRING The data sources associated with the PMF process.
activity_name STRING Name of the activity.
status STRING Status of the process/activity.
Component STRING Name of the component.
latest_event STRING The latest event of the activity.
start_time STRING Start time of the process/activity.
end_time STRING End time of the process/activity.
metrics STRING Contains Code and Value of the activity
object_id STRING Object ID of the PMF Execution.

Table 29-4 Possible Status Codes

Status Code Description
400 Object ID is not passed.
200 Success.
404 No matching object Id found.
500 Error while fetching Process Instance details.

Response JSON Sample

            
                      
{
    "processExecutionStatusList": [
        {   
             "datasource": [
                "Loans"
            ],
            "runParameterName": [
                "As of Date",
                "Data Source"
            ],
            "asOfDate": "07/27/2023",
            "processInstanceId": "1722407619433_fca5bea3-7b14-4677-9ff6-442665d49c74",
            "processId": "1722407619433",
            "processName": "test_fail_case",
            "objectId": "1722931375466",
            "runSKey": "49",
            "startTime": "08-06-2024 08:02:55 AM",
            "endTime": "08-06-2024 08:06:41 AM",
            "duration": "00:03:46",
            "processCode": "1722407619433",
            "activityInfo": [
                {   
                    "activityId": "JOB_1722418849581",
                    "activity_name": "RUN DQ RULE",
                    "status": "COMPLETED",
                    "component": "DQGROUPS",
                    "latestEvent": "DQLOV31801 completed Run",
                    "startTime": "08-06-2024 08:06:10 AM",
                    "endTime": "08-06-2024 08:06:41 AM",
                    "duration": "00:00:30",
                    "metric":{
                        "code":"volume",
                         "value":"10000"
                    },
                    "eventInfo": [
                        {
                            "activityId": "JOB_CONNECTOR_1",
                            "timestamp": "10-17-2023 09:42:22 AM",
                            "eventMessage": "message received is invalid",
                            "eventErrorCode": "INVALID_INPUT_MSG",
                            "eventParameters": [
                                {
                                    "eventName": "Rule Running",
                                    "value": "0"
                                },
                                {
                                    "eventName": "DQ Group",
                                    "value": "~~DQDC.DQ_GRP_NAME~~"
                                },
                                {
                                    "eventName": "Rule Completed",
                                    "value": "0/0"
                                },
                                {
                                    "eventName": "Erroneous Records",
                                    "value": "0"
                                },
                                {
                                    "eventName": "Rule Pending",
                                    "value": "0"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}