Asset Hirearchy creation in Cumulocity IoT

What product/components do you use and which version/fix level are you on?

Managed Objects

Is your question related to the free trial, or to a production (customer) instance?

free

What are you trying to achieve? Please describe it in detail.

In our object hirearchy, we have assets, devices, childdevices and sub-childdevices. We linked child-devices(ExtensionModule_IO_DIO) as childdevice to an device(FS01210010) using POST API. We linked ‘sub-childdevices(TrafficLight)’ as child-device to an childdevices (ExtensionModule_IO_DIO) using POST API. But when we query sub-childdevices (TrafficLight) with parameters ‘withParents = True’ then in deviceParents reference we are getting the childdevices**(ExtensionModule_IO_DIO)** as parent which is true as well as device(FS01210010) which is false.

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

yes

Hi,

not only direct parents, but also indirect parents (parent-parent) are included in the parent-references.
This counts not only for deviceParents, but e.g. also assetParents.

Regards, Kai

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.