Skip to main content

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

Body

    exactmatch string
    firstname string
    max string
    username string

Responses

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

Schema

    count number
    errorCode string
    msg string

    requests

    object[]

  • Array [

  • assignee string
    duedate string
    endpointname string
    endpoints string
    reqkey string
    requestandtaskstatus string
    requestedfor string
    requestid string
    requestor string
    requestsubmittedon string
    requesttype string
    status string
  • ]

  • totalcount number
Loading...