Skip to main content
POST
/
history
/
job-log
/
count
Get Job Log Count (POST)
curl --request POST \
  --url http://{host}:{port}/{contextPath}/history/job-log/count \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jobId": "aJobId"
}'
{
  "count": 1
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

A Historic Job Log instance query which defines a list of Historic Job Log instances

logId
string | null

Filter by historic job log id.

jobId
string | null

Filter by job id.

jobExceptionMessage
string | null

Filter by job exception message.

jobDefinitionId
string | null

Filter by job definition id.

jobDefinitionType
string | null

Filter by job definition type. See the User Guide for more information about job definition types.

jobDefinitionConfiguration
string | null

Filter by job definition configuration.

activityIdIn
string[] | null

Only include historic job logs which belong to one of the passed activity ids.

failedActivityIdIn
string[] | null

Only include historic job logs which belong to failures of one of the passed activity ids.

executionIdIn
string[] | null

Only include historic job logs which belong to one of the passed execution ids.

processInstanceId
string | null

Filter by process instance id.

processDefinitionId
string | null

Filter by process definition id.

processDefinitionKey
string | null

Filter by process definition key.

deploymentId
string | null

Filter by deployment id.

tenantIdIn
string[] | null

Only include historic job log entries which belong to one of the passed and comma- separated tenant ids.

withoutTenantId
boolean | null

Only include historic job log entries that belong to no tenant. Value may only be true, as false is the default behavior.

hostname
string | null

Filter by hostname.

jobPriorityLowerThanOrEquals
integer | null

Only include logs for which the associated job had a priority lower than or equal to the given value. Value must be a valid long value.

jobPriorityHigherThanOrEquals
integer | null

Only include logs for which the associated job had a priority higher than or equal to the given value. Value must be a valid long value.

creationLog
boolean | null

Only include creation logs. Value may only be true, as false is the default behavior.

failureLog
boolean | null

Only include failure logs. Value may only be true, as false is the default behavior.

successLog
boolean | null

Only include success logs. Value may only be true, as false is the default behavior.

deletionLog
boolean | null

Only include deletion logs. Value may only be true, as false is the default behavior.

sorting
object[] | null

An array of criteria to sort the result by. Each element of the array is an object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. Sorting has no effect for count endpoints

Response

Request successful.

count
integer

The number of matching instances.