请求正文:
{
“processInstanceId”:“5”,
}
允许的所有支持的JSON参数字段与获取历史流程实例集合的参数完全相同,但是作为JSON主体参数而不是URL参数传递,以允许使用request-uri进行更高级的查询和防止错误太长了。
表1.查询历史详细信息 - 响应代码
响应码 | 描述 |
---|---|
200 | 表示请求已成功,并返回历史记录详细信息 |
400 | 指示参数以错误的格式传递。状态消息包含附加信息。 |
成功回应机构:
{
"data": [
{
"id" : "26",
"processInstanceId" : "5",
"processInstanceUrl" : "http://localhost:8182/history/historic-process-instances/5",
"executionId" : "6",
"activityInstanceId", "10",
"taskId" : "6",
"taskUrl" : "http://localhost:8182/history/historic-task-instances/6",
"time" : "2013-04-17T10:17:43.902+0000",
"detailType" : "variableUpdate",
"revision" : 2,
"variable" : {
"name" : "myVariable",
"variableScope", "global",
"value" : "test"
},
"propertyId" : null,
"propertyValue" : null
}
],
"total": 1,
"start": 0,
"sort": "name",
"order": "asc",
"size": 1
}