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

Account having multiple Roles to Entitlement mapping reconciling issue. No API for AccountEntMapping

srinath
Regular Contributor
Regular Contributor

Hi All,

I have below issue while i am importing roles and accounts. I am able to import roles and accounts along with AccounttoEnt mapping as well. But target application is having user with multiple roles for single role as below.

"respond_data": [
{
"account_name": "30012",
"activestatus": true,
"roleid": "ABNM",
"rolename": "AnnBFGouncement"
},
{
"account_name": "30013",
"activestatus": true,
"roleid": "BsdfasdgP",
"rolename": "Businesdfrtner"
},
}

I am not sure how to pull multiple roles to map with account. Here i am attaching Import Account Json. Could someone quick help on this.

@KirtiAjrot 

Last time the API has to change from application. Do the below API response is right that they can modify will help with reconcilement with entitlements?

 

{
"account_name": "72000319",
"activestatus": true,
"roleid": [ {"PMS","TRADM"} ],
"rolename": [ {"Performance Management","Training Admin"}]
},

{
"account_name": "72000316",
"activestatus": true,
"roleid": [ {"PMS","TRADM"} ],
"rolename": [ {"Performance Management","Training Admin"}]
}

]

If this works could you please share document link for reference for this integration.

I am also attaching last time posted issue for the same

@rushikeshvartak @Sivagami Could you please also help on this if this doesn't work can i have Custom Jar connector integration document link

14 REPLIES 14

khalidakhter
Saviynt Employee
Saviynt Employee

Hi

Please share the latest API response and the import JSON to check the feasibility.
However, the below API response is supported with REST Connector.

"respond_data": [
{
"account_name": "30012",
"activestatus": true,
"roleid": "ABNM",
"rolename": "AnnBFGouncement"
},
{
"account_name": "30013",
"activestatus": true,
"roleid": "BsdfasdgP",
"rolename": "Businesdfrtner"
},
{
"account_name": "30012",
"activestatus": true,
"roleid": "BsdfasdgP",
"rolename": "Businesdfrtner"
}
}




srinath
Regular Contributor
Regular Contributor

Hi @khalidakhter ,

Please find the attached JSON and also response as below

"respond_data": [
        {
            "account_name": "40026230",
            "activestatus": true,
            "roleid": "OFFBOARD",
            "rolename": "OffBoarding"
        },
        {
            "account_name": "WFMTEST00037",
            "activestatus": true,
            "roleid": "OFFBOARD",
            "rolename": "OffBoarding"
        },
        {
            "account_name": "WFMTEST00036",
            "activestatus": true,
            "roleid": "OFFBOARD",
            "rolename": "OffBoarding"
        },
 
]

khalidakhter
Saviynt Employee
Saviynt Employee

Hi @srinath 

You do not need to provide listPath again in the same import section. Please try the account and access import with the updated JSON.

srinath
Regular Contributor
Regular Contributor

Hi @khalidakhter ,

Just to update that each user might have multiple roles as well. Even the above json will pull user with multiple roles?

 

Yes, @srinath REST connector must be able to import multiple roles as well if entries are present in the response.

srinath
Regular Contributor
Regular Contributor

Hi @khalidakhter ,

Ok, but still with the JSON you shared still not working 

Share latest json 


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

Hi @rushikeshvartak : here is the Json

khalidakhter
Saviynt Employee
Saviynt Employee

@srinath Please share the response of the API used in the accountParams as well to compare with import JSON.

srinath
Regular Contributor
Regular Contributor

Hi @khalidakhter ,

Here is the response 

 

srinath_0-1686583598909.png

 

khalidakhter
Saviynt Employee
Saviynt Employee

Hi @srinath 

Please try with the updated import JSON attached below and update if it works.

srinath
Regular Contributor
Regular Contributor

Hi @khalidakhter ,

This is working but if user having multiple Roles with below response first time it is taking one role and when we run the job again it is overriding other role. So, everytime it can take up only one value.

srinath_0-1686632805362.pngsrinath_1-1686632839764.png

 

How we can map with multiple values using this response

khalidakhter
Saviynt Employee
Saviynt Employee

Hi @srinath 

There is a limitation with the AccountParams section in the REST connector as it always expects only a single entry for a single user. However, you can call the same API in the acctEntParams to get account entitlement mappings in EIC.
Please try with the attached JSON.

srinath
Regular Contributor
Regular Contributor

Thanks @khalidakhter ,

Even i tried the same thing and hope it is working as expected.