Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

REST Connector - Date format for the value of field in milliseconds

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on July 1 2020 at 11:18 UTC

What is the date format for milliseconds value please?


The REST API I'm using to import accounts is returning values of date in milliseconds:

"createdOn": 1592833329826, "lastModifiedOn": 1592833550479,

What configuration should I set for the dateformat in ImportAccountEntJSON please?

"globalSettings": {     "dateFormat": "yyyy-MM-dd'T'HH:mm:ss"   }


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
2 REPLIES 2

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on July 1 2020 at 11:26 UTC

Hello Ramanpreet,


You can try with this below format in your JSON before colsToPropsMap -


"globalSettings": {"dateFormat": "yyyy-MM-dd HH:mm:ss"}

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on July 14 2020 at 13:38 UTC

Hi Abir,


It didn't work.


I have tried both date and char as the date format for the fields mappings and the global settings as you have suggested but it didn't work.


"CREATED_ON": "createdOn~#~date"


"CREATED_ON": "createdOn~#~char"

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.