Hi All,
We have created hierarchical structure of assets and device with 1+ levels of hierarchy.
For eg:
Subsystem - group
IAQ - subgroup
device 1 - device
subgroup2 - subgroup
device 2 - device
So with the above structure if i have to retrieve all the devices within the Subsystem group, is there any way i can retrieve all the devices in one call?
Currently, im getting the getting the child assets of the group and checking if the type is device or group. if it is group then i’m querying it again to get all the child assets which is a inefficient way to get all devices. So please advice me how can i get the result in an efficient way.