Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

URL: https://123.123.123.123/map_module/maps/add.json?angular=true

Methode: POST

Response: JSON


VariableRequiredDescriptionTypeExample

container_id

(Warnung)IDs of the containers in which the map is to be createdarray[ 1, 2, 3, ....]

name(Warnung)Name of the mapstring"Api Map Name"

title(Warnung)Map titlestring"Api Map Titel"

refresh_interval
Interval at which the map should reload in view mode (in seconds between 10 and 180)integer90

JSON for creating maps via REST API
{
    "Map":{
        "container_id":[$CONTAINER_IDs],
        "name":"Api Map Name",
        "title":"Api Map Title",
        "refresh_interval":90
    }
}



Response on successful API call
{
  "id": "$MAP_ID"
}
  • Keine Stichwörter