Services relating to floor_types of the Energy Asset Tool

Supported Formats

json, xml

GET /api/v1/floor_types/:id
Retrieve the floor_type with the specific ID.

Also see Floors.

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":"Slab-on-Grade","sort_order":5,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"slab-on-grade"}
<?xml version="1.0" encoding="UTF-8"?>
<floor-type>
  <id type="integer">1</id>
  <display-name>Slab-on-Grade</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>slab-on-grade</service-name>
</floor-type>

GET /api/v1/floor_types
Retrieve all floor_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":"Slab-on-Grade","sort_order":5,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"slab-on-grade"},{"id":2,"display_name":"Steel Joist","sort_order":2,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"steel"},{"id":3,"display_name":"Wood Framed","sort_order":3,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"wood"},{"id":4,"display_name":"Concrete","sort_order":4,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"concrete"},{"id":5,"display_name":"Basement Floor","sort_order":5,"created_at":"2022-05-16T15:14:02.383Z","updated_at":"2022-05-16T15:14:02.383Z","service_name":"basement-floor"}]
<?xml version="1.0" encoding="UTF-8"?>
<floor-types type="array">
  <floor-type>
    <id type="integer">1</id>
    <display-name>Slab-on-Grade</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>slab-on-grade</service-name>
  </floor-type>
  <floor-type>
    <id type="integer">2</id>
    <display-name>Steel Joist</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>steel</service-name>
  </floor-type>
  <floor-type>
    <id type="integer">3</id>
    <display-name>Wood Framed</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>wood</service-name>
  </floor-type>
  <floor-type>
    <id type="integer">4</id>
    <display-name>Concrete</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>concrete</service-name>
  </floor-type>
  <floor-type>
    <id type="integer">5</id>
    <display-name>Basement Floor</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>basement-floor</service-name>
  </floor-type>
</floor-types>