PollNow API

This API allows you to poll a particular monitor.



Request Parameters

The parameters involved in executing this API request are:

Field Description        
apikey The key generated using the Generate API Key option in the 'Admin' tab.
resourceid The resource id of the monitor that needs to be polled.

Sample Request


Sample Response

<AppManager-response uri="/AppManager/xml/PollNow">
<response method="PollNow">
<message>The monitor polled successfully.</message>

If the API is not executed correctly, the request will fail and errors will be shown as given below:

<AppManager-response uri="/AppManager/xml/PollNow">
      <response response-code="4037">
         <message>Improper resourceid in the request.</message>

Refer this page for a list of common error conditions.