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 |