Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

fetchRequestHistoryDetails" API doesn't return the account name in response

sumit_morchhale
New Contributor
New Contributor
We are using fetchRequestHistoryDetails API to fetch the details of request raised.
In below request we can see a request is raised to revoke the account(30Oct) associated with entitlement(HEALTH CLUB ENTITLEMENT1DISP) and as highlighted all the details are visible in Saviynt UI.
sumit_morchhale_0-1678786302481.png
But when we try to fetch the same details through fetchRequestHistoryDetails API, it doesn't return the account name in response.
Please find the attached payload and response.
 
API : fetchRequestHistoryDetails
 
Request Payload:
{
    "requestkey":"7305"
}
 
 
Response Payload:
{
 
    "requestHistoryDetails": {
        "comments"null,
        "ManagerApproval": [
            {
                "Entitlement Type""Health club Entitlement Type",
                "Assignee""John Baker (jbaker)",
                "Start Date""2022-12-29 07:17:50",
                "Approve Date""",
                "Endpoint""Health club",
                "State""Pending Approval",
                "Business Justification""",
                "endpointname""Health club",
                "Access""heath club Entitlement1Disp",
                "Request Type""Revoke Access",
                "Entitlement value""heath club Entitlement1"
            }
        ],
        "dynamicattributes": [],
        "requestor""30Oct",
        "requestedfor""30Oct",
        "requestId""553493"
    },
    "msg""SUCCESS",
    "tabList": [
        "comments",
        "ManagerApproval",
        "dynamicattributes",
        "requestor",
        "requestedfor"
    ],
    "count"6,
    "errorCode""0"
}
 
 
Is there any way we could get this attribute from above API ?
5 REPLIES 5

RakeshMG
Saviynt Employee
Saviynt Employee

Account name cannot be fetched from API call. And only the attributes which are mentioned in the API document can be pulled from API response.

For more details and samples please refer to following document :

https://documenter.getpostman.com/view/1797923/TVsvi7G2?version=latest#76a4348c-7c0e-4703-bb31-44290...


​Regards

Rakesh M Goudar

sumit_morchhale
New Contributor
New Contributor

Hi,

We are able to see the 'Account' attribute in Task in above shared documentation.

sumit_morchhale_0-1679911754272.png

 

Thanks,

Sumit

RakeshMG
Saviynt Employee
Saviynt Employee

Could you please share API body with URL for which you are not getting result.


​Regards

Rakesh M Goudar

sumit_morchhale
New Contributor
New Contributor

Hi,

URL :- https://ssm-poc-persistent.saviyntcloud.com

API :-  fetchRequestHistoryDetails

Request Payload:- 

{
    "requestkey":"7305"
}
Response :- 
{
    "requestHistoryDetails": {
        "comments"null,
        "ManagerApproval": [
            {
                "Entitlement Type""Health club Entitlement Type",
                "Assignee""John Baker (jbaker)",
                "Start Date""2022-12-29 07:17:50",
                "Approve Date""",
                "Endpoint""Health club",
                "State""Pending Approval",
                "Business Justification""",
                "endpointname""Health club",
                "Access""heath club Entitlement1Disp",
                "Request Type""Revoke Access",
                "Entitlement value""heath club Entitlement1"
            }
        ],
        "dynamicattributes": [],
        "requestor""30Oct",
        "requestedfor""30Oct",
        "requestId""553493"
    },
    "msg""SUCCESS",
    "tabList": [
        "comments",
        "ManagerApproval",
        "dynamicattributes",
        "requestor",
        "requestedfor"
    ],
    "count"6,
    "errorCode""0"
}

I have attached Url ,request and response payload.

Thanks,

Sumit

RakeshMG
Saviynt Employee
Saviynt Employee

Please raise ticket with Support team and share this forum link as reference. As this needs further troubleshooting.


​Regards

Rakesh M Goudar