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 Connector Import Account-Entitlement Json Issue

yogendragautam
New Contributor II
New Contributor II

Hi,

 

We are onboarding an app which uses rest as the connection mode to the target.

 

Below is the response of the GetUser API (One JSON object = 1 user)

 

{

    "rows": [

        {

            "label": "  [-2@xxxxxxxx.com]",

            "details": *********/dataservices/rest/data/v1/Bebx-directory/ebx-directory/directory/users/_2D2_40xxxxxxxxxxxxx_2Ecom ,

            "content": {

                "login": {

                    "content": -2@xxxxxxxxx.com 

                },

                "salutation": {

                    "content": null,

                    "selector": ******/directory/directory/users/_2D2_40xxxxxxxxx_2Ecom/salutation?selector=true 

                },

                "firstName": {

                    "content": null

                },

                "lastName": {

                    "content": null

                },

                "email": {

                    "content": -2@xxxxxxx.com 

                },

                "avatar": {

                    "content": {

                        "url": {

                            "content": null

                        },

                        "initials": {

                            "content": null

                        }

                    }

                },

                "password": {

                    "content": null

                },

                "passwordLastUpdate": {

                    "content": null

                },

                "passwordMustChange": {

                    "content": false

                },

                "builtInRoles": {

                    "content": {

                        "administrator": {

                            "content": false

                        },

                        "readOnly": {

                            "content": false

                        }

                    }

                },

                "specificRoles": {

                    "details":h*****443/****rest/data/v1/Bebx-directory/ebx-directory/directory/users/_2D2_40xxxxxxx_2Ecom/specifi...

                },

                "jobFunction": {

                    "content": null

                },

                "officePhoneNumber": {

                    "content": null

                },

                "mobilePhoneNumber": {

                    "content": null

                },

                "faxNumber": {

                    "content": null

                },

                "comments": {

                    "content": null

                },

                "attributes": {

                    "content": []

                }

            }

        },

 

The part Underlined (specificRoles) indicates the roles/accesses which the user has.

 

In Saviynt, I am able to Import Accounts and entitlements separately, But the account – to – entitlement mapping is something which I don’t think is feasible because of the response having an API URL instead of just the role details.

 

This seems to be nested API calls which isn’t supported by Saviynt.

 

Also, the above URL highlighted is for one user, so each user has a separate API call to be made.

 

Kindly suggest on how would this be possible to achieve.

[This message has been edited by moderator to disable url]

1 REPLY 1

SB
Saviynt Employee
Saviynt Employee

REST may not work to get these details but you can try accomplishing it using a Custom jar. I unfortunately do not have a reference example for you since I have not come across such an integration.


Regards,
Sahil