Services relating to glass_types of the Energy Asset Tool

Supported Formats

json, xml

GET /api/v1/glass_types/:id
Retrieve the glass_type with the specific ID.

Also see Windows.

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":"Single Pane","sort_order":1,"created_at":"2022-05-16T15:14:02.786Z","updated_at":"2022-05-16T15:14:02.786Z","service_name":"1 None"}
<?xml version="1.0" encoding="UTF-8"?>
<glass-type>
  <id type="integer">1</id>
  <display-name>Single Pane</display-name>
  <sort-order type="integer">1</sort-order>
  <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
  <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
  <service-name>1 None</service-name>
</glass-type>

GET /api/v1/glass_types
Retrieve all glass_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":"Single Pane","sort_order":1,"created_at":"2022-05-16T15:14:02.786Z","updated_at":"2022-05-16T15:14:02.786Z","service_name":"1 None"},{"id":2,"display_name":"Double Pane","sort_order":2,"created_at":"2022-05-16T15:14:02.786Z","updated_at":"2022-05-16T15:14:02.786Z","service_name":"2 None"},{"id":3,"display_name":"Double Pane w/ Low-E","sort_order":3,"created_at":"2022-05-16T15:14:02.786Z","updated_at":"2022-05-16T15:14:02.786Z","service_name":"2 Low-e"},{"id":4,"display_name":"Triple Pane","sort_order":4,"created_at":"2022-05-16T15:14:02.786Z","updated_at":"2022-05-16T15:14:02.786Z","service_name":"3 None"},{"id":5,"display_name":"Triple Pane w/ Low-E","sort_order":5,"created_at":"2022-05-16T15:14:02.793Z","updated_at":"2022-05-16T15:14:02.793Z","service_name":"3 Low-e"}]
<?xml version="1.0" encoding="UTF-8"?>
<glass-types type="array">
  <glass-type>
    <id type="integer">1</id>
    <display-name>Single Pane</display-name>
    <sort-order type="integer">1</sort-order>
    <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
    <service-name>1 None</service-name>
  </glass-type>
  <glass-type>
    <id type="integer">2</id>
    <display-name>Double Pane</display-name>
    <sort-order type="integer">2</sort-order>
    <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
    <service-name>2 None</service-name>
  </glass-type>
  <glass-type>
    <id type="integer">3</id>
    <display-name>Double Pane w/ Low-E</display-name>
    <sort-order type="integer">3</sort-order>
    <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
    <service-name>2 Low-e</service-name>
  </glass-type>
  <glass-type>
    <id type="integer">4</id>
    <display-name>Triple Pane</display-name>
    <sort-order type="integer">4</sort-order>
    <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
    <service-name>3 None</service-name>
  </glass-type>
  <glass-type>
    <id type="integer">5</id>
    <display-name>Triple Pane w/ Low-E</display-name>
    <sort-order type="integer">5</sort-order>
    <created-at type="dateTime">2022-05-16T15:14:02Z</created-at>
    <updated-at type="dateTime">2022-05-16T15:14:02Z</updated-at>
    <service-name>3 Low-e</service-name>
  </glass-type>
</glass-types>