31.1.2 Response JSON Parameters

This section provides the list of parameters in the JSON Response. Based on the activity status provided, the responses will vary.

Table 31-3 POST JSON Response

Name Type Description
processId STRING The unique value of a process.
processCode STRING The unique code value for a process.
processInstanceId STRING The unique value that identifies the process instance.
processName STRING The name of the process.
objectId STRING The unique value that identifies the PMF execution.
runSk STRING RUNSKEY of the PMF process execution.
status STRING Status of the process execution.
runPurpose STRING The Value of the run purpose.
runParameterNames STRING The parameters provided in the run execution.
startTime STRING Start time of the process execution.
endTime STRING End time of the process execution.
duration STRING The duration of the process execution.
metric STRING It contains code and value details.

Table 31-4 Activity Info in Response

Name Type Description
activityId STRING The unique ID of the activity.
activityName STRING Name of the activity.
status STRING Status of the activity.
Component STRING Name of the component.
errorEvents STRING The error event of the activity.
error code STRING The error code of the run purpose.
error Description STRING The descriptiom of the error in the activity.
startTime STRING Start time of the activity.
endTime STRING End time of the activity.
duration STRING The duration of the activity execution.
eventTime STRING The time of the error occurrence.

Table 31-5 Possible Status Codes

Status Code Description
200 Success
400 Either Process Instance ID list or Object ID list is not passed.
400 Locale header is missing.
404 No matching object Id found.
500 Error while fetching activity error details.

Response JSON Sample


{    "processExecutionStatus": [  
      {           
      "processId": "1738309500653",  
      "processCode": "1738309500653",  
      "processInstanceId": "1738309500653_ece5cdb7-285f-4c3f-94d3-b7c05842f385",           
      "processName": "LOAN_PR_EXEC", 
      "objectId": "Financial_PR_2",  
      "startTime": "2025-01-31 07:57:34",     
      "endTime": "2025-01-31 07:57:48",  
      "asOfDate": "2025-01-31",  
      "runPurpose": "{\"code\":\"cash_month_end\",\"name\":\"Cash Month End Process (Transient)\"}",   
      "runSk": "833",  
      "duration": "00:00:14",   
      "status": "FAILED",    
      "runParameterNames": [   
      "As of Date", 
      "RUN Purpose"  
       ],   
      "activityInfo": [     
       {   
      "activityId": "JOB_1738309550043",   
      "activityName": "JOB_1738309550043",    
      "status": "FAILED",   
      "component": "HIERARCHYRESAVE",                   
      "startTime": "2025-01-31 07:57:35",  
      "endTime": "2025-01-31 07:57:45", 
      "duration": "00:00:10",  
      "errorEvents": {}             
        },         
       {            
      "activityId": "JOB_1738309590230",  
      "activityName": "JOB_1738309590230",  
      "status": "FAILED",   
      "component": "DT",                   
      "startTime": "2025-01-31 07:57:35",  
      "endTime": "2025-01-31 07:57:42",  
      "duration": "00:00:06",   
      "errorEvents": {             
      "fatal": {   
      "errorCode": "DT_ERR_001",  
      "errorDescription": "DT Execution failed",  
      "eventTime": "2025-01-31 07:57:40"    
      }                   
      }        
      }, 
      {               
      "activityId": "JOB_1738309560951",                   
      "activityName": "JOB_1738309560951", 
      "status": "FAILED",   
      "component": "DATA_SERVICE",     
      "startTime": "2025-01-31 07:57:35",                 
      "endTime": "2025-01-31 07:57:41",  
      "duration": "00:00:06",  
      "errorEvents": {}             
      },   
      { 
      "activityId": "JOB_1738309540408",  
      "activityName": "JOB_1738309540408",   
      "status": "FAILED",   
      "component": "SCD",                   
      "startTime": "2025-01-31 07:57:35",
      "endTime": "2025-01-31 07:57:40",  
      "duration": "00:00:04",  
      "errorEvents": {             
      "error": [     
      {       
      "errorCode": "SCD_ERR_001",             
      "errorDescription": "SCD Execution failed",         
      "eventTime": "2025-01-31 07:57:37"           
      }     
      ]             
      }  
      }  
      ] 
      }, 
      {  
      "processId": "1722407619433",           
      "processCode": "Financial_fail_case", 
      "processInstanceId": "1722407619433_46c2b1ca-39a7-499d-bf3f-5fc9f131c001",           
      "processName": "Financial_fail_case", 
      "objectId": "1722408089928",  
      "startTime": "2024-07-31 06:41:29",   
      "endTime": "2024-07-31 06:50:09", 
      "runSk": "46",  
      "duration": "00:08:40", 
      "status": "COMPLETED",  
      "activityInfo": [               
      {              
      "message": "All Activities are successfully completed"  
              }  
          ]       
      },   
     {   
     "processId": "1738309500653",     
     "processCode": "1738309500653", 
     "processInstanceId": "1738309500653_8b9f75ae-dd3a-4868-b5f4-9f18b535169a",           
     "processName": "LOAN_PR_EXEC", 
     "objectId": "FINANCIAL_PR_1", 
     "startTime": "2025-01-31 07:48:05",   
     "endTime": "2025-01-31 07:48:40",  
     "asOfDate": "2025-01-31",  
     "runPurpose": "{\"code\":\"cash_month_end\",\"name\":\"Cash Month End Process (Transient)\"}",  
     "runSk": "832",   
     "duration": "00:00:35",  
     "status": "FAILED", 
     "runParameterNames": [               
     "As of Date",  
     "Currency",
     "RUN Purpose"    
     ],   
     "activityInfo": [     
     {                
     "activityId": "JOB_1738309540408",   
     "activityName": "JOB_1738309540408",  
     "status": "FAILED",   
     "component": "SCD",                   
     "startTime": "2025-01-31 07:48:07",  
     "endTime": "2025-01-31 07:48:40",  
     "duration": "00:00:32", 
     "errorEvents": {}             
        }, 
      {  
      "activityId": "JOB_1738309550043", 
      "activityName": "JOB_1738309550043",  
      "status": "FAILED",   
      "component": "HIERARCHYRESAVE",                   
      "startTime": "2025-01-31 07:48:07",  
      "endTime": "2025-01-31 07:48:39", 
      "duration": "00:00:31",  
      "errorEvents": {}             
      },    
      {     
      "activityId": "JOB_1738309560951", 
      "activityName": "JOB_1738309560951", 
      "status": "FAILED",   
      "component": "DATA_SERVICE",                   
      "startTime": "2025-01-31 07:48:07",  
      "endTime": "2025-01-31 07:48:39", 
      "duration": "00:00:32",  
      "errorEvents": {}             
       },      
       {   
      "activityId": "JOB_1738309590230",  
      "activityName": "JOB_1738309590230",    
      "status": "FAILED",   
      "component": "DT",                   
      "startTime": "2025-01-31 07:48:07", 
      "endTime": "2025-01-31 07:48:39", 
      "duration": "00:00:32",  
      "errorEvents": {             
      "fatal": {    
      "errorCode": "DT_ERR_001",   
      "errorDescription": "DT Execution failed",  
      "eventTime": "2025-01-31 07:48:13"  
      },                     
      "error": [                         
      {               
      "errorCode": "SCD_ERR_001",                     
      "errorDescription": "SCD Execution failed",                 
      "eventTime": "2025-01-31 07:48:15"                   
          }     
        ]                   
      }   
       },   
      {               
      "activityId": "JOB_1738309530205",                   
      "activityName": "JOB_1738309530205",  
      "status": "FAILED",        
      "component": "DQGROUPS",       
      "startTime": "2025-01-31 07:48:07",                   
      "endTime": "2025-01-31 07:48:38",   
      "duration": "00:00:31",          
      "errorEvents": {             
      "fatal": {    
      "errorCode": "INVALID_INPUT_MSG",    
      "errorDescription": "No description available for given code",                           
      "eventTime": "2025-01-31 07:48:09"   
           }   
             }       
      }     
       ]   
          },  
      {     
      "processId": "1730207954387", 
      "processCode": "analysis_of_data_2",   
      "processInstanceId": "1730207954387_024a64a0-d37d-47d2-bbfc-25c83bdcaae9",           
      "processName": "analysis_of_data",    
      "objectId": "1738756354624", 
      "startTime": "2025-02-05 11:52:34",  
      "endTime": "2025-02-05 11:53:07",  
      "asOfDate": "2025-02-12",       
      "runPurpose": "{\"code\":\"cash_beginning_day\",\"name\":\"Cash Beginning of
      Day\"}", 
      "runSk": "951",    
      "duration": "00:00:33",  
      "status": "CANCELLED",           
      "runParameterNames": [    
      "RUN Purpose",
      "Currency",                   
      "As of Date"   
         ], 
      "activityInfo": [          
      {               
      "message": "Process is cancelled or aborted"   
         } 
            ] 
       },   
     {     
     "processId": "1738309500653", 
     "processCode": "1738309500653",       
     "processInstanceId": "1738309500653_0f8b2f21-cb04-4c62-8c37-fb6357822924", 
     "processName": "LOAN_PROCESS_EXEC",
     "objectId": "EUROPE_COUNTRY",  
     "startTime": "2025-02-05 12:04:16", 
     "endTime": "2025-02-05 12:04:25", 
     "asOfDate": "2025-02-05",  
     "runPurpose": "{\"code\":\"cash_month_end\",\"name\":\"Cash Month End Process (Transient)\"}",    
     "runSk": "964",   
     "duration": "00:00:09",   
     "status": "FAILED",    
     "runParameterNames": [               
     "Currency", 
     "RUN Purpose",  
     "As of Date"  
       ],   
     "activityInfo": [       
     {   
     "activityId": "JOB_1738309550043",        
     "activityName": "JOB_1738309550043",   
     "status": "FAILED",   
     "component": "HIERARCHYRESAVE",                   
     "startTime": "2025-02-05 12:04:17",  
     "endTime": "2025-02-05 12:04:24",    
     "duration": "00:00:07",     
     "errorEvents": {}             
        },    
      {          
     "activityId": "JOB_1738309540408",       
     "activityName": "JOB_1738309540408",   
     "status": "FAILED",   
     "component": "SCD",                   
     "startTime": "2025-02-05 12:04:17",  
     "endTime": "2025-02-05 12:04:23",     
     "duration": "00:00:05",   
     "errorEvents": {}             
        }, 
     {      
     "activityId": "JOB_1738309590230",  
     "activityName": "JOB_1738309590230",   
     "status": "FAILED",   
     "component": "DT",                   
     "startTime": "2025-02-05 12:04:17",  
     "endTime": "2025-02-05 12:04:23",          
     "duration": "00:00:06",    
     "errorEvents": {             
     "fatal": { 
     "errorCode": "DT_ERR_001",       
     "errorDescription": "DT Execution failed", 
     "eventTime": "2025-02-05 12:04:21"                 
     },                     
     "error": [  
     {               
     "errorCode": "SCD_ERR_001",                     
     "errorDescription": "SCD Execution failed",                 
     "eventTime": "2025-02-05 12:04:20"                   
              }    
        ]                   
      }     
       },     
     {               
     "activityId": "JOB_1738309530205",                   
     "activityName": "JOB_1738309530205", 
     "status": "FAILED",
     "component": "DQGROUPS",       
     "startTime": "2025-02-05 12:04:17",                   
     "endTime": "2025-02-05 12:04:21", 
     "duration": "00:00:04",   
     "errorEvents": {             
     "warning": [   
     {     
     "errorCode": "UNKNOWN_ERROR",         
     "errorDescription": "No description available for given code",                  
     "eventTime": "2025-02-05 12:04:18"  
        }                   
          ]     
         }      
          }       
          ]    
    },      
  {           
     "processId": "1730207954387",   
     "processCode": "analysis_of_data_2",         
     "processInstanceId": "1730207954387_28541612-a04e-47a0-ba44-46e3001dd879",   
     "processName": "analysis_of_data",  
     "objectId": "RunProcess_PR_1701934688757_11c39b82-3c5b-432f-a050-ba6e102f853e_JOB_9110669863928", 
     "startTime": "2025-01-30 13:02:10",  
     "endTime": "2025-01-30 13:02:17",   
     "asOfDate": "2025-01-30",       
     "runPurpose": "{\"code\":\"cash_month_end\",\"name\":\"Cash Month End Process (Transient)\"}",         
     "runSk": "821",  
     "duration": "00:00:07",         
     "status": "FAILED",  
     "runParameterNames": [         
     "As of Date",   
     "Currency",               
     "RUN Purpose" 
      ],     
     "activityInfo": [ 
     {                 
     "activityId": "JOB_17302079583883",  
     "activityName": "RUN DQ RULE",   
     "status": "FAILED",             
     "component": "DQGROUPS",  
     "startTime": "2025-01-30 13:02:11", 
     "endTime": "2025-01-30 13:02:16",           
     "duration": "00:00:05",         
     "errorEvents": {   
     "warning":
      [     
      {                         
      "errorCode": "UNKNOWN_ERROR",                             
      "errorDescription": "No description available for given code",           
      "eventTime": "2025-01-30 13:02:14"             
       }          
        ]               
        }      
         }          
        ]      
         },   
       {    
      "processId": "1738744441601",           
      "processCode": "1738744441601",
      "processInstanceId": "1738744441601_17bbc375-3310-47e2-a7e5-918bba878b4b",           
      "processName": "LOAN_PROCESS",  
      "objectId": "1738744546955",    
      "startTime": "2025-02-05 08:35:47",   
      "asOfDate": "2025-02-04",   
      "runPurpose": "{\"code\":\"cash_beginning_day\",\"name\":\"Cash Beginning of Day\"}",           
      "runSk": "952", 
      "duration": "06:19:04",           
      "status": "RUNNING",    
      "runParameterNames": [         
      "As of Date", 
      "Currency",               
      "RUN Purpose"  
       ],   
      "activityInfo": [ 
      {                
     "message": "Activities are running successfully"     
     }      
      ]     
       } 
   ]
  }