Stop Plan Actions API
Use the Stop Plan Actions API to bulk stop plan actions. A GET request retrieves the XML template; a POST request submits plan-action-ids with optional exclusions to stop execution and returns results. PUT and DELETE are not supported.
| Method | Summary |
|---|---|
| GET |
Endpoint: /serverautomation/bulkplanactionoperation/stop-plan-actions Description: Retrieves the template for the bulk stop of plan actions. Required Request Content: Only the URL is required. Response Content: Template for the bulk stop of plan actions. Response Schema:
<?xml version="1.0" encoding="UTF-8"?> <sa-rest xmlns="http://iemfsa.tivoli.ibm.com/REST" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <bulk-operation name="stop-plan-actions"> <plan-action-ids> </plan-action-ids> <exclusions> </exclusions> </bulk-operation> </sa-rest> Sample Response Content: N/A. |
| POST |
Endpoint: /serverautomation/bulkplanactionoperation/ Description: Stops the execution of the plan actions whose IDs are given as input. Required Request Content: A completed bulk operation stop
plan actions template XML document. For
example:
<?xml version="1.0" encoding="UTF-8"?> <sa-rest xmlns="http://iemfsa.tivoli.ibm.com/REST" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <bulk-operation name="stop-plan-actions"> <plan-action-ids>3993,3945-3950</plan-action-ids> <exclusions>3947</exclusions> </bulk-operation> </sa-rest> Response Content: The result of the bulk stop of plan actions in XML format. Response Schema:
<?xml version="1.0" encoding="UTF-8"?> <sa-rest xmlns="http://iemfsa.tivoli.ibm.com/REST" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <result> <stopped-plan-action-ids>3993,3945,3946,3948,3949</deleted-plan-action-ids> <invalid-plan-action-ids /> <excluded-plan-action-ids>3947</excluded-plan-action-ids> <errors> <error> <planactionid>3950</planactionid> <statuscode>404</statuscode> <msg>Object Not Found</msg> </error> </errors> </result> </sa-rest> Sample Response Content: N/A. |
| PUT |
Not supported for this resource. |
| DELETE |
Not supported for this resource. |