cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
844
Views
1
Helpful
1
Replies

Location Group filtering

smp
Enthusiast
Enthusiast

Hi. I have a pretty simple API call with a filter I'm trying to use with PI3.1. I want to return all Location Groups that contain the string "Region 2". This is the URI I'm trying, but the filter isn't working - I'm getting all the groups back. Am I doing something wrong here?

/webacs/api/v2/op/groups/sites.json?name=contains("Region%202")&noAlarms=true&nocount=true

1 Reply 1

smp
Enthusiast
Enthusiast

Oooohhhh, the API doc says the Get Location Groups API doesn't support filtering.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers