List Benefit Years
Returns a paginated list of benefit years.
Request parameters
Responses
Query Behavior Details
Filtering Rules
Four independent filters are available — status, year, isReady, and contentZoneId. They combine with logical AND, and omitting a filter returns all values for that field.
Exact Match: Each filter performs a strict equality check (
=). Partial matches, ranges, "starts with", and "not like" are not supported.Case-Sensitive (
status): The value must match the uppercase enum casing exactly.Single Value Only: One value per filter per request. Arrays (e.g.
status[]=VISIBLE&status[]=DEFAULT) and comma-separated lists are not supported.
Sorting Rules
Sortable fields are id, year, createdAt, and updatedAt. Note the asymmetry with filtering: status, isReady, and contentZoneId can be filtered but not sorted, while createdAt and updatedAt can be sorted but not filtered.
Defaults: If you omit both sorting parameters, results are sorted by
idDESC.Dependencies: If you provide
sortBy, you must also providesortOrder(and vice-versa).