Get List of Pending Requests for Approver
POST/getPendingRequests
This method returns a list of "Pending Requests" for approver in SSM
The Authorization
must have Bearer
followed by Token
.
Header params:
SAVUSERNAME
- logged-in user
Optional params:
requestkey
,
assignee
,
max
,
offset
,
requestid
,
requestedfor
,
requestedby
,
firstname
,
lastname
,
sort
- requestsubmittedon/duedate/requestid/requestkey,
order
- asc/desc,
submitdatestart
,
submitdateend
,
duedatestart
,
duedateend
,
requestcomments
,
requestorigin
,
endpoint
- list of endpoints,
securitysystem
- list of securitysystems,
assigneeuserkey
- list of assignee userkeys,
assigneeusername
- list of usernames,
requesttype
- list of requesttypes,
entitlementvaluekey
- list of entitlement value keys.
Note : Searchable dates in the format MM/dd/yyyy.
Sample for list of items - ["value1","value2"]
Request
Header Parameters
- application/json
Body
Responses
- 200
Get List of Pending Requests for Approver
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
- application/json
- Schema
- Example (from schema)
- Get List of Pending Requests for Approver
Schema
Array [
]
results
object[]
{
"approverejectall": "true",
"displayCount": 2,
"errorCode": "0",
"msg": "Success",
"results": [
{
"activityname": "1st UG",
"assignee": "Shania Marquez (smarquez), Cody Richards(crichards), (USASOQ), Brielle Harrell(bharrell)",
"duedate": "2017-10-26 00:10:59",
"endpoints": "",
"requestdate": "2017-10-12 00:10:59",
"requestee": "fn ln (admin)",
"requestid": "2890001",
"requestkey": 2747,
"requestor": "Tabitha Bowers (tbowers)",
"requesttype": "Enterprise Role Request",
"sod": "false"
},
{
"activityname": "1st UG",
"assignee": "Shania Marquez (smarquez), Cody Richards(crichards)",
"duedate": "2017-11-06 21:50:50",
"endpoints": "",
"requestdate": "2017-10-23 21:50:50",
"requestee": "fn ln (admin)",
"requestid": "2980254",
"requestkey": 2787,
"requestor": "Tabitha Bowers (tbowers)",
"requesttype": "Enterprise Role Request",
"sod": "false"
}
],
"total": 586
}
{
"approverejectall": "true",
"displayCount": 2,
"errorCode": "0",
"msg": "Success",
"results": [
{
"activityname": "1st UG",
"assignee": "Shania Marquez (smarquez), Cody Richards(crichards), (USASOQ), Brielle Harrell(bharrell)",
"duedate": "2017-10-26 00:10:59",
"endpoints": "",
"requestdate": "2017-10-12 00:10:59",
"requestee": "fn ln (admin)",
"requestid": "2890001",
"requestkey": 2747,
"requestor": "Tabitha Bowers (tbowers)",
"requesttype": "Enterprise Role Request",
"sod": "false"
},
{
"activityname": "1st UG",
"assignee": "Shania Marquez (smarquez), Cody Richards(crichards)",
"duedate": "2017-11-06 21:50:50",
"endpoints": "",
"requestdate": "2017-10-23 21:50:50",
"requestee": "fn ln (admin)",
"requestid": "2980254",
"requestkey": 2787,
"requestor": "Tabitha Bowers (tbowers)",
"requesttype": "Enterprise Role Request",
"sod": "false"
}
],
"total": 586
}