Get Batch Count
Requests the number of batches that fulfill the query criteria. Takes the same filtering parameters as the Get Batches method.
|Filter by batch id.
|Filter by batch type. See the User Guide for more information about batch types.
|Filter by a comma-separated list of tenant ids. A batch matches if it has one of the given tenant ids.
|Only include batches which belong to no tenant. Value can effectively only be
false is the default behavior.
Boolean value which indicates whether only active or
suspended batches should be included. When the value is set to
true, only suspended batches will be returned and when the
value is set to
false, only active batches will be returned.
A JSON object that contains the count as the only property.
|The number of matching batches.
|Returned if some of the query parameters are invalid. See the Introduction for the error response format.