Get All Campuses (DRAFT)

Returns the list of campuses for an organization.  

GET https://{em_ip_address_or_hostname}/ems/api/org/campus/list/1


em_ip_address or hostname The Manage IP address or host name
id Campus identifier from the Manage
name Campus name as described in the Manage
location  Company's location in string 
contractBaseline Baseline energy savings for the campus

Energy savings are 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.

Sample Code

In the example, the details of campuses for Acme Inc., are returned when you send a GET request to Manage.

Get https://{}/ems/api/org/campus/list/1

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1Content-Type: application/json
Content-Length: 7582
Date: Sat, 21 Jul 2015 17:06:51 GMT
{ "campus": [ { "id": "1", "name": "QAIoT", "location": "Chennai", "calcMethod": "SENSOR_BASED", "contractBaseline": "0.00" }, { "id": "3", "name": "IoE", "location": "Chennai", "calcMethod": "SENSOR_BASED", "contractBaseline": "0.00" }, { "id": "5", "name": "NewCampus", "location": "Chennai", "calcMethod": "SENSOR_BASED", "contractBaseline": "0.00" } ] }


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.