Set Plugload Status

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

Request 
em_ip_address or hostname: The Manage IP address or hostname.
plugload_id: Plugload 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.
status: Set to ‘0’ to turn off or ‘1’ to turn on the plugload
Response 
status: 0 – Plugload turned off
1 – Plugload turned on

Sample Code

Using the Plugload ID '361' returned by Get All Plugloads by Floor, 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

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json
Content-Length: 7582
Date: Sat, 21 Jul 2015 17:06:51 GMT
{
  "status": "0"
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.