# Queue management command If executeNow is true, default state will be either 002 (waiting for online) or 011 (sent command one time). If trigger_id is null, default state will be 000 (pending) If trigger_id is not null, default state will be 001 (waiting for trigger) Endpoint: POST /manage/create Security: ApiKey ## Query parameters: - `createBatch` (boolean) If true, a new batch will be created for this action. ## Request fields (application/json): - `network_id` (integer) Target node's network_id - `created_at` (number) Timestamp the action was created at - `updated_at` (number) Timestamp the action was last updated - `trigger_id` (integer,null, required) If not null, the execution of this action will be delayed until this trigger action has completed successfully (status=2xx). If the trigger action fails (status=4xx), this action will fail with the same status. - `payload` (object, required) - `state` (integer) - Pending start - Waiting for action with trigger_id - Waiting for device to come online - Command was attempted "x" times - Device acknowledged, action started - command_id specific progress codes - Completed (Success) - Completed (Failed) - `node_id` (integer, required) Target node ID - `batch_id` (integer,null) Optional batch group identifier for this action. If null then websocket-based monitoring of this action will not be possible. - `response` (object) - `response.message` (array) - `id` (integer) Auto-generated action ID - `command_id` (integer, required) - system_exec - factory_reset - firmware_update - reboot ## Response 200 fields (application/json): - `network_id` (integer) Target node's network_id - `created_at` (number) Timestamp the action was created at - `updated_at` (number) Timestamp the action was last updated - `trigger_id` (integer,null, required) If not null, the execution of this action will be delayed until this trigger action has completed successfully (status=2xx). If the trigger action fails (status=4xx), this action will fail with the same status. - `payload` (object, required) - `state` (integer) - Pending start - Waiting for action with trigger_id - Waiting for device to come online - Command was attempted "x" times - Device acknowledged, action started - command_id specific progress codes - Completed (Success) - Completed (Failed) - `node_id` (integer, required) Target node ID - `batch_id` (integer,null) Optional batch group identifier for this action. If null then websocket-based monitoring of this action will not be possible. - `response` (object) - `response.message` (array) - `id` (integer) Auto-generated action ID - `command_id` (integer, required) - system_exec - factory_reset - firmware_update - reboot