Home

Trigger Action Object shows the configuration for a particular action that has been set up on the PDU.

{

  "enclosureSerialNumber": 1000036,  
  "name": "Reboot Router Outlet",  
  "id": 3,  
  "code": 12,  
  "params": [  
    "4-286331153"  
  ]  
}
KeyTypeDescription
enclosureSerialNumbernumberUnique serial number for a device enclosure
idnumberUnique identifier
namestringName for action
codenumberCode for action. See Action code table
paramsarrayArray of strings. Corresponds to action code. See action code table.

Action Code Table

Use the following table in reference when create and updating actions.

CodeNameParameter 1Parameter 2Parameter 3Description
11Switch OutletOutlet IDState to switch to--State to switch to. either "ON" or "OFF"
12Reboot OutletOutlet ID----
15Email RecipientEmail Address----Must have SMTP settings configured.
16Switch Outlet GroupGroup IDState to switch to--State to switch to. Either "ON" or "OFF"
17Powercycle Outlet GroupGroup ID----
18SNMPv2 Trap NotificationTrap Manager HostTrap Community String--
19SNMPv3 Trap NotificationTrap Manager Host----
20HTTP Post RequestURL/IP AddressOptional Power Stats--Using URL requires proper DNS Configuration. Stat Options: "none", "inlets", "sensors", "outlets", and "circuits"
22Switch Output RelayOutput Relay NameState to switch to--Only available on PDUs with Output Relay
23Reboot Output RelayOutput Relay Name----Only available on PDUs with Output Relay
24Switch Off Other PDU OutletIP of Other PDUOutlet ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
25Switch On Other PDU OutletIP of Other PDUOutlet ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
26Switch Off Other PDU Outlet GroupIP of Other PDUGroup ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
27Switch On Other PDU Outlet GroupIP of Other PDUGroup ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
28Reboot Other PDU OutletIP of Other PDUOutlet ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
29Reboot Other PDU Outlet GroupIP of Other PDUGroup ID or IndexPersonal Access Token from Other PDUPerforms action on "Other" PDU on the same network
30Switch Secondary Network Interface----Requires USB-to-Ethernet Accessory to enable Secondary NIC
31Reset kWh Meter----Only available on PDUs with Energy Metering.
32Smart IO Hub Relay SwitchSensor Port (A or B)Output Relay Index (1-6)Output Relay State (OPEN/CLOSE)Requires SPA-0140 Smart IO Hub. Switches a output relay.