GET /rest/bpm/htm/v1/taskTemplates/queryCount?queryTableName={string}[&queryFilter={string}][&admin={boolean}]| Name | Value Type | Description |
|---|---|---|
| queryTableName | string | Query table name.
|
| Name | Value Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| queryFilter | string | A query table condition language expression that performs additional filtering on the result set. All attributes defined on the query table can be referenced. Constants are available for some attributes of predefined query tables, for example, STATE_STARTED is available for attribute STATE on query table TASK_TEMPL (for available constants, see [BPC DB Views]).
|
||||||
| admin | boolean | Administration authorization option specifying whether the request is performed by an administrator.
|
None
The default content-type is application/json.
{ "description": "Entity Result Set Count",
"type": "object",
"properties":
{ "count" : {"type": "integer"}
}
}
The default content-type is application/json.
{ "description": "Error Response",
"type": "object",
"properties":
{ "errorNumber": {"type": "string",
"description": "Message ID of the exception."
},
"errorMessage": {"type": "string",
"description": "Message text of the exception."
},
"errorMessageParameters": {"type": ["string"], "optional": true,
"description":"Message text parameters of the exception."
},
"programmersDetails": {"type": "object", "optional": true,
"description":"Additional, exception details, for example, a stack trace."
}
}
}
| Code | Description |
|---|---|
| 200 OK | Successful completion. The requested data is returned.
|
| 400 Bad Request | The parameters are not valid or they are missing. |
| 401 Unauthorized | The caller is not authorized for this request. |
| 406 Not Acceptable | The requested content type or content encoding is not supported. |
| 500 Internal Server Error | A severe problem has occurred. Programmer's details are provided. |
6.2.0.1
Parent topic: Task Template Entity List Count Resource