Add Sub-Group API


This API allows the user to create a subgroup in Applications Manager.

Syntax

  • https://[HOST]:[PORT]/AppManager/xml/AddSubGroup?apikey=[apikey]&haid=[groupid]&name=[displayname]&grouptype=[sub group type]
  • [ OR ]
  • https://[HOST]:[PORT]/AppManager/xml/AddSubGroup?apikey=[apikey]&mgname=[groupname]&name=[displayname]&grouptype=[sub group type]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

Field Description
grouptype Define the type of sub group you want to create. The sub-group type should be the same as that of the parent group.The grouptype should be one of the following types: sub-group / WebServerGroup / DatabaseGroup / DatabaseCluster / ServersGroup / EdgeDevicesGroup / NetworkDevicesGroup / EndUserTransactionGroup / Site24x7
name Display name for the sub group.
haid The resourceid of the monitor group in which you want to create the sub group.
mgname Display name of the monitor group in which you want to create the sub group.

Example Request

https://apm-prod-server:8443/AppManager/xml/AddSubGroup?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000168&name=Bob's+Blogsg&grouptype=sub-group