Method

POST /job

Parameters

A JSON object with the following properties:


|sortBy|Mandatory. Sort the results by a given criterion. Valid values are jobId, executionId, processInstanceId, jobPriority, jobRetries, jobDueDate 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 jobId, executionId, processInstanceId, jobPriority, jobRetries, jobDueDate and .
|sortOrder|Mandatory. Sort the results in a given order. Values may be asc for ascending order or desc for descending order.

Result

A JSON array of job objects.Each job object has the following properties:

Response Codes

Example

Request Body:

  1. [
  2. {
  3. "dueDate": "2013-07-17T17:05:00.000+0200",
  4. "processInstanceId": "aProcessInstanceId",
  5. "executionId": "anExecutionId",
  6. "retries": 0,
  7. "exceptionMessage": "An exception Message",
  8. "suspended": false,
  9. "priority": 10,
  10. "tenantId": null
  11. },
  12. {
  13. "dueDate": "2013-07-17T17:55:00.000+0200",
  14. "processInstanceId": "aProcessInstanceId",
  15. "executionId": "anotherExecutionId",
  16. "retries": 0,
  17. "exceptionMessage": "Another exception Message",
  18. "suspended": true,
  19. "priority": 8,
  20. "tenantId": null
  21. }
  22. ]