Method

POST /case-instance

Parameters

A JSON object with the following properties:


|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are caseInstanceId, caseDefinitionKey, caseDefinitionId and tenantId.|sortOrder|Mandatory. Sort the results in a given order. Values may be asc for ascending order or for descending order.
|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are caseInstanceId, caseDefinitionKey, caseDefinitionId and tenantId.
|sortOrder|Mandatory. Sort the results in a given order. Values may be asc for ascending order or desc for descending order.

Result

Response Codes

Example

POST /case-instance

Request Body:

  1. [
  2. {
  3. "links" : [],
  4. "caseDefinitionId" : "aCaseDefinitionId",
  5. "businessKey" : "aKey",
  6. "active" : false,
  7. "completed" : false,
  8. "tenantId" : null
  9. ]