POST api/setpoint/{coid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| coid | string |
Required |
Body Parameters
ThermostatSetPointChange| Name | Description | Type | Additional information |
|---|---|---|---|
| gateway_id | string |
None. |
|
| device_id | string |
None. |
|
| setpoint | string |
None. |
|
| mode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"gateway_id": "sample string 1",
"device_id": "sample string 2",
"setpoint": "sample string 3",
"mode": "sample string 4"
}
application/xml, text/xml
Sample:
<ThermostatSetPointChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CallBackAPI.Models"> <device_id>sample string 2</device_id> <gateway_id>sample string 1</gateway_id> <mode>sample string 4</mode> <setpoint>sample string 3</setpoint> </ThermostatSetPointChange>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |