25.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 25-3 POST JSON Response
Name | Type | Description |
---|---|---|
process_instance_id |
STRING | The unique value that identifies the process instance. |
object_id |
STRING | The unique value that identifies the PMF execution. |
activity_list |
STRING | The list of activities. |
activity_id |
STRING | The unique ID of the activity. |
activity_name |
STRING | Name of the activity. |
status |
STRING | Status of the activity. |
Component |
STRING | Name of the component. |
latest_event |
STRING | The latest event of the activity. |
start_time |
STRING | Start time of the activity. |
end_time |
STRING | End time of the activity. |
duration |
STRING | The duration of the activity execution. |
metric |
STRING | It contains code and value details. |
Table 25-4 Possible Status Codes
Status Code | Description |
---|---|
400 | Object ID is not passed. |
400 | Filter conditions are not specified correctly. |
404 | No matching object Id found. |
500 | Error while getting activity status. |
Response JSON Sample
{
"activityExecutionStatus": [
{
"process_instance_id": "1724048324545_263b2e87-4c2e-4d45-9799-95835d48b922",
"objectId":"Object Id 1",
"activity_list": [
{
"activity_id": "JOB_17240483263401",
"activity_name": "SCD",
"status": "COMPLETED",
"component": "SCD",
"latest_event": "SCD Execution Request In Progress",
"start_time": "08-19-2024 06:31:14 AM",
"end_time": "08-19-2024 06:31:24 AM",
"duration":"00:00:09",
"metric" :{
"name":"volume",
"value":"0"
}
}
]
},
{
"processInstanceID": "1724048324545_7a70ab65-47cb-49ef-ba40-13d92cbc2486",
"objectId": "30020",
"activityList": [
{
"activity_id": "JOB_1724048326340117240492121181724049249872",
"activity_name": "SCD",
"status": "COMPLETED",
"component": "SCD",
"latest_event": "SCD Execution Request Received",
"start_time": "08-19-2024 10:08:49 AM",
"end_time": "08-19-2024 10:12:52 AM",
"duration":"00:04:02"
"metric": {
"code": "VOLUME",
"value": "0"
}
}
]
}
]
}