Map_Connection

Seitenverzeichnis: 



shd.map_connection.create

Beschreibung

Erstellen eines MapConnection-Objekt.

Parameter

ParameterTypVersion
shd_map__idstringab Version 1.0
isys_obj__idstringab Version 1.0
titlestringab Version 1.0
source_shd_map_mapobject__idstringab Version 1.0
target_shd_map_mapobject__idstringab Version 1.0
targetarrowtypestringab Version 1.0
sourcearrowtypestringab Version 1.0
sourcepointstringab Version 1.0
targetpointstringab Version 1.0
bendsstringab Version 1.0
linestylearrayab Version 1.0
linewidthstringab Version 1.0
linecolorstringab Version 1.0
textcolorstringab Version 1.0
fontstringab Version 1.0
layerindexstringab Version 1.0
realizertypestringab Version 1.0
connectiontypestringab Version 1.0
textvisiblestringab Version 1.0
lockedstringab Version 1.0
mapconnection_idstringab Version 1.0

Rückgabewert

WertTypBeschreibungVersion
messagestring"map_object.update.success"ab Version 1.0
responsestringMap-Connection-IDab Version 1.0
current_datestring-ab Version 1.0 


Beispiel 

Beispielaufruf

Beispielantwort

{
    "method": "shd.map_connection.create",
    "params": {
        "apikey": "24174j3tqj",
        "shd_map__id": "2",
        "isys_obj__id": "1",
        "title": "Überschrift",
        "source_shd_map_mapobject__id": "3",
        "target_shd_map_mapobject__id": "4",
        "targetarrowtype": "Überschrift",
        "sourcearrowtype": "10",
        "sourcepoint": "8",
        "targetpoint": "9",
        "linestyle": "0",
        "linewidth": "1",
        "linecolor": "#FFFFFF",
        "textcolor": "#FFFFFF",
        "font": "Comic sans",
        "layerindex": "999",
        "realizertype": "#ff1100",
        "connectiontype": "1",
        "textvisible": "#ff1100",
        "locked": "#ff1100",
        "debug": true,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}
{
    "jsonrpc": "2.0",
    "result": {
        "message": "map_object.update.create",
        "response": "5",
        "current_date": "2017-08-08"
    },
    "id": 1
}



shd.map_connection.read

Beschreibung

Auslesen eines Map-Connection-Objekts

Parameter

ParameterTypVersion
mapconnection_idstringab Version 1.0

Rückgabewert

WertTypVersion
mapconnection_idstringab Version 1.0
shd_map__idstringab Version 1.0
isys_obj__idstringab Version 1.0
titlestringab Version 1.0
source_shd_map_mapobject__idstringab Version 1.0
target_shd_map_mapobject__idstringab Version 1.0
targetarrowtypestringab Version 1.0
sourcearrowtypestringab Version 1.0
sourcepointstringab Version 1.0
targetpointstringab Version 1.0
bendsstringab Version 1.0
linestylearrayab Version 1.0
linewidthstringab Version 1.0
linecolorstringab Version 1.0
textcolorstringab Version 1.0
fontstringab Version 1.0
layerindexstringab Version 1.0
realizertypestringab Version 1.0
connectiontypestringab Version 1.0
textvisiblestringab Version 1.0
lockedstringab Version 1.0

Beispiel

Beispielaufruf

Beispielantwort

{
    "method": "shd.map_connection",
    "params": {
        "apikey": "24174j3tqj",
        "mapconnection_id": "4",
        "debug": true,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}
{
    "jsonrpc": "2.0",
    "result": {
        "mapconnection_id": "4",
        "shd_map_id": "19",
        "isys_obj__id": "1",
        "title": "Überschrift",
        "source_shd_map_mapobject__id": "3",
        "target_shd_map_mapobject__id": "4",
        "sourcearrowtype": "10",
        "targetarrowtype": "0",
        "sourcepoint": "8",
        "targetpoint": "9",
        "linestyle": "0",
        "linewidth": "1",
        "linecolor": "#FFFFFF",
        "textcolor": "#FFFFFF",
        "font": "Comic sans",
        "layerindex": "999",
        "realizertype": "0",
        "connectiontype": "1",
        "textvisible": "0",
        "locked": "0"
    },
    "id": 1
}
}



shd.map_connection.update

Beschreibung

Bearbeiten eines MapConnection-Objekts.

Parameter

ParameterTypVersion
mapconnection_idstringab Version 1.0
shd_map__id (optional)stringab Version 1.0
isys_obj__id  (optional)stringab Version 1.0
title (optional)stringab Version 1.0
source_shd_map_mapobject__id (optional)stringab Version 1.0
target_shd_map_mapobject__id (optional)stringab Version 1.0
targetarrowtype (optional)stringab Version 1.0
sourcearrowtype (optional)stringab Version 1.0
sourcepoint (optional)stringab Version 1.0
targetpoint (optional)stringab Version 1.0
bends (optional)stringab Version 1.0
linestyle (optional)arrayab Version 1.0
linewidth (optional)stringab Version 1.0
linecolor (optional)stringab Version 1.0
textcolor (optional)stringab Version 1.0
font (optional)stringab Version 1.0
layerindex (optional)stringab Version 1.0
realizertype (optional)stringab Version 1.0
connectiontype (optional)stringab Version 1.0
textvisible (optional)stringab Version 1.0
locked (optional)stringab Version 1.0

Rückgabewert

WertTypBeschreibungVersion
messagestring"map_connection.update.success"ab Version 1.0
responsebool-ab Version 1.0
current_datestring-ab Version 1.0 

Beispiel

Beispielaufruf

Beispielantwort

{
    "method": "shd.map_connection.update",
    "params": {
        "apikey": "24174j3tqj",
        "mapconnection_id": "3",
        "shd_map__id": "2",
        "isys_obj__id": "1",
        "position": "99;99",
        "width": "50",
        "height": "50",
        "title": "Überschrift (2)",
        "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,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}
{ 
    "jsonrpc":"2.0",
    "result":{ 
        "test":"map_connection.update.success",
        "response":true,
        "current_date":"2017-08-10"
    },
    "id":1
}



shd.map_connection.delete

Beschreibung

Löschen einer Map-Connection.

Parameter

ParameterTypVersion
mapconnection_idstringab Version 1.0

Rückgabewert

WertTypVersion
messagestringab Version 1.0
responseboolab Version 1.0
current_datestringab Version 1.0

Beispiel 

Beispielaufruf

Beispielantwort

{
    "method": "shd.map_connection.delete",
    "params": {
        "apikey": "24174j3tqj",
        "mapconnection_id": "4",
        "debug": true,
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}
{
    "jsonrpc": "2.0",
    "result": {
        "test": "map_connection.delete.success",
        "response": true,
        "current_date": "2017-07-01"
    },
    "id": 1
}

(c) 2024 SHD System-Haus-Dresden GmbH | Impressum https://www.shd-online.de/impressum/