| 
 ManageEngine® Applications Manager 现在轮询API  | 
||
此API允许您轮询指定的监视器。
http://[Host]:[Port]/AppManager/xml/PollNow?apikey=[APIKEY]&resourceid=[RESOURCEID]
API请求中包含如下参数:
| 字段 | 描述 | 
| apikey | 在“管理”标签,使用生产API密钥选项生成密钥。 | 
| resourceid | 需要被轮询的监视器的资源id | 
http://app-xp5:9099/AppManager/xml/PollNow?apikey=123b7328e4b41d1efe64aa7980d83d77&resourceid=10000293
  举例输出:
  
| <AppManager-response uri="/AppManager/xml/PollNow"> <result> <response method="PollNow"> <message>The monitor polled successfully.</message> </response> </result> </AppManager-response>  | 
    
如果API没有被执行正确,请求就会失败,并会出现如下错误:
| <AppManager-response uri="/AppManager/xml/PollNow"> <result> <response response-code="4037"> <message>Improper resourceid in the request.</message> </response> </result> </Apm-response>  | 
    
详情请参照常见错误分析列表。
| 
       ping API  | 
 
       取消管理监视器  |