How can we help?
Print
Responses
Responses use the customary HTTP status codes, with the most typical ones being:
Code | Meaning |
---|---|
Responses> | |
1 | success |
0 | failure |
A "0" or failure response, includes an error message shown in human readable text under the element named "message". |
Sample Request:
https://demo.officeclimatecontrol.net/api.cgi?username=myname@gmail.com&password=mypassword&request=get&object=Thermostat&selection=name:TestThermostat;&value=heatSetting;coolSetting;temperature;
Sample Result
If request returned successful:
TestThermostat
68
72
70
1
If "TestThermostat" was not found by the system, the following error "message" reply would be returned:
0
No thermostats found matching selection criteria.