List > List or UomList > UomList (Child/Parent) - Intergraph Smart 3D Web API - Update 2 - Customization & Programming - Hexagon

Intergraph Smart 3D Admin Web API Programmers Reference

ft:locale
en-US
Product
Intergraph Smart 3D Web API
Subproduct
Smart 3D Web APIs
Search by Category
Customization & Programming
Smart 3D Version
14

The user can associate a List to another List (or UomList to another UomList) entity as a Child or Parent.

  • After creation, the system does not allow user to change the parent/child of a List or UomList.

  • To change the association to parent/child, the List or UomList must be deleted and re-created with the correct parent/child List (or UomList).

POST/PUT [List to Parent List]

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists(‘ListId’)/Parent/$ref

{

“@odata.id”: ”<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists(‘ParentListId)”

}

POST/PUT [List to Child List]

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists(‘ListId’)/Descendant/$ref

{

“@odata.id”: ”<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists(‘ChildListId)”

}