Method for obtaining the number of contracts for complex processes
POST
Criteria for filtering are passed in the body of the POST. This method is almost the same as the standard method for fetching contracts, but only returns count (much faster than loading contracts)
Parameters
Path Parameters
date*
Date and time until which contracts were created in the format "YYYY-MM-DDThh: min: sec". Is an address bar parameter
Type
Requiredstring
processTypeId*
see the description above and also described in step 1. It is a parameter of the address bar
Type
Requiredinteger
Format
"int64"Request Body
application/json
entity
string
Entity
field
string
Field
value1
object
First entity value for criterion
value2
object
Second entity value for criterion
Responses
OK
*/*
DefaultResponseOflong
object
data
integer
The identifier of the created item of the "Invoices" lookup
Format
"int64"status
string
If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
Valid values
"error""ok"timestamp
integer
Returns the date + time (kernel) in unix timestamp format in milliseconds
Format
"int64"