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:09:43Z","id":1,"name":"Roof 1","roof_insulation_thickness":1.0,"roof_r_value":17.0,"roof_type_id":1,"roof_u_factor":1.0,"updated_at":"2013-07-26T16:09:43Z"}
<roof>
<building-id type="integer">11</building-id>
<created-at type="datetime">2013-06-28T21:58:22Z</created-at>
<id type="integer">11</id>
<name type="string">roof1</name>
<roof-insulation-thickness type="float" nil="true"/>
<roof-r-value type="float">20.0</roof-r-value>
<roof-type-id type="integer">4</roof-type-id>
<roof-u-factor type="float" nil="true"/>
<updated-at type="datetime">2013-06-28T21:58:22Z</updated-at>
</roof>