This resource is part of the asset-centric data model (legacy).
- New projects: Model assets using the data modeling service—with the CogniteAsset concept, asset hierarchies, and greater flexibility.
- Existing projects: This resource remains fully supported for maintaining legacy applications.
Pump asset can be part of a System asset, which is part of a Plant asset. An asset can have a parent asset and multiple child assets, but an asset can only have one parent. At the top of each hierarchy is a root asset. Each project can have several root assets, and all assets under the root asset must have a parent asset.
Structure an asset hierarchy
This example shows you how to structure the asset hierarchy for the fictional SYSTEM 11:| name | description | externalId | parentExternalId |
|---|---|---|---|
| SYSTEM 11 | Sea water system | SYSTEM_11 | |
| Pump | Main pump for system 11 | PUMP_A | SYSTEM_11 |
| Heating cable | Heating cable for pump A | HEATING_CABLE | PUMP_A |
| Pump | Backup pump for system 11 | PUMP_B | SYSTEM_11 |
Example: create an asset hierarchy
Example: create an asset hierarchy
externalId, you get a unique id field and value. References within CDF use that id, so parentExternalId is translated into that new unique identifier. The rootId field gives you the id of the root asset.