05/31/2023 03:47 AM
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.
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
Solved! Go to Solution.
06/07/2023 01:28 AM - edited 06/08/2023 02:12 AM
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"
}
}
06/09/2023 06:16 AM
Hi @khalidakhter ,
Please find the attached JSON and also response as below
06/09/2023 11:57 AM
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.
06/09/2023 01:51 PM
Hi @khalidakhter ,
Just to update that each user might have multiple roles as well. Even the above json will pull user with multiple roles?
06/11/2023 09:28 PM
Yes, @srinath REST connector must be able to import multiple roles as well if entries are present in the response.
06/12/2023 02:09 AM
Hi @khalidakhter ,
Ok, but still with the JSON you shared still not working
06/12/2023 04:07 AM
Share latest json
06/12/2023 04:20 AM
06/12/2023 08:14 AM - edited 06/12/2023 08:18 AM
@srinath Please share the response of the API used in the accountParams as well to compare with import JSON.
06/12/2023 08:26 AM
06/12/2023 08:43 PM
Hi @srinath
Please try with the updated import JSON attached below and update if it works.
06/12/2023 10:07 PM
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.
How we can map with multiple values using this response
06/13/2023 09:48 PM
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.
06/14/2023 12:16 PM