Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Seitenverzeichnis: 

...

shd.map_object.create

Beschreibung

Erstellen eines Map-Objekts.

Parameter

ParameterTypVersion
user_id (optional)stringab Version 1.0
shd_map__idstringab Version 1.0
isys_obj__idstringab Version 1.0
positionstringab Version 1.0
widthstringab Version 1.0
titlestringab Version 1.0
is_title_customstringab Version 1.0
labelpositionstringab Version 1.0
imagepathstringab Version 1.0
livestatus_profilestringab Version 1.0
livestatus_servicesarrayab Version 1.0
livestatus_colorstringab Version 1.0
is_imagepath_customstringab Version 1.0
layerindexstringab Version 1.0
textvisiblestringab Version 1.0
iconvisiblestringab Version 1.0
linkstringab Version 1.0
realizertypestringab Version 1.0
shapetypestringab Version 1.0
fillcolorstringab Version 1.0
fillcolor2stringab Version 1.0
iscolorgradientstringab Version 1.0
linecolorstringab Version 1.0
labellinecolorstringab Version 1.0
textcolorstringab Version 1.0
fontstringab Version 1.0
textalignmentstringab Version 1.0
lockedstringab Version 1.0

...

cat_const
WertTypBeschreibungVersion
stringab Version 1.0
property_keystringab Version 1.0
shd_insight__idintab Version 1.0
layoutstringab Version 1.0
layout_configurationstring/jsonab Version 1.0
cable_positionstringab Version 1.0
cable_orientationstringab Build 2120

Rückgabewert

WertTypBeschreibungVersion
messagestring"map_object.update.success"ab Version 1.0
responsestringID des Map-Objektsab Version 1.0
current_datestring-ab Version 1.0

...

Beispielaufruf

Beispielantwort


