Skip to content

Set Plugload Status API

Sets the managed plugload status to ON or OFF.

Request

POST https://{em_ip_address_or_hostname}/ems/api/org/area/v1/setPlugloadStatus/{plugload_id}/{status}

Parameters

NameDescription
Request
em_ip_address_or_hostnameThe Manage IP address or hostname.
plugload_idPlugload identifier. Use the Plugload ID returned in the Get All Plugloads by Floor API, or in Manage, double-click the plugload icon in the floor plan to obtain the Plugload ID.
statusSet to ‘0’ to turn off or ‘1’ to turn on the plugload
Response
status0 – Plugload turned off
1 – Plugload turned on

Sample Code

Using the Plugload ID '361' returned by Get All Plugloads by Floors, set the plugload to ON. The response is successful which means the plugload is turned on.

POST https://192.80.3.2/ems/api/org/area/v1/setPlugloadStatus/361/0

Sample Response

{
  "status": "0"
}

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments