How can I use curl to run an odata query that reports against a group?
CAPM 3.x
You can run the following query:
curl -v -u 'admin:admin' 'http://<DA>:8581/odata/api/devices?$expand=devicepollingstatisticsmfs&$select=ID,Name,devicepollingstatisticsmfs/ID,devicepollingstatisticsmfs/im_NumSuccessfulPolls,devicepollingstatisticsmfs/im_NumPollsSent&$filter=((groups/Name%20eq%20%27test%27))'
... where "test" is my group name. The output will only report against the items in the test group and nothing else
Tips