Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

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

Methode: POST

Response: JSON


JSON for creating service groups via REST API
{  
    "Container":{  
        "parent_id":"$PARENT_CONTAINER_ID",
        "name":"API Servicegroup"
    },
    "Servicegroup":{  
        "description":"API Servicegroup Description",
        "servicegroup_url":"http://API-Servicegroup.url",
        "Service":[$SERVICE_ID,$SERVICE_ID,...],
        "Servicetemplate":[$SERVICETEMPLATE_ID,$SERVICETEMPLATE_ID,...]
    }
}
Response on successful API call
{
  "id": "$SERVICEGROUP_ID"
}



  • Keine Stichwörter