Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

URL: https://123.123.123.123/servicegroups/edit/$SERVICEGROUP_ID.json

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"
}
  • No labels