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:57:57Z","distribution_type_id":1,"fuel_type_id":1,"id":1,"name":"Water Heater 1","tank_insulation_r_value":16.0,"tank_insulation_thickness":2.2,"tank_volume":100.0,"updated_at":"2013-07-26T16:57:57Z","uses_heat_pump":false,"water_heater_efficiency":8.2}
<water-heater>
<building-id type="integer">37</building-id>
<created-at type="datetime">2013-07-03T21:20:39Z</created-at>
<distribution-type-id type="integer">5</distribution-type-id>
<fuel-type-id type="integer">1</fuel-type-id>
<id type="integer">17</id>
<name type="string">wh1</name>
<tank-insulation-r-value type="float" nil="true"/>
<tank-insulation-thickness type="float" nil="true"/>
<tank-volume type="float" nil="true"/>
<updated-at type="datetime">2013-07-03T21:20:39Z</updated-at>
<uses-heat-pump type="boolean">true</uses-heat-pump>
<water-heater-efficiency type="float" nil="true"/>
</water-heater>