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

  1. [
  2. {
  3. "timestamp" : "2015-01-15T15:22:20.000+0200",
  4. "jobId" : "aJobId",
  5. "jobDefinitionId" : "aJobDefinitionId",
  6. "activityId" : "serviceTask",
  7. "jobType" : "message",
  8. "jobHandlerType" : "async-continuation",
  9. "jobDueDate" : null,
  10. "jobRetries" : 3,
  11. "jobPriority" : 15,
  12. "jobExceptionMessage" : null,
  13. "processInstanceId" : "aProcessInstanceId",
  14. "processDefinitionId" : "aProcessDefinitionId",
  15. "processDefinitionKey" : "aProcessDefinitionKey",
  16. "deploymentId" : "aDeploymentId",
  17. "tenantId": null,
  18. "creationLog" : true,
  19. "failureLog" : false,
  20. "successLog" : false,
  21. "deletionLog" : false
  22. }