List - 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

To create a List entity in the Smart3D Catalog Schema Database:

POST

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Lists

{

"Name": " CustomCodeList",

"DisplayName": "Custom list",

"Description": "Custom list for the new custom property"

}

Optionally, the user may also supply the values for related navigation properties to have them created or linked to them:

{

"Name": " CustomCodeList",

"DisplayName": "Custom list",

"Description": "Custom list for the new custom property"

"Items":

[

{

"Name":"Item1",

"DisplayName":"Code list Item1",

"AConversion": 0.0,

"BConversion": 0.0,

"Value": 1

},

{

"Name”:”Item2",

"DisplayName":"Item2",

"AConversion": 0.0,

"BConversion": 0.0,

"Value": 2

}

]

}