# Child device issue in managedObject api response

**URL:** <https://community.cumulocity.com/t/child-device-issue-in-managedobject-api-response/7958>\
**Category:** Forum\
**Tags:** rest-api, platform-services\
**Created:** [January 30, 2025, 10:50am UTC](https://community.cumulocity.com/t/child-device-issue-in-managedobject-api-response/7958 "2025-01-30T10:50:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rapatel](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@rapatel](https://community.cumulocity.com/u/rapatel)\
**Post date:** [January 30, 2025, 10:50am UTC](https://community.cumulocity.com/t/child-device-issue-in-managedobject-api-response/7958/1 "2025-01-30T10:50:20Z")

</div>

I didn’t get the child device name in the API response when I used the following API:

`/inventory/managedObjects/1916412839/childAssets?withChildren=true&skipChildrenNames=false`

Response:

```auto
{
"childDevices": {
"self": "[https://t50680.iot-`Preformatted text`dev.solenis.com/inventory/managedObjects/221374462620/childDevices"](https://t50680.iot-dev.solenis.com/inventory/managedObjects/221374462620/childDevices%22),
"references": [
{
"self": "[https://t50680.iot-dev.solenis.com/inventory/managedObjects/221374462620/childDevices/621374462631"](https://t50680.iot-dev.solenis.com/inventory/managedObjects/221374462620/childDevices/621374462631%22),
"managedObject": {
"self": "[https://t50680.iot-dev.solenis.com/inventory/managedObjects/621374462631"](https://t50680.iot-dev.solenis.com/inventory/managedObjects/621374462631%22),
"id": "621374462631"
}
]
}
}

```

---

<div class="post-metadata">

**Author:** ![Vachaspati\_Diwevedi2](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/vachaspati_diwevedi2/32/1256_2.png) [@Vachaspati\_Diwevedi2](https://community.cumulocity.com/u/Vachaspati_Diwevedi2)\
**Post date:** [January 30, 2025, 11:45am UTC](https://community.cumulocity.com/t/child-device-issue-in-managedobject-api-response/7958/2 "2025-01-30T11:45:38Z")

</div>

> [@rapatel](#):
>
> childAssets

Hi @rapatel  
In Cumulocity, child devices and child assets are distinct concepts:

- **Child Assets** represent subgroups. [API Reference](https://cumulocity.com/api/core/2024/#operation/getManagedObjectChildAssetsResource)
- **Child Devices** represent actual connected devices. [API Reference](https://cumulocity.com/api/core/2024/#operation/getManagedObjectChildDevicesResource)

I’ve attached the relevant APIs for retrieving both child devices and child assets.

I tested using the latest API, and I can confirm that the response includes both the child device ID and name.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/6/7/6734334fa27d719cd067554456ac5c374e6e284f.png)
