Services relating to boiler_types of the Energy Asset Tool

Supported Formats

json, xml

GET /api/v1/boiler_types/:id
Retrieve the boiler_type with the specific ID.

Also see Plants.

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

{"id":1,"display_name":"Mechanical","sort_order":1,"created_at":"2022-05-16T15:13:59.460Z","updated_at":"2022-05-16T15:13:59.460Z","service_name":""}
<?xml version="1.0" encoding="UTF-8"?>
<boiler-type>
  <id type="integer">1</id>
  <display-name>Mechanical</display-name>
  <sort-order type="integer">1</sort-order>
  <created-at type="dateTime">2022-05-16T15:13:59Z</created-at>
  <updated-at type="dateTime">2022-05-16T15:13:59Z</updated-at>
  <service-name></service-name>
</boiler-type>

GET /api/v1/boiler_types
Retrieve all boiler_types.

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

[{"id":1,"display_name":"Mechanical","sort_order":1,"created_at":"2022-05-16T15:13:59.460Z","updated_at":"2022-05-16T15:13:59.460Z","service_name":""},{"id":2,"display_name":"Other Draft","sort_order":2,"created_at":"2022-05-16T15:13:59.460Z","updated_at":"2022-05-16T15:13:59.460Z","service_name":""}]
<?xml version="1.0" encoding="UTF-8"?>
<boiler-types type="array">
  <boiler-type>
    <id type="integer">1</id>
    <display-name>Mechanical</display-name>
    <sort-order type="integer">1</sort-order>
    <created-at type="dateTime">2022-05-16T15:13:59Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:13:59Z</updated-at>
    <service-name></service-name>
  </boiler-type>
  <boiler-type>
    <id type="integer">2</id>
    <display-name>Other Draft</display-name>
    <sort-order type="integer">2</sort-order>
    <created-at type="dateTime">2022-05-16T15:13:59Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:13:59Z</updated-at>
    <service-name></service-name>
  </boiler-type>
</boiler-types>