Method
POST /history/job-log
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.
A JSON array of criteria to sort the result by. Each element of the array is a JSON object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. The ordering objects have the following properties:
|sortBy|Mandatory. Sort the results by a given criterion. Valid values are ,
jobId
, jobDefinitionId
, jobDueDate
, jobRetries
, jobPriority
, activityId
, executionId
, processInstanceId
, processDefinitionId
, processDefinitionKey
, deploymentId
and 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 by a given criterion. Valid values are
timestamp
, jobId
, jobDefinitionId
, jobDueDate
, jobRetries
, jobPriority
, activityId
, executionId
, processInstanceId
, processDefinitionId
, processDefinitionKey
, deploymentId
and occurrence
and tenantId
.|sortOrder|Mandatory. Sort the results in a given order. Values may be for ascending order or
desc
for descending order.
Result
A JSON array of historic job log objects.Each historic job log object has the following properties:
Response Codes
Example
POST /history/job-log
[
{
"timestamp" : "2015-01-15T15:22:20.000+0200",
"jobId" : "aJobId",
"jobDefinitionId" : "aJobDefinitionId",
"activityId" : "serviceTask",
"jobType" : "message",
"jobHandlerType" : "async-continuation",
"jobDueDate" : null,
"jobRetries" : 3,
"jobPriority" : 15,
"jobExceptionMessage" : null,
"processInstanceId" : "aProcessInstanceId",
"processDefinitionId" : "aProcessDefinitionId",
"processDefinitionKey" : "aProcessDefinitionKey",
"deploymentId" : "aDeploymentId",
"tenantId": null,
"creationLog" : true,
"failureLog" : false,
"successLog" : false,
"deletionLog" : false
}