Skip to main content

Set Up Openings through API

➑️ See the API Reference documentation πŸ”— for detailed information.

Parameters​

❗️ Following parameters need to be set up in parameters key of the product.

Set Up the Dimensions of the Openings​

ParameterTypePossible values
widthreal[0 ;∞]
depthreal[0 ;∞]
heightreal[0 ;∞]
"width": {
"typeID": 1,
"values": [
133
],
"editable": null,
"translation": {
"name": {
"1": "Longueur",
"2": "Width",
"3": "Anchura",
"4": "Breite"
},
"values": {
"2": {
"133": "133"
}
}
},
"defaultValue": 133
}

Set Up the Opening Side of the Openings​

ParameterTypePossible values
opening_sideboolean[TRUE ; FALSE]
"opening_side": {
"typeID": 3,
"editable": "RW",
"translation": {
"name": {
"1": "Opening side",
"2": "Opening side",
"3": "Opening side",
"4": "Opening side"
}
},
"defaultValue": 1
},

Set Up the Installation Position of the Openings​

ParameterTypePossible values
installation_positionboolean[-1 ;1]
"installation_position": {
"max": 1,
"min": -1,
"step": 0.1,
"typeID": 2,
"editable": null,
"translation": {
"name": {
"2": "installation_position"
}
},
"defaultValue": 0
}

Behaviors​

❗️ Following values need to be set up in behaviors key of the product.

Specify the defaultAltitude behavior​

Key NameKey TypePossible Values
defaultAltitudereal[0 ;∞]

Specify the targetPositionID behavior​

Key NameKey TypePossible Values
targetPositionIDinteger[1,2,4,8,16,32,64]

Partial behaviors sample​

"behaviors": {
"targetPositionID": 2,
"defaultAltitude": 180,
},

➑️ Click here πŸ”— to open the complete definition of product behaviors.