Get Plugload Details API¶
The API returns the plugload details.
Request¶
GET https://{em_ip_address_or_hostname}/ems/api/org/plugload/v1/details/{plugload_id}
Parameters¶
Request¶
Name | Description |
---|---|
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¶
Name | Description |
---|---|
id | Plugload identifier. |
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. Note: Manage does not store leading zeros when saving or returning MAC/SNAP addresses. For example, "00:c0:17" will be stored as "0:c0:17”. |
version | Plugload version number. |
voltage | Plugload voltage. |
active | true – Plugload working. false – Plugload not working. |
Ignore the remaining parameters displayed |
Sample Request¶
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/location/list/floor/1/1
Sample Response¶
{
"plugload": [
{
"id": "361",
"name": "Plugload00c017",
"status": "0",
"xaxis": "966",
"yaxis": "391",
"macaddress": "0:c0:17",
"groupid": "185"
},
{
"id": "364",
"name": "Plugload0629dd",
"status":"1",
"xaxis": "270",
"yaxis": "90",
"macaddress": "6:29:dd",
"groupid": "196"
},
{
"id": "835",
"name": "Plugload013ec0",
"status":"0",
"xaxis": "756",
"yaxis": "462",
"macaddress": "1:3e:c0",
"groupid": "55"
}
]
}