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

    requestkey string
    username string

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

    count number
    errorCode string
    msg string

    results

    object[]

  • Array [

  • accessRequestCount number

    accessRequestDetails

    object[]

  • Array [

  • accountname string

    childTasks

    object[]

  • Array [

  • Access string
    access string

    accessdetails

    object

    description string
    displayname string
    entitlement_value string
    approvalstatus string
    approvaltype string
    assignee array[]
    businessjustification string
    entTypeDescription string
    entTypeDisplayName string
    entitlement string
    parentRequestaccessKey number
    reqtype string
    requestaccessComments string
    requestaccessEnddate string
    requestaccessKey number
    requestaccessStartdate string
    requestaccessStatus string
    requestdate string
    taskid string
    taskkey number
  • ]

  • childTasksCount number
    dynamicAttributes undefined[]
    endpoint string
    endpointdisplayname string
    modifyTasks undefined[]
    modifyTasksCount number

    parentTasks

    object

    accountname string
    approvalstatus string
    endpoint string
    endpointdisplayname string
    requestedby string
    taskid string
    taskkey number
    requestedby string

    tasksList

    object[]

  • Array [

  • Access string
    access string

    accessdetails

    object

    description string
    displayname string
    entitlement_value string
    approvalstatus string
    approvaltype string
    assignee array[]
    businessjustification string
    entTypeDescription string
    entTypeDisplayName string
    entitlement string
    parentRequestaccessKey number
    reqtype string
    requestaccessComments string
    requestaccessEnddate string
    requestaccessKey number
    requestaccessStartdate string
    requestaccessStatus string
    requestdate string
    taskid string
    taskkey number
  • ]

  • tasksListCount number
    typeOfRequest string
  • ]

  • activityname string
    assignee string
    comments string
    duedate string
    endpoints string
    requestdate string
    requestee string
    requestid string
    requestkey number
    requestor string
    requesttype string
  • ]

  • totalApprovals string
Loading...