Skip to main content

Perform Approval

Accept or reject an approval work item.

POST https://instance.securid.com/aveksa/command.submit?cmd=performApproval

caution

This command is deprecated and has been replaced by Perform Work Item. Future releases may remove it.

Request

Parameters

performApproval
formatxml - (Default) Returns the response as XML.

json - Returns the response as JSON.
The action to perform. Valid values match the ActionName values returned by Get Approval Details. Accepted values include accept and Accepted to approve, reject and Rejected to decline. The comparison is case-insensitive.
The ID of the approval work item, in id:WPDS:n format. Retrieve this from Get Approvals for User or Find Approvals.
Comment from the approver. Cannot be empty.
request-items-to-rejectComma-separated list of request item IDs to reject for partial acceptance. Retrieve item IDs from Get Request Items. Cannot be used when action is reject or Rejected.

Headers

Bearer token

Response

On success, the server returns 200 with the following body regardless of format.

Examples

Request

curl -K -X POST \
"https://instance.securid.com/aveksa/command.submit?cmd=performApproval&format=json&action=Accepted&approval-id=1001:WPDS:1&comment=Approved" \
-H "Authorization: Bearer <token>"

Response

{
"data": {
"type": "performApproval"
}
}

Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.

See Also