List the network's business rules
Returns the rules this network has defined, in EVALUATION order (priority, then id) — which is the order they will fire in, not an alphabetical convenience. Narrow with actionFamily (the act guarded) and active. Page with page/pageSize (max 100). A rule carries its enforcementMode: BLOCK refuses the act, WARN allows it and says so, LOG only leaves a trace — three values, and an interface offering two of them is lying about one.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
1-based page index to return. Defaults to 1.
1 <= x <= 9007199254740991Rows per page, 1..100. Defaults to 20.
1 <= x <= 100The act the rule guards: one of the six plan families, RECOMMENDATION or WORKFLOW. Omit to list every rule.
RESTOCK_PLAN, REBALANCE_PLAN, MARKDOWN_PLAN, PRE_SEASON_PLAN, SUPPLIER_RETURN_PLAN, SUPPLIER_EXCHANGE_PLAN, RECOMMENDATION, WORKFLOW true or false — keep only switched-on (or switched-off) rules; omit for both.
true, false Response
A page of rules, in evaluation order, with the pagination totals.
A page of rules, in evaluation order, with the pagination totals.
The rows on this page, in the query's sort order.
Total rows matching the filter across ALL pages, not just this one.
0 <= x <= 9007199254740991The 1-based page number served.
0 < x <= 9007199254740991Rows requested per page.
0 < x <= 9007199254740991Total number of pages; stop walking when page reaches it.
0 <= x <= 9007199254740991
