Simply counts total records. Add filters, sort options, pagination and more to http request body.

URL

(POST) ./list/count

 

PARAMETERS

The body may optionally contain a JSON object with these parameters:

 

query

Optional query string using a simple but powerful query language. Example:

{jobid} > 1000 AND {dtstart} > DateTime(2018, 10, 10)
CODE
Optional, string?
filter

An alternative, more structured way of filtering data.

Contains an array of filter criteria.

The exact details are field specific and are explained in the page of the specific API method.

 

Optional, object[]?

 

Example:

{
	"query": "{jobid} > 1000"
}
CODE

 

RESULTS

The method returns a JSON object with the total count:

totalTotal number of filtered accounts, i.e. accounts complying with the "filter".int

 

EXAMPLES

A result:

{
	"total": 324
}
CODE