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

Problem:

We are passing the validfrom & validthrough account attributes in the Create account request API, but they are not getting updated through dynamic attributes (even with the data type).
 
Please see the request information below:
 
CreateAccount request: { "accountname":"SD_User2_1.Test_AD_EP.29", "requesttype":"NEW", "username":"SD_User2", "endpoint":"Test_AD_EP", "dynamicattr": { "RoleName":"Finance_IT", "ExpirationDate":"2023-11-16", "AccountType":"Secondary", "EffectiveDate":"2022-11-17" } }
 
Solution:
 
Generally as per the documentation the supported format for date is  "MM-DD-YYYY" but for this specific request we need to pass  "MMM DD,YYYY"  in this format and Api worked as expected,
 
CreateAccount request: { "accountname":"SD_User2_1.Test_AD_EP.29", "requesttype":"NEW", "username":"SD_User2", "endpoint":"Test_AD_EP", "dynamicattr": { "RoleName":"Finance_IT", "ExpirationDate":"Nov 16,2023", "AccountType":"Secondary", "EffectiveDate":"Nov 17,2022 " } } 
 
Same will be updated in Documentation soon
Comments
Naveen_Talanos
Regular Contributor
Regular Contributor

Hi @Darshanjain 

How do I do that from UI? We have mapped two "DATE" dynamic attributes to ValidFrom and ValidThrough Accounts fields in Service Account request. How do I make it pass date format as "MMM DD,YYYY" from UI to Accounts table?

Regards

Naveen

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @Naveen_Talanos This is only for Api related request. From UI you may be using dynamic attributes so it automatically takes the value and store it in the default format

Version history
Last update:
‎02/02/2023 01:39 PM
Updated by: