Method
POST /job-definition
Parameters
A JSON object with the following properties:
|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are
jobDefinitionId
, activityId
, processDefinitionId
, processDefinitionKey
, jobType
, jobConfiguration
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
jobDefinitionId
, activityId
, processDefinitionId
, processDefinitionKey
, jobType
, jobConfiguration
and tenantId
.|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 definition objects.Each job definition object has the following properties:
Response Codes
Example
Request Body:
{
"processDefinitionId": "aProcDefId",
"processDefinitionKey": "aProcDefKey",
"activityId": "ServiceTask1",
"jobType": "asynchronous-continuation",
"jobConfiguration": "",
"suspended": false,
"overridingJobPriority": 15,
"tenantId": null
},
{
"processDefinitionId": "aProcDefId",
"processDefinitionKey": "aProcDefKey",
"activityId": "ServiceTask2",
"jobType": "asynchronous-continuation",
"jobConfiguration": "",
"suspended": true,
"overridingJobPriority": null,
"tenantId": null
}