Fetch Data API


This API allows you to fetch the data from the managed servers at the given instant to admin server in Applications Manager.

Syntax

http://[APM Admin Host]:[APM Admin Port]/AppManager/xml/fetchNowForManagedServer?apikey=[Admin API Key]&serverID=[Managed Server ID]

Request Parameters

Field Description
apikey API key of the admin user.
serverID ID of the Managed server. (Obtained from Managed server tab in Admin server)

Sample Input

http://apm-prod:9090/AppManager/xml/fetchNowForManagedServer?apikey=7843b843910cbe6a1e5509fb9e07abd9&serverID=1

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<AppManager-response uri="/AppManager/xml/fetchNowForManagedServer">
<result>
<response response-code="4000">
<message>Fetch now completed successfully</message>
</response>
</result>
</AppManager-response>

Note: This API is applicable only for admin servers and admin users.