Skip to content

Get Organization Details API

This API returns the list of all campuses in an organization and details, such as the Campus ID, name, location, and so on.

Request

GET https://{em_ip_address_or_hostname}/ems/api/org/company

Parameters

Request

Name Description
em_ip_address_or_hostname The Enlighted Manage (EM) IP address or hostname

Response

Name Description
id Organization identifier from Manage
name Organization name as described in Manage
address Organization address
contact Company's contact phone information
email The email address of the contact person in the company
completionstatus For internal use
validdomain The domain name for the company
price Electricity rate in cents per kWh
timezone_name Timezone information for the specified organization location
campus List of campuses in the company along with details for each campus
ID: Campus ID
name: Campus Name
location: Campus location
calcMethod: 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
location Campus location
title 24 compliance Enabled if the site is geographically located where Title 24 is required
Yes: Enabled
No: Disabled
latitude Company’s latitude coordinate
longitude Company’s longitude coordinate

Sample Request

Retrieve the list of all campuses in an organization using the Organization ID. The response includes the company ID, company name, organization contact details, and list of all campuses in the organization.

GET http://108.32.64.08/ems/api/facilities/company/1

Sample Response

{
    "id": "1",
    "name": "Acme_Inc",
    "address": "51-B Mount Poonamallee Road, St. Thomas Mount, Chennai, Tamil Nadu 600016",
    "contact": "9994355806",
    "email": "sarumathi.rajendran@enlightedinc.com",
    "completionstatus": "3",
    "validdomain": "www.acmeinc.com",
    "price": "7.0",
    "timezone_name": "Asia/Kolkata",
    "campus": [
        {
            "id": "1",
            "name": "Hampton",
            "location": "Chennai",
            "calcMethod": "SENSOR_BASED",
            "contractBaseline": "0.00"
        },
        {
            "id": "3",
            "name": "Monroe",
            "location": "Chennai",
            "calcMethod": "SENSOR_BASED",
            "contractBaseline": "0.00"
        },
        {
            "id": "5",
            "name": "Hampton2",
            "location": "Chennai",
            "calcMethod": "SENSOR_BASED",
            "contractBaseline": "0.00"
        }
    ],
    "ntpEnable": "Y",
    "ntpServers": "0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org,3.us.pool.ntp.org",
    "title24": {
        "compliance": {
            "flag": "No"
        },
    "latitude": "13.007524",
    "longitude": "80.20064"
    }
}

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments