v1

latestOpenAPI 3.0.12026-07-178146159.6 KB
Device Models

Sets the device model properties.

post/api/models/{id}/properties

Path parameters

idstring required

The device model properties

Request body

namestring required

The property name

displayNamestring required

The property display name

isWritableboolean required

Indicates whether the property is writable from the portal

Note: if writable, the property is set to the desired properties of the device twin otherwise, the property is read from the reported properties. Default is false.

orderinteger required

The property display order.

propertyType'Boolean' | 'Double' | 'Float' | 'Integer' | 'Long' | 'String' required

The device property type

Response

Success