Getting a List of an Approver’s Processed Requests
This section describes the App Broker REST API endpoint to return a list of requests for a given approver that have either been approved or rejected.
Endpoint Example: [GET] http://localhost/esd/api/users/domain=appportal/user=jsmith/approvals?status=processed
Response Body Example (Output):
[
{
"adGuid": "16cedd2b2c2e8c489d248ff0e7c3f8fa",
"approverName": "John Smith",
"approverUniqueName": "APPPORTAL\\jsmith",
"requests": [
{
"request": {
"requestID": 175,
"orderID": 168,
"packageID": 328,
"packageTitle": "Bhoomi v1.0",
"packageType": 328,
"requestType": "install",
"targetMachine": "ITAAPCCNET01",
"targetUser": "AutomationEndUser1",
"targetDeploymentTechnology": "SCCM2012",
"requestedOn": "2017-02-06T17:41:44"
},
"approvalType": "linear",
"approvers": [
{
"adGuid": "16cedd2b2c2e8c489d248ff0e7c3f8fa",
"approverLevel": 1,
"isCurrentApprover": true,
"action": "processed",
"availableActions": []
}
],
"approvalStatus": "processed"
}
]
}
]