Get All Campuses

Returns the list of all campuses in the organization.  

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

Parameters

Request 
em_ip_address or hostname The Manage IP address or host name
Response 
id Campus identifier from the Manage
name Campus name as described in the Manage
calcMethod

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.
contractBaseline Baseline energy savings for the campus.

Sample Code

In the example, the details of both campuses for Acme Inc., are returned when you send a request with the EM IP address.

Get https://{192.80.3.2}/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": "3",
            "name": "Hampton Campus",
            "calcMethod": "SENSOR_BASED",
            "contractBaseline": "0.00"
        },

        {
           "id": "5",
            "name": "Monroe Campus",
            "calcMethod": "SENSOR_BASED",
            "contractBaseline": "0.00"
        }
    ]
}

 

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

Comments

Article is closed for comments.