List - List (Child/Parent) - Intergraph Smart 3D Web API - Customization & Programming - Hexagon PPM

Intergraph Smart 3D Admin Web API Programmers Reference

Language
English
Product
Intergraph Smart 3D Web API
Subproduct
Smart 3D Web APIs
Search by Category
Customization & Programming
Smart 3D Version
13

The user can associate a List to another List entity as a Child or Parent list:

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)”

}