Retrieve Response:
{"success":"true","message":"","outlets":{"1":"Off","2":"Off","5":"On"},"groups":{"Group1":"Mixed",
"Group2":"Mixed","group3":"Mixed"}}
10.3. Control
Control any outlet, group, or sequence at
https://<ipaddress>/services/control/ or
http://<ipaddress>/services/control/
where <ipaddress> is the IP Address of the iBoot-PDU to be controlled
The JSON Structure for Control is
{
"token":"####-####-####-####",
"control":"[outlet|group|sequence]",
"command":"[on|off|cycle|run|stop]",
"outlets":[<array>],
"sequence":"<sequencename>",
"group","<groupname>"
}
token is a 64-bit value retrieved from https://pdu ip address/services/auth.
control the object to be controlled.
control will accept outlet, group or sequence.
command will accept on, off, or cycle when control is outlet or group.
command will accept run or stop when control is sequence.
outlets will only be required when command is outlet.
outlets is ignored when command is group or sequence.
outlets is a JSON array of the outlets to be controlled.
outlets will accept outlet numbers, outlet names, or a combination of both.
sequence is only be required when command is sequence.
sequence accepts sequence names only.
group only requires when command is group.
group only accepts group names only.
Example 1 – using CURL Control:
curl --data '{"token":"CFB0-4354-3008-
386C","control":"sequence","command":"run","sequence":"Jeff1"}' -X
POST http://10.10.10.30/services/control/
Response:
{"success":"true","message":""}
iBoot-PDU_v230829w
//token received from auth
//object to be controlled
//command to be executed
//array of outlets to control
//name of the sequence
//name of the group to be controlled
iBoot-PDU User Manual
Page 77
Need help?
Do you have a question about the iBoot-PDU4-N15 and is the answer not in the manual?
Questions and answers