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

{"block_id"=>2, "daylight_controls"=>true, "edge_fins_only"=>true, "edge_offset"=>8.8, "fin_depth"=>5.5, "fin_distance_between"=>1.1, "height"=>100.0, "id"=>1, "light_shelf_distance_from_top"=>2.2, "light_shelf_ext_protrusion"=>3.3, "light_shelf_int_protrusion"=>4.4, "name"=>"Surface 1", "number_of_windows"=>11, "overhang_depth"=>1.1, "overhang_height_above_window"=>1.2, "shading_type_id"=>1, "sill_height"=>2.2, "vertices"=>"[{"x":-50,"z":50,"y":12},{"x":-50,"z":-50,"y":12},{"x":-50,"z":-50,"y":0},{"x":-50,"z":50,"y":0}]", "wall_id"=>1, "width"=>100.0, "window_height"=>10.0, "window_id"=>nil, "window_layout_id"=>1, "window_wall_ratio"=>0.8, "window_width"=>10.0}
<surface>
<block-id type="integer">3</block-id>
<edge-fins-only type="boolean">false</edge-fins-only>
<edge-offset type="float" nil="true"/>
<fin-depth type="float" nil="true"/>
<fin-distance-between type="float" nil="true"/>
<height type="float">12.0</height>
<id type="integer">11</id>
<light-shelf-distance-from-top type="float" nil="true"/>
<light-shelf-ext-protrusion type="float" nil="true"/>
<light-shelf-int-protrusion type="float" nil="true"/>
<name type="string">Surface 1</name>
<number-of-windows type="integer">0</number-of-windows>
<overhang-depth type="float" nil="true"/>
<overhang-height-above-window type="float" nil="true"/>
<shading-type-id type="integer">1</shading-type-id>
<sill-height type="float" nil="true"/>
<vertices>
[{"x":7.071067810058594,"y":24,"z":-24.041629791259766},{"x":24.041629791259766,"y":24,"z":-7.071067810058594},{"x":24.041629791259766,"y":12,"z":-7.071067810058594},{"x":7.071067810058594,"y":12,"z":-24.041629791259766}]
</vertices>
<wall-id type="integer">2</wall-id>
<width type="float">24.0</width>
<window-height type="float" nil="true"/>
<window-id type="integer">2</window-id>
<window-layout-id type="integer">1</window-layout-id>
<window-wall-ratio type="float">0.23999999463558197</window-wall-ratio>
<window-width type="float" nil="true"/>
<window-height type="integer">10</window-height>
<daylight-controls type="boolean">true</daylight-controls>
</surface>