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,"building_use_type_id":2,"color":"blue","created_at":"2013-09-30T18:14:19Z","dimension_1":10.0,"dimension_10":10.0,"dimension_2":10.0,"dimension_3":10.0,"dimension_4":10.0,"dimension_5":10.0,"dimension_6":10.0,"dimension_7":10.0,"dimension_8":10.0,"dimension_9":10.0,"floor_id":null,"floor_to_ceiling_height":10.0,"floor_to_floor_height":10.0,"has_drop_ceiling":false,"has_timer_controls":false,"id":2,"is_above_ground":true,"name":"Block 1","number_of_bg_floors":1,"number_of_floors":1,"operating_season_id":null,"operation_id":null,"orientation":10.0,"percent_footprint":null,"perimeter_zone_depth":null,"position":"10","roof_id":null,"selected":false,"shape_id":1,"sides":"4","skylight_id":null,"skylight_layout_id":null,"ui_id":"10","updated_at":"2013-09-30T18:14:19Z","uses_percent_served":false,"vertices":"10","zone_layout_id":null}
<block>
<building-id type="integer">9</building-id>
<building-use-type-id type="integer">21</building-use-type-id>
<color>128300</color>
<created-at type="datetime">2013-06-28T21:09:48Z</created-at>
<dimension-1 type="float">100.0</dimension-1>
<dimension-10 type="float" nil="true"/>
<dimension-2 type="float">100.0</dimension-2>
<dimension-3 type="float" nil="true"/>
<dimension-4 type="float" nil="true"/>
<dimension-5 type="float" nil="true"/>
<dimension-6 type="float" nil="true"/>
<dimension-7 type="float" nil="true"/>
<dimension-8 type="float" nil="true"/>
<dimension-9 type="float" nil="true"/>
<floor-id type="integer">12</floor-id>
<floor-to-ceiling-height type="float">9.0</floor-to-ceiling-height>
<floor-to-floor-height type="float">12.0</floor-to-floor-height>
<has-drop-ceiling type="boolean" nil="true"/>
<has-timer-controls type="boolean" nil="true"/>
<id type="integer">14</id>
<is-above-ground type="boolean">true</is-above-ground>
<name>blk1</name>
<number-of-bg-floors type="integer">0</number-of-bg-floors>
<number-of-floors type="integer">4</number-of-floors>
<operating-season-id type="integer" nil="true"/>
<operation-id type="integer" nil="true"/>
<orientation type="float">0.0</orientation>
<percent-footprint type="float" nil="true"/>
<perimeter-zone-depth type="float" nil="true"/>
<position>{"x":7.816861152648926,"y":24,"z":5}</position>
<roof-id type="integer">12</roof-id>
<selected type="boolean" nil="true"/>
<shape-id type="integer">1</shape-id>
<sides nil="true"/>
<skylight-id type="integer" nil="true"/>
<skylight-layout-id type="integer" nil="true"/>
<ui-id/>
<updated-at type="datetime">2013-10-23T19:42:55Z</updated-at>
<uses-percent-served type="boolean">false</uses-percent-served>
<vertices>
[[{"x":57.81686019897461,"y":0,"z":-45},{"x":-42.18313980102539,"y":0,"z":-45},{"x":-42.18313980102539,"y":0,"z":55},{"x":57.81686019897461,"y":0,"z":55}],[{"x":57.81686019897461,"y":12,"z":-45},{"x":-42.18313980102539,"y":12,"z":-45},{"x":-42.18313980102539,"y":12,"z":55},{"x":57.81686019897461,"y":12,"z":55}],[{"x":57.81686019897461,"y":24,"z":-45},{"x":-42.18313980102539,"y":24,"z":-45},{"x":-42.18313980102539,"y":24,"z":55},{"x":57.81686019897461,"y":24,"z":55}],[{"x":57.81686019897461,"y":36,"z":-45},{"x":-42.18313980102539,"y":36,"z":-45},{"x":-42.18313980102539,"y":36,"z":55},{"x":57.81686019897461,"y":36,"z":55}],[{"x":57.81686019897461,"y":48,"z":-45},{"x":-42.18313980102539,"y":48,"z":-45},{"x":-42.18313980102539,"y":48,"z":55},{"x":57.81686019897461,"y":48,"z":55}]]
</vertices>
<zone-layout-id type="integer" nil="true"/>
</block>