Get Case Definitions Count

Request the number of case definitions that fulfill the query criteria. Takes the same filtering parameters as the GET query.


GET /case-definition/count


Query Parameters

Name Description
caseDefinitionId Filter by case definition id.
caseDefinitionIdIn Filter by case definition ids.
name Filter by case definition name.
nameLike Filter by case definition names that the parameter is a substring of.
deploymentId Filter by the deployment the id belongs to.
key Filter by case definition key, i.e. the id in the CMMN XML. Exact match.
keyLike Filter by case definition keys that the parameter is a substring of.
category Filter by case definition category. Exact match.
categoryLike Filter by case definition categories that the parameter is a substring of.
version Filter by case definition version.
latestVersion Only include those case definitions that are latest versions. Value may only be true, as false is the default behavior.
resourceName Filter by the name of the case definition resource. Exact match.
resourceNameLike Filter by names of those case definition resources that the parameter is a substring of.


A JSON object that contains the count as the only property.

Name Value Description
count Number The number of matching case definitions.

Response Codes

Code Media type Description
200 application/json Request successful.
400 application/json Returned if some of the query parameters are invalid, for example if a sortOrder parameter is supplied, but no sortBy. See the Introduction for the error response format.



GET /case-definition/count?keyLike=Key&version=2


  "count": 1

On this Page: