Action-Object
"shd_action__id" => int
"shd_action__title" => string
"shd_action__command" => string
"shd_action__icon" => string
"shd_action__objtype" => string
"shd_action__index" => int
"shd_action__arguments" => string
"shd_action__condition" => string
"shd_action__mode" => string
"shd_action__userid" => int
"shd_action__primary_action" => bool
shd.action.readliefert ein Action-Objekt | ||
Parameter | Return | Version |
---|---|---|
'action_id' => int | Action-Objekt | Ab 1.0 |
Beispielaufruf:
{"method":"shd.action","params":{"apikey":"24174j3tqj","action_id":"1","language":"en"},"id":1,"version":"2.0"}
shd.actions.readliefert alle Action-Objecte | ||
Parameter | Return | Version |
---|---|---|
array of <Action-Objekt> | Ab 1.0 |
Beispielaufruf:
{"method":"shd.actions","params":{"apikey":"24174j3tqj","language":"en"},"id":1,"version":"2.0"}
shd.action.createerstellen eines Action-Objekt | ||
Parameter | Return | Version |
---|---|---|
Action-Objekt | "message" => "action.create.success" | Ab 1.0 |
Beispielaufruf:
{"method":"shd.action.create","params":{"apikey":"24174j3tqj", "action":{"title":"Putty cmd","command":" open Putty.exe","icon":"icon.png","objtype":"tcp", "index":"2","arguments":"["0" => "C__CATG__GLOBAL-type", "1" => "C__CATG__GLOBAL-title", "2" => "C__CATG__GLOBAL-date"]","condition":"[["category" => "C__CATG__GLOBAL", "property" => "C__CATG__GLOBAL-type", "comparison" =>"=", "value" => "5"], ["category" => "C__CATG__GLOBAL", "property" => "C__CATG__GLOBAL-title", "comparison" =>"like", "value" => "Linux"]]","mode":"["insight", "smview"]","userid":"6","primary_action":"0"},"language":"en"},"id":1,"version":"2.0"}
shd.action.updateAuslesen von Detailinformationen eines Filter-Objekt. | ||
Parameter | Return | Version |
---|---|---|
Action-Objekt | "message" => "action.update.success" | Ab 1.0 |
Beispielaufruf:
{"method":"shd.action.update","params":{"apikey":"24174j3tqj","action_id":"2","action":{"title":"Putty cmd","command":" open Putty.exe","icon":"icon.png","objtype":"tcp", "index":"2","arguments":"["0" => "C__CATG__GLOBAL-type", "1" => "C__CATG__GLOBAL-title", "2" => "C__CATG__GLOBAL-date"]","condition":"[["category" => "C__CATG__GLOBAL", "property" => "C__CATG__GLOBAL-type", "comparison" =>"=", "value" => "5"], ["category" => "C__CATG__GLOBAL", "property" => "C__CATG__GLOBAL-title", "comparison" =>"like", "value" => "Linux"]]","mode":"["insight", "smview"]","userid":"6","primary_action":"0"},"language":"en"},"id":1,"version":"2.0"}
shd.action.deletelöschen eines Action-Objekt | ||
Parameter | Return | Version |
---|---|---|
'action_id' => int | "message" => "action.delete.success" | Ab 1.0 |
Beispielaufruf:
{"method":"shd.action.delete","params":{"apikey":"24174j3tqj","action_id":"3","language":"en"},"id":1,"version":"2.0"}