Move Monitor Group API


This API lets you to move a particular monitor group.

Syntax

https://[HOST]:[PORT]/AppManager/xml/group/move?apikey=[APIKEY]&haid=[HAID]&tohaid=[HAID]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

Field Description
apikey The key generated from the Generate API Key option in the Settings tab.
haid The unique resource ID for any monitor which can be found from AM_ManagedObject table in database.
Error codes

Sample Requests

  • https://apm-prod-server:8443/AppManager/xml/group/move?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000278&tohaid=10000279
  • https://apm-prod-server:8443/AppManager/xml/group/move?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000278&tohaid=0

The above URL will move monitor group 10000278 outside its parent group when specifying 0 in the tohaid. It will be listed as main group in monitor group view.