Services relating to block_water_heaters of the Energy Asset Tool. This describes the relationship between a block and water_heater.
Code | Description |
---|---|
401 | Unauthorized - ensure token is being passed with each service call. |
404 | Unsupported operation |
500 | Unspecified error on server. |
<block-water-heater> <block-id type="integer">3</block-id> <created-at type="datetime">2013-06-28T17:01:43Z</created-at> <id type="integer">2</id> <updated-at type="datetime">2013-06-28T17:01:43Z</updated-at> <water-heater-id type="integer">1</water-heater-id> </block-water-heater>
Code | Description |
---|---|
401 | Unauthorized - ensure token is being passed with each service call. |
404 | Unsupported operation |
500 | Unspecified error on server. |
response: {"block_id":2,"created_at":"2013-09-04T21:21:59Z","id":2,"updated_at":"2013-09-04T21:21:59Z","water_heater_id":1}
Code | Description |
---|---|
401 | Unauthorized - ensure token is being passed with each service call. |
404 | Unsupported operation |
500 | Unspecified error on server. |
{"water_heater_id":1}
<block_water_heater> <water-heater-id type="integer">1</water-heater-id> </block_water_heater>
Param name | Description |
---|---|
water_heater_id required |
ID of Water Heater. Validations:
|
Code | Description |
---|---|
401 | Unauthorized - ensure token is being passed with each service call. |
404 | Unsupported operation |
500 | Unspecified error on server. |
Param name | Description |
---|---|
water_heater_id required |
ID of Water Heater. Validations:
|
Code | Description |
---|---|
401 | Unauthorized - ensure token is being passed with each service call. |
404 | Unsupported operation |
500 | Unspecified error on server. |