Get Plugload Details

The API returns the plugload details.  

Request

GET https:// {em_ip_address_or_hostname}/ems/api/org/plugload/v1/details/{plugload_id}

Parameters

Request 
em_ip_address or hostname: The Enlighted Manage (EM) IP address or hostname.
plugload_id: Plugload identifier. Use the Plugload ID returned in the Get All Plugloads by Floor, or in EM, select Facility > Floor in the left panel, Floor Plan tab, and double-click the plugload icon on the floor plan to obtain the Plugload ID.
Response 
id: Plugload identifier.
name: Plugload name. For example, plugloadxxxxxx.
xaxis: Scaled measurement of distance in the horizontal dimension from the lower-left corner of the uploaded floor plan.
yaxis: Scaled measurement of distance in the vertical dimension from the lower-left corner of the uploaded floor plan.
location: Location of the plugload in the building.
floorId: Floor identifier.
campusid: Campus identifier.
buildingid: Building identifier.
macaddress: Plugload MAC address.
version: Plugload version number.
voltage: Plugload voltage.
active: true – Plugload working.
false – Plugload not working.
Ignore the remaining parameters displayed

Sample Code

Using the Plugload ID ‘361’ returned by the Get All Plugloads by Floor API, request EM for plugload details. The response includes the plugload details for the plugload.

Get https://192.80.3.2/ems/api/org/plugload/v1/details/46

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml
Content-Length: 7582
Date: Sat, 21 Jul 2015 17:06:51 GMT
{
  "id": "1319",
  "name": "Plugload06000c",
  "xaxis": "-38",
  "yaxis": "-2",
  "location": "Main campus -> HQ building -> Demo area",
  "floor": null,
  "floorId": "16",
  "campusid": "1",
  "buildingid": "1",
  "macaddress": "6:0:c",
  "version": "2.8.0 b2588",
  "voltage": "120",

  "active”:”true”
  ……
}

 

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

Comments

Article is closed for comments.