Returns the list of all buildings on the campus for the organization. The data returned includes all buildings with building identifiers and details. The building ID that is returned for each building is used as the primary identifier for obtaining the list of floors in the Get All Floors API.
GET https://{em_ip_address_or_hostname}/ems/api/org/building/list/campusId
Parameters
Request | |
em_ip_address or hostname | The Enlighted Manage’s (EM) IP address or hostname |
campusId | The ID of campus for which all buildings will be returned |
Response | |
id | Building identifier from the Manage |
name | Building name as described in the Manage |
useOrgLocation | For internal use |
visible | For internal use |
useOrgLocationTz | For internal use |
energySaveCalcMethod |
Energy savings calculated based on the sensor’s baseline energy or contract baseline energy. SENSOR_BASED – Savings based on the sensor’s baseline energy CONTRACTUAL – Savings based on contract baseline energy. The contract baseline energy is calculated using the annual baseline energy savings stipulated in the customer’s signed agreement for the campus at the time of installation. |
contractBaseline |
Baseline energy savings for the campus. |
Sample Code
Using your EM IP address, send a request to return the list of all buildings on the campus. In the example below, the campus has a single building called ‘Main Building’ and its details are returned as shown.
Get https://{192.80.3.2}/ems/api/org/building/list/3 |
Comments
Article is closed for comments.