Fetch Request Approval Details
POST/fetchRequestApprovalDetails
This method returns approval details for a given "RequestId" (provided in requestKey
parameter) and approver (approver provided in userName
parameter)
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
requestKey
,
userName
- approver username
Optional params:
entresponsefields
- It can have syscritical, soxcritical, risk, privileged, confidentiality, status, displayname, description, any customproperty
Request
- application/json
Body
Responses
- 200
Fetch Request Approval Details
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 Approval Details
Schema
Array [
]
Array [
Array [
- MOD1
- MOD2
]
Array [
- MOD1
- MOD2
]
]
ApprovalRequestDetails
object
AccessHeader
object[]
AccessRequestDetails
object[]
modifyTasks
object[]
accessdetails
object
parentRequestaccessKey
object
anyOf
number
string
parentTasks
object
tasksList
object[]
accessdetails
object
parentRequestaccessKey
object
anyOf
number
string
{
"ApprovalRequestDetails": {
"AccessHeader": [
{
"Count": 2,
"Title": "Modify Role Request"
}
],
"AccessRequestDetails": [
{
"childTasks": [],
"childTasksCount": 0,
"dynamicAttributes": [],
"modifyTasks": [
{
"access": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"accessdetails": {
"customproperty1": "536870912",
"description": "",
"displayname": "Account Operators",
"entitlement_value": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"soxcritical": "NONE",
"status": "1"
},
"accesskey": 53553,
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"entTypeDescription": "AADGroup",
"entTypeDisplayName": "AADGroup",
"entitlement": "AADGroup",
"parentRequestaccessKey": 724,
"reqtype": "RequestAccess",
"requestaccessComments": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "",
"requestaccessKey": 725,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "08-23-2018 06:11",
"taskid": null,
"taskkey": 1069
},
{
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"parentRequestaccessKey": "",
"reqtype": "UpdateRole",
"requestaccessComments": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "2018-09-02T06:11:53Z",
"requestaccessKey": 724,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "2018-08-23T06:11:53Z",
"role": "ProjectManager",
"roleDescription": null,
"roleDisplayName": "ProjectManager",
"roleRisk": "",
"roleSoxcritical": "0",
"roleSyscritical": "0",
"taskid": null,
"taskkey": 1070
}
],
"modifyTasksCount": 2,
"parentTasks": {},
"tasksList": [
{
"access": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"accessdetails": {
"customproperty1": "536870912",
"description": "",
"displayname": "Account Operators",
"entitlement_value": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"soxcritical": "NONE",
"status": "1"
},
"accesskey": 53553,
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"entTypeDescription": "AADGroup",
"entTypeDisplayName": "AADGroup",
"entitlement": "AADGroup",
"parentRequestaccessKey": 724,
"reqtype": "RequestAccess",
"requestaccessComments": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "",
"requestaccessKey": 725,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "08-23-2018 06:11",
"taskid": null,
"taskkey": 1069
},
{
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"parentRequestaccessKey": "",
"reqtype": "UpdateRole",
"requestaccessComments": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "2018-09-02T06:11:53Z",
"requestaccessKey": 724,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "2018-08-23T06:11:53Z",
"role": "ProjectManager",
"roleDescription": null,
"roleDisplayName": "ProjectManager",
"roleRisk": "",
"roleSoxcritical": "0",
"roleSyscritical": "0",
"taskid": null,
"taskkey": 1070
}
],
"tasksListCount": 2,
"typeOfRequest": "MODIFY ROLE"
}
],
"Comments": "",
"totalCount": 1
},
"errorcode": "0",
"msg": "SUCCESS"
}
{
"ApprovalRequestDetails": {
"AccessHeader": [
{
"Count": 2,
"Title": "Modify Role Request"
}
],
"AccessRequestDetails": [
{
"childTasks": [],
"childTasksCount": 0,
"dynamicAttributes": [],
"modifyTasks": [
{
"access": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"accessdetails": {
"customproperty1": "536870912",
"description": "",
"displayname": "Account Operators",
"entitlement_value": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"soxcritical": "NONE",
"status": "1"
},
"accesskey": 53553,
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"entTypeDescription": "AADGroup",
"entTypeDisplayName": "AADGroup",
"entitlement": "AADGroup",
"parentRequestaccessKey": 724,
"reqtype": "RequestAccess",
"requestaccessComments": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "",
"requestaccessKey": 725,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "08-23-2018 06:11",
"taskid": null,
"taskkey": 1069
},
{
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"parentRequestaccessKey": "",
"reqtype": "UpdateRole",
"requestaccessComments": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "2018-09-02T06:11:53Z",
"requestaccessKey": 724,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "2018-08-23T06:11:53Z",
"role": "ProjectManager",
"roleDescription": null,
"roleDisplayName": "ProjectManager",
"roleRisk": "",
"roleSoxcritical": "0",
"roleSyscritical": "0",
"taskid": null,
"taskkey": 1070
}
],
"modifyTasksCount": 2,
"parentTasks": {},
"tasksList": [
{
"access": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"accessdetails": {
"customproperty1": "536870912",
"description": "",
"displayname": "Account Operators",
"entitlement_value": "CN=Account Operators,CN=Builtin,DC=corpAD,DC=saviynt,DC=com",
"soxcritical": "NONE",
"status": "1"
},
"accesskey": 53553,
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"entTypeDescription": "AADGroup",
"entTypeDisplayName": "AADGroup",
"entitlement": "AADGroup",
"parentRequestaccessKey": 724,
"reqtype": "RequestAccess",
"requestaccessComments": "Entitlement added as part of Modify Role-[ProjectManager] Request<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "",
"requestaccessKey": 725,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "08-23-2018 06:11",
"taskid": null,
"taskkey": 1069
},
{
"approvalstatus": "REJECTED",
"approvaltype": null,
"assignee": [
[
"aws Rachels (awsadmin)"
],
[
"Saviynt AdminUser (admin)"
]
],
"businessjustification": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"parentRequestaccessKey": "",
"reqtype": "UpdateRole",
"requestaccessComments": "Approval Request for Update Role<br/><br/> Auto Approved CREATED_SNOW::::REQ0010161::::555cfda30f0363007c378f8ce1050e70::::625cfda30f0363007c378f8ce1050ea2:::: null",
"requestaccessEnddate": "2018-09-02T06:11:53Z",
"requestaccessKey": 724,
"requestaccessStartdate": "2018-08-23T06:11:53Z",
"requestaccessStatus": "Task Created",
"requestdate": "2018-08-23T06:11:53Z",
"role": "ProjectManager",
"roleDescription": null,
"roleDisplayName": "ProjectManager",
"roleRisk": "",
"roleSoxcritical": "0",
"roleSyscritical": "0",
"taskid": null,
"taskkey": 1070
}
],
"tasksListCount": 2,
"typeOfRequest": "MODIFY ROLE"
}
],
"Comments": "",
"totalCount": 1
},
"errorcode": "0",
"msg": "SUCCESS"
}