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

REST API: Import Roles from array response

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 14 2020 at 11:43 UTC

Hi ,


I have a REST API whose response looks like below:

{

"unique_id": "ABVd8H-r9fXTQAjYYghAzVxn",

"username": "LVELHO",

"fullname": "VELHO, Lionel Invencao",

"emailaddress": null,

"userdescription": "VELHO, Lionel Invencao",

"password": null,

"alternativeuserid": "",

"activeaccountflag": true,

"temporarydisabledflag": false,

"domains": "FMG",

"logintype": "Automatic",

"timezone": null,

"dashboard": null,

"locality": null,

"roles": [

"BMS Employee Access ",

"FMGL - AOD Schedule",

"FMGL - Case Track - Admin",

"FMGL - Medical",

"FMGL - Workers Comp Officer/Manager"

],

"forceuserpasswordreset": false

}


I have to read the account to entitlement association with this.

Is it possible to seggregate these roles in Saviynt?


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
7 REPLIES 7

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 14 2020 at 12:19 UTC

Hi Arushi,


The accounts and entitlements can be mapped using the processing type "acctToEntMapping" in acctEntParams This value is specified when the acctEntMapping tag is defined inside the accountParams section. Please find the attached document containing a sample JSON.

Thank you

Vedanth B.K


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 14 2020 at 16:30 UTC

Hi Vedant,


Is it also possible to import entitlements using this response itself as the application doesnt expose any API exclusively listing the roles?

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 14 2020 at 16:31 UTC

Hi Vedant,


Is it also possible to import the entitlements using this response itself as the application doesnt expose any API exclusively listing the roles.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 15 2020 at 05:41 UTC

Hi Arushi,


No, the above response is not in a valid format to import entitlements.


Thank you

Vedanth B.K

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 15 2020 at 10:33 UTC

Thanks for the response Vedant.

Can the above JSON you provided be used to associate entitlements for inactive accounts as well?

I wish to be able to achieve that as well.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 15 2020 at 16:08 UTC

To add to the above, our requirement is to manage all accounts and only 2 roles for the application and the application has not exposed any separate API to import the entitlements.

Would it be possible to be able to do entitlement association with the accounts without importing the entitlements?

NOTE: Entitlements are being created manually from UI.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 21 2020 at 10:51 UTC

Hi Arushi,


The accounts and entitlements cannot be mapped if the entitlements are manually created from UI.


Thank you

Vedanth B.K

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.