Seitenverzeichnis:
shd.map_connection.create
Beschreibung
Erstellen eines MapConnection-Objekt.
Parameter
Parameter | Typ | Version |
---|
shd_map__id | string | ab Version 1.0 |
isys_obj__id | string | ab Version 1.0 |
title | string | ab Version 1.0 |
source_shd_map_mapobject__id | string | ab Version 1.0 |
target_shd_map_mapobject__id | string | ab Version 1.0 |
targetarrowtype | string | ab Version 1.0 |
sourcearrowtype | string | ab Version 1.0 |
sourcepoint | string | ab Version 1.0 |
targetpoint | string | ab Version 1.0 |
bends | string | ab Version 1.0 |
linestyle | array | ab Version 1.0 |
linewidth | string | ab Version 1.0 |
linecolor | string | ab Version 1.0 |
textcolor | string | ab Version 1.0 |
font | string | ab Version 1.0 |
layerindex | string | ab Version 1.0 |
realizertype | string | ab Version 1.0 |
connectiontype | string | ab Version 1.0 |
textvisible | string | ab Version 1.0 |
locked | string | ab Version 1.0 |
mapconnection_id | string | ab Version 1.0 |
Rückgabewert
Wert | Typ | Beschreibung | Version |
---|
message | string | "map_object.update.success" | ab Version 1.0 |
response | string | Map-Connection-ID | ab Version 1.0 |
current_date | string | - | 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
Parameter | Typ | Version |
---|
mapconnection_id | string | ab Version 1.0 |
Rückgabewert
Wert | Typ | Version |
---|
mapconnection_id | string | ab Version 1.0 |
shd_map__id | string | ab Version 1.0 |
isys_obj__id | string | ab Version 1.0 |
title | string | ab Version 1.0 |
source_shd_map_mapobject__id | string | ab Version 1.0 |
target_shd_map_mapobject__id | string | ab Version 1.0 |
targetarrowtype | string | ab Version 1.0 |
sourcearrowtype | string | ab Version 1.0 |
sourcepoint | string | ab Version 1.0 |
targetpoint | string | ab Version 1.0 |
bends | string | ab Version 1.0 |
linestyle | array | ab Version 1.0 |
linewidth | string | ab Version 1.0 |
linecolor | string | ab Version 1.0 |
textcolor | string | ab Version 1.0 |
font | string | ab Version 1.0 |
layerindex | string | ab Version 1.0 |
realizertype | string | ab Version 1.0 |
connectiontype | string | ab Version 1.0 |
textvisible | string | ab Version 1.0 |
locked | string | ab 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
Parameter | Typ | Version |
---|
mapconnection_id | string | ab Version 1.0 |
shd_map__id (optional) | string | ab Version 1.0 |
isys_obj__id (optional) | string | ab Version 1.0 |
title (optional) | string | ab Version 1.0 |
source_shd_map_mapobject__id (optional) | string | ab Version 1.0 |
target_shd_map_mapobject__id (optional) | string | ab Version 1.0 |
targetarrowtype (optional) | string | ab Version 1.0 |
sourcearrowtype (optional) | string | ab Version 1.0 |
sourcepoint (optional) | string | ab Version 1.0 |
targetpoint (optional) | string | ab Version 1.0 |
bends (optional) | string | ab Version 1.0 |
linestyle (optional) | array | ab Version 1.0 |
linewidth (optional) | string | ab Version 1.0 |
linecolor (optional) | string | ab Version 1.0 |
textcolor (optional) | string | ab Version 1.0 |
font (optional) | string | ab Version 1.0 |
layerindex (optional) | string | ab Version 1.0 |
realizertype (optional) | string | ab Version 1.0 |
connectiontype (optional) | string | ab Version 1.0 |
textvisible (optional) | string | ab Version 1.0 |
locked (optional) | string | ab Version 1.0 |
Rückgabewert
Wert | Typ | Beschreibung | Version |
---|
message | string | "map_connection.update.success" | ab Version 1.0 |
response | bool | - | ab Version 1.0 |
current_date | string | - | 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
Parameter | Typ | Version |
---|
mapconnection_id | string | ab Version 1.0 |
Rückgabewert
Wert | Typ | Version |
---|
message | string | ab Version 1.0 |
response | bool | ab Version 1.0 |
current_date | string | ab 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
}
|