07/17/2023 06:43 AM - edited 07/17/2023 08:04 AM
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.
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 ?
07/17/2023 06:53 AM
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.
07/17/2023 08:51 AM
Hi @diptadip_dey ,
This might be a limitation in the version of Saviynt you're using as the response does not contain the
07/17/2023 08:39 PM
Its not available in your version 5.5 SP 3.x
Refer v5.5 Sample API Response : https://documenter.getpostman.com/view/20052500/2s93RQUa2t#4bc395dc-1b9a-4f94-ad12-fb0ca9e69b69
v2021 - Sample Response https://documenter.getpostman.com/view/1797923/2s83mbojGM#f3383c6f-884f-4cc3-a651-ec3461c92388