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

Assistance Required for Account and Entitlement Mapping in SuccessFactors(REST Connector)

AtrayeeDutta
Regular Contributor
Regular Contributor
Hi All,
 
Currently, we are onboarding the SuccessFactors application and establishing a connection using REST in Saviynt. We have been successful in pulling the accounts and entitlements, but we are encountering some challenges when it comes to mapping these accounts to their respective entitlements. In POSTMAN the API is working.
 
Below is our ImportAccountEntJSON
 
{
    "accountParams": {
        "connection": "acctAuth",
        "processingType": "SequentialAndIterative",
        "statusAndThresholdConfig": {
            "statusColumn": "customproperty11",
            "activeStatus": [
                "t"
            ],
            "deleteLinks": true,
            "accountThresholdValue": 10000,
            "correlateInactiveAccounts": false,
            "inactivateAccountsNotInFile": true,
            "deleteAccEntForActiveAccounts": true
        },
        "call": {
            "call1": {
                "callOrder": 0,
                "stageNumber": 0,
                "http": {
                    "httpHeaders": {
                        "Authorization": "${access_token}",
                        "Accept": "application/json"
                    },
                    "httpContentType": "application/json",
                    "httpMethod": "GET"
                },
                "listField": "d.results",
                "keyField": "accountID",
                "colsToPropsMap": {
                    "accountID": "userId~#~char",
                    "name": "userId~#~char",
                    "status": "status~#~char",
                    "customproperty1": "firstName~#~char",
                    "customproperty2": "lastName~#~char",
                    "customproperty3": "custom01~#~char",
                    "customproperty11": "status~#~char"
                }
            }
        }
    },
    "entitlementParams": {
        "connection": "acctAuth",
        "processingType": "SequentialAndIterative",
        "entTypes": {
            "RBPRoles": {
                "entTypeOrder": 1,
                "call": {
                    "call1": {
                        "callOrder": 0,
                        "stageNumber": 0,
                        "http": {
                            "url": "https://xxxxxxxxxxxxxxx/odata/v2/RBPRole",
                            "httpHeaders": {
                                "Authorization": "${access_token}",
                                "Accept": "application/json"
                            },
                            "httpContentType": "application/json",
                            "httpMethod": "GET"
                        },
                        "listField": "d",
                        "keyField": "entitlementID",
                        "colsToPropsMap": {
                            "entitlementID": "roleId~#~char",
                            "entitlement_value": "roleName~#~char",
                            "description": "roleDesc~#~char",
                            "customproperty2": "userType~#~char",
                            "customproperty3": "lastModifiedDate~#~char"
                        }
                    }
                }
            }
        }
    },
    "acctEntParams": {
        "connection": "acctAuth",
        "entTypes": {
            "RBPRoles": {
                "call": {
                    "call1": {
                        "callOrder": 0,
                        "stageNumber": 0,
                        "processingType": "httpAcctToEnt",
                        "http": {
                            "httpHeaders": {
                                "Authorization": "${access_token}"
                            },
                            "url": "https://xxxxxxxxxxxxxxxx/odata/v2/getUserRolesByUserId?userId=${'id'}",
                            "httpContentType": "application/x-www-form-urlencoded",
                            "httpMethod": "GET"
                        },
                        "listField": "d.results",
"entIdPath": "roleId",
                   
                        "entKeyField": "entitlementID",
"acctKeyField": "accountID"
                        
                    }
                }
            }
        }
    }
}
3 REPLIES 3

naveenss
All-Star
All-Star

Hi @AtrayeeDutta can you share the sample response?

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Hi,

Please find attached sample response.