Forum Discussion

Cole_McDonald's avatar
Icon for Professor rankProfessor
5 years ago

REST API GET Filtering

I'm attempting to retrieve a list of devices assigned to a specific collector.  I can't find any solid documentation for the queryParams portion of the URL.  I'm currently working on this:

$fromHost = <returned collector from previous commands; id is a field stored therein with the [int] ID of the collector>

$resourcePath = "/device/devices?filter=collectorid=$($"

How do I need to alter this to make it work correctly... or where is the documentation for the query options?

18 Replies

Replies have been turned off for this discussion