and more in a single search tool across platforms. Read the announcement here. |
11/30/2023 08:08 AM - edited 11/30/2023 08:36 AM
Hi, I am trying to use update user api call to set end date and term date for a given user. When passing
11/30/2023 09:19 AM
Hi @jralexander137 ,
Can you try below date format and check once:
{
"username":"TestUser1",
"statuskey":"1",
"enddate":"08-13-2017"
}
It's working for us.
11/30/2023 10:02 AM
Tried that and got the same error I got for other formats:
ield error in object 'com.saviynt.ecm.identitywarehouse.domain.Users' on field 'enddate': rejected value [08-13-2017]; codes [com.saviynt.ecm.identitywarehouse.domain.Users.enddate.typeMismatch.error,com.saviynt.ecm.identitywarehouse.domain.Users.enddate.typeMismatch,users.enddate.typeMismatch.error,users.enddate.typeMismatch,typeMismatch.com.saviynt.ecm.identitywarehouse.domain.Users.enddate,typeMismatch.enddate,typeMismatch.java.util.Date,typeMismatch]; arguments [End Date]; default message [Unparseable date: "08-13-2017"]
Payload sent:
11/30/2023 08:57 PM
try future date its working in v23.6
12/01/2023 05:07 AM - edited 12/01/2023 05:08 AM
Tried future date, still getting same error.
12/01/2023 05:16 AM
Hi @jralexander137 ,
What's date format you have set in Global Configuration --> Preferences? Can you set it to MM-DD-YYYY and try with below payload.
12/03/2023 04:29 PM
Under Global configuration - Preference Set date format
Date Format