Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 3 Aktuelle »

Seitenverzeichnis: 



Action-Object

ParameterTyp
shd_action__idint
shd_action__titlestring
shd_action__commandstring
shd_action__iconstring
shd_action__objtypestring
shd_action__indexint
shd_action__argumentsstring
shd_action__conditionstring
shd_action__modestring
shd_action__useridint
shd_action__primary_actionbool

shd.action.create

Beschreibung

Erstellen eines Action-Objekts.

ParameterTypVersion
actionarrayab Version 1.0
titlestringab Version 1.0
commandstringab Version 1.0
iconstringab Version 1.0
objtypestringab Version 1.0
index stringab Version 1.0
argumentsarrayab Version 1.0
conditionarrayab Version 1.0
useridstringab Version 1.0
primary_actionstringab Version 1.0

Rückgabewert

WertTypBeschreibungVersion
messagestring"action.create.success"ab Version 1.0
responsestringaction_idab Version 1.0
current_datestring-ab Version 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"}
  • Keine Stichwörter