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

Nested JSON

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 9 2022 at 19:30 UTC

Hi 


I have a json response in the following format


{

    "id": 407,

    "userName": "fname.lname@test.com",

    "lastLoginDate": "2022-01-05T13:56:48.7689072Z",

    "roleIds": [

        14

    ],

    "teamIds": [

        181

    ],

    "authenticationProviderId": 3,

    "creationDate": "2021-11-26T13:35:33.6776167Z",

    "firstName": "fname",

    "lastName": "lname",

    "email": "fname.lname@test.com",

    "phoneNumber": "",

    "cellPhoneNumber": "",

    "jobTitle": null,

    "other": "",

    "country": "",

    "active": true,

    "expirationDate": null,

    "allowedIpList": [],

    "localeId": 1

}


How can I refer to "roleIds" in acctEntParams mapping? While processing ENTVALKEY is null. I am getting ACCKEY correctly

 

I have the mapping as follows

 

    "acctEntParams": {

        "entTypes": {

            "Roles": {

                "call": {

                    "call1": {

                        "processingType": "httpAcctToEnt",

                        "connection": "acctAuth",

                        "listField": "roleIds",

                        "acctKeyField": "accountID",

                        "entKeyField": "entitlementID",

                        "entIdPath": "",

                        "http": {

                            "url": "https://test.com/users/${id}",

                            "httpMethod": "GET",

                            "httpContentType": "application/json",

                            "httpHeaders": {

                                "Authorization": "${access_token}",

                                "Accept": "application/json"

                            }

                        }

                    }

                }

            }

        }

    } 

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.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 11 2022 at 11:57 UTC

Any one?

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.