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

RESTAPI - APPLICATION INTEGRATION APPROACH

DG1811
New Contributor III
New Contributor III

Hi Team,

We have a requirement as below. 

Entitlements : AppRole1, AppRole2

Application Name : AppName1,AppName2,AppName3,

Application Name ID: AppID1, AppID2, AppID3

We have pulled ApplicationName, ApplicationNameID and Entitlements as EntitlementType as part of the importAccountEntJSON.

The payload for the create account is as followed. 

{
"user": {
"email": "testuser2@domain.com",
"ROLES": [
{
"ID": "AppID1",
"IDNAME": "AppName1",
"roles": [
"AppRole1"
]
},
{
"ID": "AppID3",
"IDNAME": "AppName3",
"roles": [
"AppRole2"
]
},
{
"ID": "AppID2",
"IDNAME": "AppName2",
"roles": [
"AppRole3"
]
}
],
"scope": "site",
"fullName": "testuser2",
"fullNameReadOnly": "true",
"twoFaEnabled": "true",
}
}

We are trying to achieve the same using Dynamic attribute. Where the user can select multiple Application Name and then can select Entitlements for each of them. But there are around 17 applications and user can select the list dynamically. which will update the create json dynamically based on the application selection. 
Could you please suggest a way to achieve this. And also the createAccountJSON format for it. 

Thanks

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

use conditional if else 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

DG1811
New Contributor III
New Contributor III

Hi @rushikeshvartak ,
Can you please suggest some more insight on this please.  Like a format of the create json. Or how we can acheive it. 

Thanks

Share your draft JSON for 1 application. I can suggest a contextual part on it.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.