Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Update date not changing in user table when data is updated via API

Ankit_Singh
New Contributor
New Contributor

Update date not changing in user table when data is updated via API

13 REPLIES 13

AmitM
Valued Contributor
Valued Contributor

Hi Ankit, 

Do you see changes in history page? Updatedate attribute does get updated even for API call is my experience so far.

Best Regards,

Amit

If it helped. Please ACCEPT SOLUTION and hit Kudos.

Ankit_Singh
New Contributor
New Contributor

Changes are there in UI history Page. But updatedate is same as created date.

When change is made via UI then Updatedate changes in usertable

AmitM
Valued Contributor
Valued Contributor

Okay, Worth raising a freshdesk ticket then because that is not the behavior I see.

Or wait for somebody else's response but it should. And if not in new versions, can't you update it while making API call?

AmitM_0-1706891934716.png

AmitM_1-1706891976300.png

 

Ankit_Singh
New Contributor
New Contributor

I have raised the Fresh Desk Ticket.

But will be happy to know the process of update it while making API call as I am little unaware of it.

AmitM
Valued Contributor
Valued Contributor

Yeah , you cant update updatedate from an API call. Saviynt does that automatically.

Are you using ECM/api/v5/updateUser to update user? can you send your postman request?

rushikeshvartak
All-Star
All-Star

This is expected behaviour 

SAVUPDATEDATE

savUpdateDate

datetime

Specifies the date when the user was last updated in EIC.

UPDATEDATE

updatedate

datetime

Specifies the date when the user was last updated in the target system. This is updated with the import process.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Ankit_Singh
New Contributor
New Contributor

Hi Rushikesh,

I am little confused about target system in this case. 

My Case:

Saviynt is importing users via REST API.

if there is a change in data Saviynt is updating it in users profile and also it is visible in update history in UI

But Update date is not getting changed in Users Table when i check in data analyser.

  • Any change from API/UI will update date in v24.1
  • Before API 
  • rushikeshvartak_0-1707286557722.png

    API :

    • rushikeshvartak_1-1707286574909.png

       

  • After API Hit
  • rushikeshvartak_2-1707286586434.png

     


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Manu269
All-Star
All-Star

@Ankit_Singh I have even valied, using the api i dont see any change in update date, wheres from UI it does get captured.

Please raise an idea ticket and post here for update.

Anyways nice catch 🙂

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

AmitM
Valued Contributor
Valued Contributor

Hi @Manu269 , it does or atleast used to happen if stopped in latest versions. See my screen shot. 

Thanks,

Amit

@AmitM @Manu269  It works as expected in v24.1


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Ankit_Singh
New Contributor
New Contributor

Hi @rushikeshvartak ,

Can you please share jsons for importuser modifyUser and other jsons which you are using in you API call

Check above reply postman screenshot provided


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.