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

POST

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

{

"Name": "ICustomInterface",

"Description": "Custom Interface"

}

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

{

"Name": "ICustomInterface",

"InterfaceMap":

{

"Mappings": ["IObject"]

},

"Properties":

[

{

"Name": "CustomPropertyString",

"Type": "String"

},

{

"Name": "CustomPropertyInt",

"Type": "Int"

}

],

"RealizedByClasses@odata.bind":

[

"Sites('{{AdminSiteAlias}}')/Plants('{{AdminPlantName}}')/Classes('EQUIP:CPEquipment')",

"Sites('{{AdminSiteAlias}}')/Plants('{{AdminPlantName}}')/Classes('EQUIP:CPSmartEquipment')"

]

}