Property - 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 Property entity on the Interface in the Smart3D Catalog Schema Database:

POST

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/Interfaces(‘ICustomInterface’)/Properties

{

"Name": " CustomPropertyEnum",

"Type": "EnumList"

}

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

{

"Name": "CustomPropertyEnum",

"Type": "EnumList",

"PropertyMap":{

"Mappings":["MappedProperty"]

},

"ScopedByList@odata.bind": "Sites('{{AdminSiteAlias}}')/Plants('{{AdminPlantName}}')/Lists(‘UDP:T:CustomCodeList’)"

}