Returns paginated allocation rules list with filtering and sorting support
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
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'
[
{
"id": 42,
"moduleType": "ALL",
"name": "string",
"description": "string",
"organizationId": 42,
"isActive": true,
"dateFrom": "2026-05-04T09:42:00Z",
"dateTo": "2026-05-04T09:42:00Z"
}
]