Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

URL: https://123.123.123.123/map_module/mapeditors/edit/$MAP_IDsaveGadget.json?angular=true

Methode: POST

Response: HTMLJSON

Borderless table

Code Block
languagebash
themeMidnight
titleNeue Map anlegen
{
    "Mapaction": "add_or_edit",
    "Mapgadget":{
        "x" "id":$MAP_ID:"58",
        "y":"133",
        "containersize_idx" : [$CONTAINER_IDs]null,
        "namesize_y":"Api Map Name Modified" null,
        "z_index": 0,
        "titlegadget":"Api Map Title Modified"
"Tacho",
        "type":"service",
        }"object_id":"43",
        "Mapgadgetmap_id":{$MAP_ID,
     	"0   "show_label":{ true,
        	"xlabel_possition":"58" 2,
        	"ymetric": "133users",
    }
}



Code Block
languagebash
themeMidnight
titleResponse bei erfolgreichem Aufruf
{
    	"elementUuidid":"1bb3dd33-5a1b-4bb7-99ce-b64bd7b95ea7",
     $ID,
    "map_id": $MAP_ID,
    "x": 820,
    	"gadgety":"Tacho" 70,
    "size_x": 0,
    "size_y": 0,
    	"typelimit":"service" null,
    "gadget": "Tacho",
    	"object_idtype": "43service",
    "object_id": 4,
    	"transparent_background":"0" null,
    "show_label": true,
    "font_size": null,
    	"mapz_idindex":$MAP_ID
 0,
     	}
	}
}

Code Block
languagebash
themeMidnight
titleResponse bei erfolgreichem Aufruf
{
  "id": "$MAP_ID""metric": "users",
    "display": true,
    "label_possition": null
}