PUT devices/{deviceId}/variables
Sets a Device variables.
Remarks
C4M Error Code returned:
DeviceNotFound The requested device does not exist on this environment.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| deviceId | The Device identifier. |
Define this parameter in the request URI. |
| variables | The Device variable collection. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"value": "sample string 2"
},
{
"name": "sample string 1",
"value": "sample string 2"
}
]
Response Information
The operation result.
Response body formats
application/json, text/json
Sample:
Sample not available.