PUT api/RoomControl/changeSetpoint?payload={payload}
<strong>put/changeSetpoint</strong> <br /> The changeSetpoint method is used to change the set-point of a thermostat in the room.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| payload |
Encrypted payload contains JSON encoded in Hex and encrypted using RSA algorithm. thermostat { thermostatId: "[thermoId]", setPoint: "[setpoint]", timeStamp: "[timestamp]" } thermostatIdstringThe selector to limit which thermostat is controlled.setPointdecimalThe desired temperaturetimeStampintTime stamp in epoch time (UTC) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A JSON object to handle the success or error of the operation, on the success of the operation the JSON object will be "OK" string. <br /> If there is an error in the process, the JSON will contain the error.
stringResponse Formats
application/json, text/json, text/html
"sample string 1"
application/xml, text/xml
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>