Skip to main content

Get Pending Approvals

POST 

/getPendingApprovals

This API returns pending approval details for an approver (approver provided in username parameter). The Authorization must have Bearer followed by Token. Mandatory params: username Optional params: requestkey, max, offset, requestid, requestedfor, requestedby, firstname, lastname, sort - requestdate/duedate/requestid/requestkey, order - asc/desc, submitdatestart, submitdateend, duedatestart, duedateend, requestcomments, requestorigin, endpoint - list of endpoints, securitysystem - list of securitysystems, assignee - list of assignees, assigneeusername - list of usernames, requesttype - list of requesttypes, entitlementvaluekey - list of entitlement value keys, hidecompletedapprovals - true/ false (default is false). Note : Searchable dates in the format MM/dd/yyyy. Sample for list of items - ["value1","value2"]

Request

Body

    requestkeystring
    Example: 3484
    usernamestring
    Example: admin

Responses

Get Pending Approvals - SUCCESS

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

Schema

    countnumber
    Example: 1
    errorCodestring
    Example: 0
    msgstring
    Example: SUCCESS

    results

    object[]

  • Array [

  • accessRequestCountnumber
    Example: 1

    accessRequestDetails

    object[]

  • Array [

  • accountnamestring
    Example: edwardemployee

    childTasks

    object[]

  • Array [

  • Accessstring
    Example: ACCOUNTNAME|edwardemployee@@ENDPOINT|624@@
    accessstring
    Example: testEntitlementPM

    accessdetails

    object

    descriptionstring
    Example: This role is for employees needing access to EP
    displaynamestring
    Example: testEntitlementPM
    entitlement_valuestring
    Example: testEntitlementPM
    approvalstatusstring
    Example: NEW
    approvaltypestring
    Example: Auto-Approve
    assigneearray[]
    Example: [["Saviynt AdminUser (admin)"]]
    businessjustificationstring
    Example: <span class="busjustformat">[04/23/2020 UTC -Edward Employee(edwardemployee)] sdfsdf</span>
    entTypeDescriptionstring
    entTypeDisplayNamestring
    Example: Access
    entitlementstring
    Example: Access
    parentRequestaccessKeynumber
    Example: 6654
    reqtypestring
    Example: RequestAccess
    requestaccessCommentsstring
    Example: <span class="busjustformat">[04/23/2020 UTC -Edward Employee(edwardemployee)] sdfsdf</span>
    requestaccessEnddatestring
    Example:
    requestaccessKeynumber
    Example: 6655
    requestaccessStartdatestring
    Example: 2020-04-23T09:47:56Z
    requestaccessStatusstring
    Example: Pending Approval
    requestdatestring
    Example: 2020-04-23 09:47:56.0
    taskidstring
    Example: 2220058___810d1198-74b1-452f-8928-0f97a48ea04c
    taskkeynumber
    Example: 12247
  • ]

  • childTasksCountnumber
    Example: 1
    dynamicAttributesundefined[]
    Example: []
    endpointstring
    Example: Amigopod
    endpointdisplaynamestring
    Example: Amigopod
    modifyTasksundefined[]
    Example: []
    modifyTasksCountnumber
    Example: 0

    parentTasks

    object

    accountnamestring
    Example: edwardemployee
    approvalstatusstring
    Example: NEW
    endpointstring
    Example: Amigopod
    endpointdisplaynamestring
    Example: Amigopod
    requestedbystring
    Example: edwardemployee
    taskidstring
    Example: 2220058___311217e8-d3c7-439e-821e-304bfdebc8b4
    taskkeynumber
    Example: 12246
    requestedbystring
    Example: edwardemployee

    tasksList

    object[]

  • Array [

  • Accessstring
    Example: ACCOUNTNAME|edwardemployee@@ENDPOINT|624@@
    accessstring
    Example: testEntitlementPM

    accessdetails

    object

    descriptionstring
    Example: This role is for employees needing access to EP
    displaynamestring
    Example: testEntitlementPM
    entitlement_valuestring
    Example: testEntitlementPM
    approvalstatusstring
    Example: NEW
    approvaltypestring
    Example: Auto-Approve
    assigneearray[]
    Example: [["Saviynt AdminUser (admin)"]]
    businessjustificationstring
    Example: <span class="busjustformat">[04/23/2020 UTC -Edward Employee(edwardemployee)] sdfsdf</span>
    entTypeDescriptionstring
    entTypeDisplayNamestring
    Example: Access
    entitlementstring
    Example: Access
    parentRequestaccessKeynumber
    Example: 6654
    reqtypestring
    Example: RequestAccess
    requestaccessCommentsstring
    Example: <span class="busjustformat">[04/23/2020 UTC -Edward Employee(edwardemployee)] sdfsdf</span>
    requestaccessEnddatestring
    Example:
    requestaccessKeynumber
    Example: 6655
    requestaccessStartdatestring
    Example: 2020-04-23T09:47:56Z
    requestaccessStatusstring
    Example: Pending Approval
    requestdatestring
    Example: 2020-04-23 09:47:56.0
    taskidstring
    Example: 2220058___810d1198-74b1-452f-8928-0f97a48ea04c
    taskkeynumber
    Example: 12247
  • ]

  • tasksListCountnumber
    Example: 1
    typeOfRequeststring
    Example: NEW
  • ]

  • activitynamestring
    Example: Auto-Approve
    assigneestring
    Example: Saviynt AdminUser (admin)
    commentsstring
    Example:
    duedatestring
    Example: 2020-04-26 09:47:56
    endpointsstring
    Example: Amigopod
    requestdatestring
    Example: 2020-04-23 09:47:56
    requesteestring
    Example: Edward Employee (edwardemployee)
    requestidstring
    Example: 2210612
    requestkeynumber
    Example: 3484
    requestorstring
    Example: Edward Employee (edwardemployee)
    requesttypestring
    Example: New Account
  • ]

  • totalApprovalsstring
    Example: 1