Fetch Request History (my pending requests)
POST/fetchRequestHistory
This API call can be used to fetch the request history of all the requests submitted by an user.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
username
- loggedinuser in Saviynt
Optional params:
status
- OPEN/DRAFT/INPROCESS/COMPLETED/EXPIRED/DISCONTINUED. For example: as a list ["open","expired"] or a single status like "open",
requestkey
, requestedfor
, requestedby
,
sort
- requestsubmittedon/duedate/requestid,
order
- asc or desc,
requestid
, duedatestart
(MM/dd/yyyy), duedateend
(MM/dd/yyyy), submitdatestart
(MM/dd/yyyy), submitdateend
(MM/dd/yyyy), endpoint
, securitysystem
,
firstname
(requestedfor user),
lastname
(requestedfor user),
assignee
- list of usernames,
requesttype
- list of requesttypes, (ADD,UPDATEACCOUNT,NEWACCOUNT,DEL,NEWROLEREQUEST,CREATEROLE,MODIFYROLE,CREATEUSER,UPDATEUSER,EXTENDACCESS etc),
approvedby
- list of usernames,
rejectedby
- list of usernames,
max
, offset
,
showentitlementdetails
- true/false,
entresponsefields
- if showentitlementdetails
is true, sample - "entresponsefields":["description","soxcritical","customproperty1","syscritical","risk","privileged","status","confidentiality"]
exactmatch
(true/false) - If true, returns records for which value of requestedfor, firstname, lastname fields matches exactly.
Request
- application/json
Body
Responses
- 200
Fetch Request History (my pending requests) / Fetch Request History (my pending requests) - exactmatch param
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
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Fetch Request History (my pending requests)
- Fetch Request History (my pending requests) - exactmatch param
Schema
Array [
]
requests
object[]
{
"count": 1,
"errorCode": "0",
"msg": "Successful",
"requests": [
{
"assignee": "",
"duedate": "2017-07-31 06:22:50",
"endpointname": "Okta",
"endpoints": "Okta",
"reqkey": "3",
"requestandtaskstatus": "Request completed, Task completed",
"requestedfor": "Abhishek Srinivasan (asrinivasan)",
"requestid": "290037",
"requestor": "Saviynt AdminUser (admin)",
"requestsubmittedon": "2017-07-21 06:22:50",
"requesttype": "New Account",
"status": "Completed "
}
],
"totalcount": 3693
}
{
"count": 1,
"errorCode": "0",
"msg": "Successful",
"requests": [
{
"assignee": "",
"duedate": "2017-07-31 06:22:50",
"endpointname": "Okta",
"endpoints": "Okta",
"reqkey": "3",
"requestandtaskstatus": "Request completed, Task completed",
"requestedfor": "Abhishek Srinivasan (asrinivasan)",
"requestid": "290037",
"requestor": "Saviynt AdminUser (admin)",
"requestsubmittedon": "2017-07-21 06:22:50",
"requesttype": "New Account",
"status": "Completed "
}
],
"totalcount": 3693
}
{
"count": 1,
"errorCode": "0",
"msg": "Successful",
"requests": [
{
"assignee": "",
"duedate": "2017-09-03 09:48:06",
"endpointname": "ActiveDirectory, System",
"endpoints": "ActiveDirectory, System",
"reqkey": "84",
"requestandtaskstatus": "",
"requestedfor": "Mary Morse (U025357)",
"requestid": "390110",
"requestor": "Saviynt AdminUser (admin)",
"requestsubmittedon": "2017-08-24 09:48:06",
"requesttype": "Revoke Access",
"status": "Completed "
}
],
"totalcount": 1
}