Filter areas by field values. Format: filters[]={fieldName}:{value}
Multiple filters can be combined. Use the 'op' parameter to specify AND (default) or OR operation.
AND filter example (default):
GET /api/management/v2/areas?filters[]=isActive:1&filters[]=locationId:1
Returns active areas in location with ID 1 (both conditions must match)
OR filter example:
GET /api/management/v2/areas?filters[]=locationId:1&filters[]=locationId:2&op=OR
Returns areas in location 1 OR location 2 (either condition matches)
Available filterable fields:
- id: Area ID
- name: Area name
- locationId: Location ID
- isActive: Active status (boolean: use 1 for true, 0 for false)
- parentId: Parent area ID
- workType: Work type
- isOnRoster: Appears on roster (boolean: use 1 for true, 0 for false)