Codeblock
languagebash
themeRDark
{
    "method": "shd.map_object.create",
    "params": {
        "apikey": "24174j3tqj",
        "user_id": "19",
        "shd_map__id": "2",
        "isys_obj__id": "1",
        "position": "12;140",
        "width": "50",
        "height": "50",
        "title": "Überschrift",
        "livestatus_services": [
            "smbox_Backup_Age",
            "smbox_Current_Load",
            "smbox_Disk_Space",
            "smbox_Processes_Total"
        ],
        "labelposition": "75",
        "imagepath": "",
        "layerindex": "999",
        "textvisible": "0",
        "iconvisible": "1",
        "link": "maps/220/IDE.map",
        "realizertype": "6",
        "shapetype": "9",
        "fillcolor": "#ff1100",
        "fillcolor2": "#ff1100",
        "iscolorgradient": "1",
        "linecolor": "#ff1100",
        "labellinecolor": "#ff1100",
        "textcolor": "#ff1100",
        "font": "Sans Serif",
        "textalignment": "1",
        "locked": "false",
        "debug": true		"cat_const": "C__CATG__GLOABL",
		"property_key": "description",
        "languageshd_insight__id": 4,
		"enlayout": "ORTHOGONAL",
		"layout_configuration": "{port: {port_layout: 'PORT_LAYOUT_FREE', ...}}",
		"cable_position":    "id"xy",
		"cable_orientation": 1"N",
        "debug": true,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}



Codeblock
languagebash
themeRDark
{
    "jsonrpc": "2.0",
    "result": {
        "message": "map_object.update.success",
        "response": "5",
        "current_date": "2017-08-08"
    },
    "id": 1
}


...

shd.map_object.read

Beschreibung

Auslesen eines Map-Objektes.

Parameter

ParameterTypVersion
mapobject_idstringab Version 1.0

Rückgabewert

Beispielaufruf

Beispielantwort

Codeblock
languagebash
themeRDark
{ "
WertTypVersion
mapobject_idstringab Version 1.0
shd_map__idstringab Version 1.0
isys_obj__idstringab Version 1.0
positionstringab Version 1.0
widthstringab Version 1.0
titlestringab Version 1.0
is_title_customstringab Version 1.0
labelpositionstringab Version 1.0
imagepathstringab Version 1.0
livestatus_profilestringab Version 1.0
livestatus_servicesarrayab Version 1.0
livestatus_colorstringab Version 1.0
is_imagepath_customstringab Version 1.0
layerindexstringab Version 1.0
textvisiblestringab Version 1.0
iconvisiblestringab Version 1.0
linkstringab Version 1.0
realizertypestringab Version 1.0
shapetypestringab Version 1.0
fillcolorstringab Version 1.0
fillcolor2stringab Version 1.0
iscolorgradientstringab Version 1.0
linecolorstringab Version 1.0
labellinecolorstringab Version 1.0
textcolorstringab Version 1.0
fontstringab Version 1.0
textalignmentstringab Version 1.0
lockedstringab Version 1.0
cat_const

Beispiel 

stringab Version 1.0
property_keystringab Version 1.0
typestringab Version 1.0
shd_insight__idintab Version 1.0
layoutstringab Version 1.0
layout_configurationstring/jsonab Version 1.0
cable_positionstringab Version 1.0
cable_orientationstringab Build 2120

Beispiel 

Beispielaufruf

Beispielantwort


Codeblock
languagebash
themeRDark
{
    "method": "shd.map_object",
    "params": {
        "apikey": "24174j3tqj",
        "mapobject_id": "1",
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}



Codeblock
languagebash
themeRDark
{
    "jsonrpc": "2.0",
    "result": {
        "mapobject_id": "1",
        "shd_map__id": "2",
        "isys_obj__id": "1",
        "position": "99;99",
        "width": "50",
        "height": "50",
        "title": "Überschrift Grpß",
        "title_original": "Überschrift Grpß",
        "labelposition": "75",
        "imagepath": "",
        "imagepath_original": "",
        "layerindex": "999",
        "textvisible": "0",
        "iconvisible": "1",
        "link": "",
        "realizertype": "6",
        "shapetype": "9",
        "fillcolor": "#ff1100",
        "fillcolor2": "#ff1100",
        "iscolorgradient": "1",
        "linecolor": "#ff1100",
        "labellinecolor": "#ff1100",
        "textcolor": "#ff1100",
        "font": "Sans Serif",
        "textalignment": "1",
        "locked": "0"
    },
    "id": 1
}

shd.map_object.update

Beschreibung

Bearbeiten eines Map-Objektes.

Parameter

ParameterTypVersionmapobject_id
		"cat_const": "C__CATG__GLOABL",
		"property_key": "description",
		"type": "image_node",
        "shd_insight__id": 4,
		"layout": "ORTHOGONAL",
		"layout_configuration": "{port: {port_layout: 'PORT_LAYOUT_FREE', ...}}",
		"cable_position": "xy",
		"cable_orientation": "N"
    },
    "id": 1
}



...

shd.map_object.update

Beschreibung

Bearbeiten eines Map-Objektes.

Parameter

ParameterTypVersion
mapobject_idstringab Version 1.0
shd_map__idstringab Version 1.0
isys_obj__id (optional)stringab Version 1.0
position (optional)stringab Version 1.0
width (optional)stringab Version 1.0
title (optional)stringab Version 1.0
is_title_custom (optional)stringab Version 1.0
labelposition (optional)stringab Version 1.0
shd_map__idimagepath (optional)stringab Version 1.0
isys_obj__id livestatus_profile (optional)stringab Version 1.0
positionlivestatus_services (optional)stringarrayab Version 1.0
widthlivestatus_color (optional)stringab Version 1.0
titleis_imagepath_custom (optional)stringab Version 1.0
is_title_customlayerindex (optional)stringab Version 1.0
labelpositiontextvisible (optional)stringab Version 1.0
imagepathiconvisible (optional)stringab Version 1.0
livestatus_profilelink (optional)stringab Version 1.0
livestatus_servicesrealizertype (optional)arraystringab Version 1.0
livestatus_colorshapetype (optional)stringab Version 1.0
is_imagepath_customfillcolor (optional)stringab Version 1.0
layerindexfillcolor2 (optional)stringab Version 1.0
textvisibleiscolorgradient (optional)stringab Version 1.0
iconvisiblelinecolor (optional)stringab Version 1.0
linklabellinecolor (optional)stringab Version 1.0
realizertypetextcolor (optional)stringab Version 1.0
shapetypefont (optional)stringab Version 1.0
fillcolortextalignment (optional)stringab Version 1.0
fillcolor2locked (optional)stringab Version 1.0
iscolorgradientcat_const (optional)stringab Version 1.0
linecolorproperty_key (optional)stringab Version 1.0
labellinecolorshd_insight__id (optional)stringintab Version 1.0
textcolorlayout (optional)stringab Version 1.0
fontlayout_configuration (optional)string/jsonab Version 1.0
textalignmentcable_position (optional)stringab Version 1.0
lockedcable_orientation (optional)stringab Version 1.0Build 2120

Rückgabewert

WertTypVersion
messagestringab Version 1.0
responseboolab Version 1.0
current_datestringab Version 1.0

...

Beispielaufruf

Beispielantwort


Codeblock
languagebash
themeRDark
{
    "method": "shd.map_object.update",
    "params": {
        "apikey": "itp431",
        "mapobject_id": "1",
        "user_id": "19",
        "shd_map__id": "2",
        "isys_obj__id": "1",
        "position": "99;9999",
        "width": "50",
        "height": "50",
        "title": "Überschrift Grpß",
        "labelposition": "75",
        "imagepath": "",
        "widthlayerindex": "50999",
        "heighttextvisible": "500",
        "titleiconvisible": "Überschrift Grpß1",
        "labelpositionlink": "75maps/220/IDE.map",
        "imagepathrealizertype": "6",
        "layerindexshapetype": "9999",
        "textvisiblefillcolor": "0#ff1100",
        "iconvisiblefillcolor2": "1#ff1100",
        "linkiscolorgradient": "maps/220/IDE.map1",
        "realizertypelinecolor": "6#ff1100",
        "shapetypelabellinecolor": "9#ff1100",
        "fillcolortextcolor": "#ff1100",
        "fillcolor2font": "#ff1100Sans Serif",
        "iscolorgradienttextalignment": "1",
        "linecolorlocked": "#ff1100false",
        "labellinecolor		"cat_const": "C__CATG__GLOABL",
		"property_key": "#ff1100description",
        "textcolorshd_insight__id": "#ff1100"8,
        "font		"layout": "Sans SerifORTHOGONAL",
		"layout_configuration": "{port: {port_layout: 'PORT_LAYOUT_FREE',     "textalignment...}}",
		"cable_position": "1xy",
        "locked		"cable_orientation": "falseN",
        "debug": true,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}



Codeblock
languagebash
themeRDark
{ 
    "jsonrpc":"2.0",
    "result":{ 
        "message":"map_object.update.success",
        "response":true,
        "current_date":"2017-08-08"
    },
    "id":1
}


...

shd.map_object.delete

Beschreibung

Löschen eines Map-Objektes.

Parameter

ParameterTypVersion
mapobject_idstringab Version 1.0

...

shd.map_object.updateLayerIndex

Beschreibung

Klonen einer Map.

Parameter

ParameterTypVersion
map_idstringab Version 1.0
indexstringab Version 1.0
mapobject_idstringab Version 1.0

...

shd.map_object.status

Beschreibung

Auslesen des Status eines Map-Objekts.

Parameter

ParameterTypVersion
mapobject_idstringab Version 1.0

...