Forum Discussion
6 years ago
I tried to extract the data using 'device/groups/{id}/devices' hoping LM would return all devices under subgroups but it doesn't.
Worked out a 'workaround' for this using device/devices and filter on systemProperties. Not sure if there are any other ways to do this?...
Try the below api, replace grouppath with your group path. For space and / you have to use url encode (space = %20, / = %2)
$resourcePath = '/device/devices'
$queryParams = '?size=500&filter=systemProperties~grouppath'
Related Content
- 7 months ago
- 6 months ago
- 10 months ago