Hello,
I have one newbie question. I'm trying to use REST Api to unmanage/manage monitors during deployments.
The help page provides two options to do this:
http://[ Host ]:[ Port ]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&resourceid=[ RESOURCEID ]&isReset=[ ISRESET ]
http://[ Host ]:[ Port ]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&haid=[ MONITORGROUPID ]&isReset=[ ISRESET ]
As I understand the first command applies to individual monitor, and the second one to a monitor group.
I'm totally fine when I'm managing individual monitors, I'm getting:
<AppManager-response uri="/AppManager/xml/UnmanageMonitor">
<result>
<response response-code="4000">
<message>Monitor(s) UnManaged successfully</message>
</response>
</result>
</AppManager-response>
However, when I try to unmanage the whole group, I get the following response:
<AppManager-response uri="/AppManager/xml/UnmanageMonitor">
<result>
<response response-code="4032">
<message>
The specified parameter in request URI is incorrect or empty.
</message>
</response>
</result>
</AppManager-response>
Am I doing something wrong or request with "haid=MONITORGROUPID" is not supported?
Thanks,
Sergei