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

{"name":"Operation 1","misc_electric_load":12,"misc_gas_load":12,"weekdays_open":"t","weekday_open_time":1000,"weekday_close_time":2100,"total_occupants":100,"setpoint_heating":74,"setpoint_cooling":74,"saturdays_open":"t","saturday_open_time":1000,"saturday_close_time":2100,"sundays_open":"t","sunday_open_time":1000,"sunday_close_time":2100}
<operation>
  <name type="string">Operation 6</name>
  <misc-electric-load type="integer">12</misc-electric-load>
  <misc-gas-load type="integer">0.55</misc-gas-load>
  <weekdays-open>t</weekdays-open>
  <weekday-open-time type="integer">1000</weekday-open-time>
  <weekday-close-time type="integer">2100</weekday-close-time>
  <total-occupants type="integer">100</total-occupants>
  <setpoint-heating type="integer">74</setpoint-heating>
  <setpoint-cooling type="integer">74</setpoint-cooling>
  <saturdays-open>t</saturdays-open>
  <saturday-open-time type="integer">1000</saturday-open-time>
  <saturday-close-time type="integer">2100</saturday-close-time>
  <sundays-open>t</sundays-open>
  <sunday-open-time type="integer">1000</sunday-open-time>
  <sunday-close-time type="integer">2100</sunday-close-time>
</operation>

Params

Param name Description
misc_electric_load
optional

Miscellaneous electric load (Watts per square foot).

Validations:

  • Must be a Float

misc_gas_load
optional

Miscellaneous gas load.

Validations:

  • Must be a Float

total_occupants
optional

Total occupants.

Validations:

  • Must be a Integer

setpoint_heating
optional

Setpoint heating.

Validations:

  • Must be a Integer

setpoint_cooling
optional

Setpoint cooling.

Validations:

  • Must be a Integer

elevator_id
optional

ID of elevator to link to operations.

Validations:

  • Must be a Integer

weekdays_open
optional

True if open on weekdays, false if closed.

Validations:

  • Must be one of: true, false.

weekdays_open_time
optional

Time that building opens during weekday (e.g. 5:00am).

Validations:

  • Must be a String

weekdays_close_time
optional

Time that building closes during weekday (e.g. 6:00pm).

Validations:

  • Must be a String

saturday_open
optional

True if open on Saturdays, false if closed.

Validations:

  • Must be one of: true, false.

saturday_open_time
optional

Time that building opens during Saturdays (e.g. 5:00am).

Validations:

  • Must be a String

saturday_close_time
optional

Time that building closes during Saturdays (e.g. 6:00pm).

Validations:

  • Must be a String

sunday_open
optional

True if open on Sundays, false if closed.

Validations:

  • Must be one of: true, false.

sunday_open_time
optional

Time that building opens during Sundays (e.g. 5:00am).

Validations:

  • Must be a String

sunday_close_time
optional

Time that building closes during Sundays (e.g. 6:00pm).

Validations:

  • Must be a String