We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

REST - Account to entitlement mapping

piyushm
Regular Contributor II
Regular Contributor II

Hello,

We have REST integration where there is no separate API for Entitlement membership.

The account API has roles listed for each user. But there is no attribute for the role itself. The API response is as below.

 

{
    "pageIndex"1,
    "totalPages"1,
    "users": [
        {
            "isActive"true,
            "email""abc@xyz.com",
            "firstName""ABC",
            "lastName""ABC",
            "phone""0123456789",
            "roles": [
                1
            ]
        }
]
 
The Roles API has the response as below.
 
{
    "totalRoles"3,
    "roles": [
        {
            "code"1,
            "title""Role A",
            "description""Role used to create regular Authorized Officers accounts for Equifax users."
        },
        ......
]
I am getting null pointer exception and the accounts are not getting associated with the entitlements.
 
Attached json for reference. Please let me know if there is any issue with the json.
 
2 REPLIES 2

nimitdave
Saviynt Employee
Saviynt Employee

@piyushm :

1. Please can you confirm if cp31 is getting populated with the mapping.

2. Please share log excerpt which says null pointer.

piyushm
Regular Contributor II
Regular Contributor II

@nimitdave - Thanks for the reply. I was able to resolve this by using the below combination in acctEntMappings

"listPath": "roles",
"idPath": ""