Approving or Rejecting Approval Requests
To enable a user to approve or reject a request, do the following:
1. Use the
getPendingApprovals operation to obtain the list of requests that require the user's approval.
2. Apply the
approve or
reject operation to the requests in the list according to the approval decisions that the user makes.
When you invoke the
approve or
reject operation, you must specify the key of the approval request on which the operation is to act. You can obtain this key from the
ApprovalRequestList message that was returned by the
getPendingApprovals operation.
Note: | You can apply the approve or reject operation to a single approval request or to multiple requests. |
The approve and reject operations return an
ApprovalRequestList message. This message will contain the approval requests that were approved or rejected by the operation.
For more information about working with the contents of the
ApprovalRequestList message, see
ApprovalRequestList Message.
Tip: | This operation provides functionality like that of the Pending Approvals list in CentraSite Control. |