Filters services by the values of their custom fields, using a structured query expression
in the format custom_field=<field_name> eq '<value>', combined with and/or and parentheses.
Only the eq operator is currently supported.
- A single comparison.
?custom_field=visit_category eq 'wellness'
returns the services whose visit_category is wellness.
or matches any of the given comparisons.
?custom_field=visit_category eq 'wellness' or visit_category eq 'acute_sick'
returns the services whose visit_category is either wellness or acute_sick.
and requires all of the given comparisons to match.
?custom_field=visit_category eq 'wellness' and has_parking eq 'true'
returns only the services that are in the wellness category and have parking.
- Parentheses group comparisons and override the default precedence (
and binds tighter than or).
?custom_field=visit_category eq 'wellness' and (has_parking eq 'true' or has_parking eq 'false')
- The parameter can be repeated (up to 50 times); repeated occurrences are combined with
and.
?custom_field=visit_category eq 'wellness'&custom_field=has_parking eq 'true'
is equivalent to ?custom_field=visit_category eq 'wellness' and has_parking eq 'true'.
Field names are matched case-insensitively. String values must be enclosed in single quotes;
a literal single quote within a value is escaped by doubling it ('').
Value matching is case-insensitive for regular text custom fields, but case-sensitive for
single-select and multi-select custom fields (the value must match one of the field's
defined options exactly). Omitting the parameter leaves the results unfiltered.