[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations

Perform Action

Description


Performing a POST /api/actions/{id} will attempt to trigger the action with specified id. It is considered a best practice to use the actionExecution field from the POST /api/action/{id}/query that has been previously executed to populate the body of the request. Please note that additional values may be required in order to make the populateAction response body valid.

Request

Request

URL

URL


post
https://localhost/suite-api/api/actions/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The id for the action to be executed (can be retrieved via: GET /api/actiondefinitions)


Request Body

Request Body

action-execution of type(s) application/json, application/xml Optional

Describe instance data about performing an action.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns StrValues of type(s) application/json, application/xml

List of Task Ids for the action run.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"contextId":"string","contextResourceId":["string"],"parameterGroups":[{"parameterValue":[{"name":"string","value":"string"}],"resourceId":"string"}]}' https://localhost/suite-api/api/actions/{id}


[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Feedback

Was this page helpful?