Get Organization Details (DRAFT)

Returns details about the organization. The data includes the list of all campuses in the organization. 

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

Parameters

Request 
em_ip_address or hostname The Manage’s IP address or hostname
Response 
id Organization identifier from Manage
name Organization name as described in the 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 Code

Send a request to Manage to return the list of all campuses in an organization. The response includes the company ID, company name, organization contact details, and list of all campuses in the organization. For example, the company, Acme Inc., has two campuses, Hampton and Monroe. The response displays organization and campuses details.


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

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json
Content-Length: 7582
Date: Thru, Apr 2023 17:06:51 GMT

{ "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" }
 

 

 

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

Comments

Article is closed for comments.