Services relating to skylight_types of the Energy Asset Tool

Supported Formats

json, xml

GET /api/v1/skylight_types/:id
Retrieve the skylight_type with the specific ID.

Also see Skylights.

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":"Plastic","sort_order":1,"service_name":"Plastic","created_at":"2023-05-16T09:32:39.699-07:00","updated_at":"2023-05-16T09:32:39.699-07:00"}
<?xml version="1.0" encoding="UTF-8"?>
<skylight-type>
  <id type="integer">1</id>
  <display-name>Plastic</display-name>
  <sort-order type="integer">1</sort-order>
  <service-name>Plastic</service-name>
  <created-at type="dateTime">2023-05-16T09:32:39-07:00</created-at>
  <updated-at type="dateTime">2023-05-16T09:32:39-07:00</updated-at>
</skylight-type>

GET /api/v1/skylight_types
Retrieve all skylight_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":"Plastic","sort_order":1,"service_name":"Plastic","created_at":"2023-05-16T09:32:39.699-07:00","updated_at":"2023-05-16T09:32:39.699-07:00"},{"id":2,"display_name":"Glass","sort_order":2,"service_name":"Glass","created_at":"2023-05-16T09:32:39.699-07:00","updated_at":"2023-05-16T09:32:39.699-07:00"}]
<?xml version="1.0" encoding="UTF-8"?>
<skylight-types type="array">
  <skylight-type>
    <id type="integer">1</id>
    <display-name>Plastic</display-name>
    <sort-order type="integer">1</sort-order>
    <service-name>Plastic</service-name>
    <created-at type="dateTime">2023-05-16T09:32:39-07:00</created-at>
    <updated-at type="dateTime">2023-05-16T09:32:39-07:00</updated-at>
  </skylight-type>
  <skylight-type>
    <id type="integer">2</id>
    <display-name>Glass</display-name>
    <sort-order type="integer">2</sort-order>
    <service-name>Glass</service-name>
    <created-at type="dateTime">2023-05-16T09:32:39-07:00</created-at>
    <updated-at type="dateTime">2023-05-16T09:32:39-07:00</updated-at>
  </skylight-type>
</skylight-types>