ManageEngine® SQLDBManager Plus


Execute Action

<< Prev

Home

Next >>

ExecuteAction

 

This API will be used to execute the actions that are configured in SQLDBManagerPlus. An Operator can only execute an action that is associated to him.

 

API for XML Response:

http://[ SQLDBM Host ]:[ SQLDBM Port ]/AppManager/xml/ExecuteAction?apikey=[ API Key ]&ActionId=10000056

 

API for JSON Response:

http://[ SQLDBM Host ]:[ SQLDBM Port ]/AppManager/json/ExecuteAction?apikey=[ API Key ]&ActionId=10000056

 

 

Request Parameters:

Field Description
ActionId This value specifies the action id and helps the API to execute the corresponding action.
<AppManager-response uri="/AppManager/xml/ExecuteAction">
<result>
<response response-code="4000">
<ExecuteAction ActionTypeID="2" Status="Success" ActionExecPath="/common/executeSMS.do?method=testAction&actionID=10000004" Message="The action test1 has been successfully executed" ActionName="test1" ActionID="10000004" ActionType="SMS Action(s)"/>
</response>
</result>
</AppManager-response>

JSON Input

http://sqldbm-prod1:9433/AppManager/json/ExecuteAction?apikey=c4e547c2330e2eb92d3e7af2262da9e9&ActionId=10000056

JSON Response

{"response-code":"4000","response":{"uri":"/AppManager/json/ExecuteAction","result":[{"ActionTypeID":"1","Status":"Success","ActionExecPath":"/common/executeAction.do?method=testAction&actionID=20000003","Message":"The action alert_mail has been successfully executed","ActionName":"alert_mail","ActionID":"20000003","ActionType":"E-mail Action(s)"}]}}

 

 


 

<< Prev

Home

Next >>

Delete Monitor

Manage