Supported Formats

json, xml

Errors

Code Description
401 Unauthorized - ensure token is being passed with each service call.
404 Unsupported operation
500 Unspecified error on server.

Examples

{"building_id":1,"created_at":"2013-07-26T16:02:19Z","id":1,"misc_electric_load":12.0,"misc_gas_load":12.0,"name":"Operation 1","saturday_close_time":"2100","saturday_open_time":"1000","saturdays_open":true,"setpoint_cooling":74,"setpoint_heating":74,"sunday_close_time":"2100","sunday_open_time":"1000","sundays_open":true,"total_occupants":100,"updated_at":"2013-07-26T16:02:19Z","weekday_close_time":"2100","weekday_open_time":"1000","weekdays_open":true}
<operation>
<building-id type="integer">49</building-id>
<created-at type="datetime">2013-07-09T21:07:54Z</created-at>
<id type="integer">20</id>
<misc-electric-load type="float">2.0</misc-electric-load>
<misc-gas-load type="float" nil="true"/>
<name type="string">op1</name>
<saturday-close-time>0000</saturday-close-time>
<saturday-open-time>0000</saturday-open-time>
<saturdays-open type="boolean">false</saturdays-open>
<setpoint-cooling type="integer">75</setpoint-cooling>
<setpoint-heating type="integer">72</setpoint-heating>
<sunday-close-time>0000</sunday-close-time>
<sunday-open-time>0000</sunday-open-time>
<sundays-open type="boolean">false</sundays-open>
<total-occupants type="integer" nil="true"/>
<updated-at type="datetime">2013-07-09T21:07:54Z</updated-at>
<weekday-close-time>2100</weekday-close-time>
<weekday-open-time>1000</weekday-open-time>
<weekdays-open type="boolean">true</weekdays-open>
</operation>