Returns total count of allocation rules matching filtering criteria
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Allocation rule ID
Multi-value supported. Example: value1;value2 -
Supported module type
Values are
PURCHASE_INVOICESorSALES_INVOICES. -
Name of the allocation rule
-
Description of the allocation rule
-
Boolean flag representing if allocation rule is active or not
-
Start date for the allocation ruleSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- 01/01/2026..31/12/2026
- >=01/01/2026
- <=01/01/2026
- <>01/01/2026
Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.
- Range (
-
End date for the allocation ruleSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- 01/01/2026..31/12/2026
- >=01/01/2026
- <=01/01/2026
- <>01/01/2026
Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.
- Range (
curl \
--request GET 'https://wyzio.app/api-v1/allocations/overall'
42