Access Start Date is not return in fetchRequestHistoryDetails API

diptadip_dey
New Contributor
New Contributor


We created a request for entitlement with future start date and future end date as highlighted below, but in the API response of fetchRequestHistoryDetails we did not see the future start date and future end date of entitlement. Only showing current start date.

diptadip_dey_0-1689600879593.png

Response of fetchRequestHistoryDetails API:

{
"requestHistoryDetails": {
"comments": "",
"ManagerApproval": [
{
"Entitlement Type": "",
"Assignee": "",
"Start Date": "2023-06-15 10:27:12",
"Approve Date": "2023-06-15 10:29:57",
"Endpoint": "abc",
"State": "Approved (xyz))",
"Business Justification": "test",
"endpointname": "abc",
"Access": "Ent1",
"Request Type": "Request for Access",
"Entitlement value": "Ent1"
}
],
"dynamicattributes": [],
"requestor": "xyz",
"requestedfor": "xyz",
"requestId": "123"
},
"msg": "SUCCESS",
"tabList": [
"comments",
"ManagerApproval",
"dynamicattributes",
"requestor",
"requestedfor"
],
"count": 6,
"errorCode": "0"
}

We also checked it in the task section below , there also we did not see start date, end date shown in above  screenshot. 
How can we get the correct start date end date of accesses shown in Saviynt UI using rest APIs ?
 

3 REPLIES 3

pmahalle
Valued Contributor II
Valued Contributor II

Hi @diptadip_dey ,

I can see in above response start date is present. Do you mean, you are getting start date but not end date? Also can you share the request payload you are using.


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

armaanzahir
Regular Contributor III
Regular Contributor III

Hi @diptadip_dey ,

This might be a limitation in the version of Saviynt you're using as the response does not contain the 

requestAccessDetails object.
 
The api fetchRequestHistoryDetails in versions above v2020.1/v5.5sp5 does fetch the request access details as well as a part of the API response that shows the start and end dates of the access requested.
armaanzahir_1-1689609069852.png

 

 
Thanks,
Armaan
Regards,
Md Armaan Zahir

rushikeshvartak
All-Star
All-Star