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 |
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
|
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.
|
Comments
Article is closed for comments.