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:

  1. {
  2. "processDefinitionId": "aProcDefId",
  3. "processDefinitionKey": "aProcDefKey",
  4. "activityId": "ServiceTask1",
  5. "jobType": "asynchronous-continuation",
  6. "jobConfiguration": "",
  7. "suspended": false,
  8. "overridingJobPriority": 15,
  9. "tenantId": null
  10. },
  11. {
  12. "processDefinitionId": "aProcDefId",
  13. "processDefinitionKey": "aProcDefKey",
  14. "activityId": "ServiceTask2",
  15. "jobType": "asynchronous-continuation",
  16. "jobConfiguration": "",
  17. "suspended": true,
  18. "overridingJobPriority": null,
  19. "tenantId": null
  20. }