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:
[
{
"dueDate": "2013-07-17T17:05:00.000+0200",
"processInstanceId": "aProcessInstanceId",
"executionId": "anExecutionId",
"retries": 0,
"exceptionMessage": "An exception Message",
"suspended": false,
"priority": 10,
"tenantId": null
},
{
"dueDate": "2013-07-17T17:55:00.000+0200",
"processInstanceId": "aProcessInstanceId",
"executionId": "anotherExecutionId",
"retries": 0,
"exceptionMessage": "Another exception Message",
"suspended": true,
"priority": 8,
"tenantId": null
}
]