Execute Action On Approval Request Using POST 2

Execute Action On Approval Request Using POST 2

Approves or Rejects the approval request

Request
URI
POST
https://{api_host}//api.mgmt.cloud.vmware.com/approval/api/approvals/action
COPY
Request Body

approval request action

Approval_request_action of type(s) application/json
Optional
{
    "action": "string",
    "comment": "string",
    "fullApproval": false,
    "itemId": "string"
}
string
action
Optional

Approval request action

Possible values are : APPROVE, REJECT,
string
comment
Optional

Approver comment on action

boolean
fullApproval
Optional

Flag for approval admin to provide full approval

string
itemId
Optional

Approval request id

Authentication
This operation uses the following authentication methods.
Responses
200

Success - Successfully approved/rejected

Returns Approval_request_action of type(s) application/json
{
    "action": "string",
    "comment": "string",
    "fullApproval": false,
    "itemId": "string"
}
string
action
Optional

Approval request action

Possible values are : APPROVE, REJECT,
string
comment
Optional

Approver comment on action

boolean
fullApproval
Optional

Flag for approval admin to provide full approval

string
itemId
Optional

Approval request id


400

Approval request is not in pending state or user already taken action(approve/reject) on the approval request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Access Denied - Doesn't have permission to approve/reject the specified approval request

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure