Method
POST
Parameters
|firstResult|Pagination of results. Specifies the index of the first result to return.
|maxResults|Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.
|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are
activityInstanceID
, instanceId
, executionId
, activityId
, activityName
, activityType
, startTime
, endTime
, duration
, definitionId
, occurrence
and tenantId
.|sortOrder|Mandatory. Sort the results in a given order. Values may be asc
for ascending order or desc
for descending order.|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are
activityInstanceID
, instanceId
, executionId
, activityId
, activityName
, activityType
, startTime
, endTime
, duration
, definitionId
, occurrence
and .|sortOrder|Mandatory. Sort the results in a given order. Values may be
asc
for ascending order or desc
for descending order.
- For further information, please see the .
Result
- For further information, please see the documentation.
Response Codes
Example
POST /history/activity-instance
Request Body:
{
"activityId": "anActivity",
"activityName": "anActivityName",
"activityType": "userTask",
"assignee": "peter",
"calledProcessInstanceId": "aHistoricCalledProcessInstanceId",
"calledCaseInstanceId": null,
"canceled": true,
"completeScope": false,
"durationInMillis": 2000,
"executionId": "anExecutionId",
"id": "aHistoricActivityInstanceId",
"parentActivityInstanceId": "aHistoricParentActivityInstanceId",
"processDefinitionId": "aProcDefId",
"processInstanceId": "aProcInstId",
"startTime": "2013-04-23T11:20:43.000+0200",
"taskId": "aTaskId",
"tenantId":null
]