BooleanFilter
Value is missing (
null).Any value is present (not
null).Equals the specified value.
IntegerFilter
Value is missing (
null).Any value is present (not
null).Equals the specified value.
Does not equal the specified value (any value except the one provided).
Greater than or equal to the specified value (lower bound).
Less than or equal to the specified value (upper bound).
Matches one of the specified values.
DecimalFilter
Value is missing (
null).Any value is present (not
null).Equals the specified value.
Does not equal the specified value (any value except the one provided).
Greater than or equal to the specified value (lower bound).
Less than or equal to the specified value (upper bound).
Matches one of the specified values.
StringFilter
Value is missing (
null).Any value is present (not
null).Exactly matches the specified value (case-sensitive).
Does not match the specified value.
Contains the specified value as a substring.
Matches one of the specified values.
DateTimeFilter
Value is missing (
null).Any value is present (not
null).Equals the specified value.
Does not equal the specified value.
Greater than or equal to the specified value (lower bound).
Less than or equal to the specified value (upper bound).
EnumerableFilter
Used to filter parent resource collections based on their associated child collections.
Use Cases
- All categories that have at least one product priced over $1000 without photos.
- All customers who have at least one order for a product from a specific category.
- All projects that have at least one incomplete task with high priority.
This filter operates on “EXISTS” logic. The result will only include parent resources that have at least one child resource matching the specified criteria.
At least one child resource matches each requirement (but not necessarily all of them at once).
At least one child resource matches each requirement (must match all requirements with the same index simultaneously).
No child resource matches each requirement (but not necessarily all of them at once).
No child resource matches each requirement (must match all requirements with the same index simultaneously).