Cole_McDonald
6 years agoProfessor
API params
I'm trying to get a subset of devices, but my filter isn't filtering... here's my path and query, anything obvious that I'm doing wrong here?
$resourcePath = "/device/devices"
$queryParam = "?size=1000&filter=CollectorId:'$($collector.id)'"
$collector is previously gathered and the '$($collector.id)' resolves the way I expect it to ... '12' in one case. But it's getting every device (first 1000) rather than pre-filtering to members of a specific collector.