The API returns plugload location for all plugloads on a floor. The data is returned as X, Y coordinates of the measured and scaled down distance from the lower-left corner of the uploaded floor plan.
The Plugload ID that is returned is used as the primary identifier in other API calls.
|em_ip_address or hostname:||The Manage IP address or hostname.|
|floor_id:||Floor identifier. Use the Floor ID returned in the Get All Floors API , or in EM, select Facility > Floor > in the left panel, and click the Settings tab to obtain the Floor ID.|
|ID**||Plugload identifier (**used as the primary identifier in other API calls).|
|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.|
|macaddress:||Plugload MAC address.|
|groupid:||Profile group identifier. The ID of the profile associated with the plugload.|
|Ignore the remaining parameters displayed|
Use the Floor ID '1' returned by the Get All Floors API to return the x- and y-axis of the scaled-down distance from the lower-left corner of the floor plan for all plugloads on Floor 1.
Article is closed for comments.