Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

URL: https://123.123.123.123/servicegroups/edit/$SERVICEGROUP_ID.json?angular=true

Methode: POST

Response: JSON


JSON for editing service groups via REST API
{  
    "Container":{  
        "id":$CONTAINER_ID,
        "parent_id":$PARENT_CONTAINER_ID,
        "name":"API Servicegroup modified"
    },
    "Servicegroup":{
    	"id":$SERVICEGROUP_ID,
    	"container_id":$CONTAINER_ID,
    	"Service":[$SERVICE_ID,$SERVICE_ID,...],
        "Servicetemplate":[$SERVICETEMPLATE_ID,$SERVICETEMPLATE_ID,...],
        "servicegroup_url":"http://API-Servicegroup.url/modified",
        "description":"API Servicegroup Description modified"
    }
}
Response on successful API call
{
  "id": "$SERVICEGROUP_ID"
}
  • Keine Stichwörter