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

Creates or updates a property on a Smart Interop Object (SIO) interface.

POST

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

{

"sioData": "{

'Name':'SioPropertyName',

'Id':'SioPropertyId',

'DisplayName':'SioPropertyDisplayName',

'Version':'1.2',

'Type':'Int',

'ExposedBy':'SioInterfaceName'}"

}

If the property type is EnumList, you must also include the ScopedByList property, which is the ID of the SIOList. For example:

POST

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

{

"sioData": "{

'Name':'SioPropertyName',

'Id':'SioPropertyId',

'DisplayName':'SioPropertyDisplayName',

'Version':'1.2',

'Type':'EnumList',

'ExposedBy':'SioInterfaceName',

'ScopedByList':'SioListId'}"

}

Parameter

Type

Description

sioData

String

Data used to create or update the property on the SIO interface