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

Not able to fetch the accounts under entitlements

Ramana
New Contributor II
New Contributor II

Hi team,


For one application i am trying to corelate the account and entitlements from target to saviynt but it is not happening 

I am not seeing the accounts under entitlements.

Import acctent Json

 

{ "accountParams": { "connection": "acctAuth", "processingType": "SequentialAndIterative", "call": { "call1": { "callOrder": 0, "stageNumber": 0, "http": { "url": "https://demo.xxxxx.net/restapi/v2.1/accounts/xxxxxxxxxxxxx/users", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/json", "httpMethod": "GET" }, "listField": "users", "keyField": "accountID", "colsToPropsMap": { "accountID": "userId~#~char", "name": "email~#~char", "status": "userStatus~#~char", "customproperty1": "userType~#~char", "customproperty2": "isAdmin~#~char", "customproperty3": "uri~#~char", "customproperty4": "email~#~char", "customproperty5": "createdDateTime~#~char", "customproperty6": "firstName~#~char", "customproperty7": "lastName~#~char", "customproperty8": "permissionProfileId~#~char", "customproperty9": "permissionProfileName~#~char", "customproperty10": "jobTitle~#~char", "customproperty11": "userName~#~char", "customproperty12": "userId~#~char", "customproperty13": "userStatus~#~char" } } } }, "entitlementParams": { "connection": "acctAuth", "processingType": "SequentialAndIterative", "entTypes": { "permissionProfiles": { "entTypeOrder": 0, "call": { "call1": { "callOrder": 0, "http": { "httpHeaders": { "Authorization": "${access_token}", "Accept": "application/json" }, "url": "https://demo.xxxxxxx.net/restapi/v2.1/accounts/xxxxxxxxxxxxxxxx/permission_profiles/", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "permissionProfiles", "keyField": "entitlementID", "colsToPropsMap": { "entitlementID": "permissionProfileId~#~char", "entitlement_value": "permissionProfileName~#~char", "displayname": "permissionProfileName~#~char", "customproperty1": "permissionProfileId~#~char", "customproperty2": "permissionProfileName~#~char", "customproperty3": "modifiedDateTime~#~char", "customproperty4": "modifiedByUsername~#~char" }, "makeProcessingStatus": false } } } } }, "acctEntParams": { "connection": "acctAuth", "entTypes": { "permissionProfiles": { "call": { "call1": { "connection": "acctAuth", "callOrder": 0, "stageNumber": 0, "processingType": "httpEntToAcct", "http": { "httpHeaders": { "Authorization": "${access_token}" }, "url": "https://demo.xxxxx.net/restapi/v2.1/accounts/xxxxxxxxxxxxxx/users/userId=${id}/profile", "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "users", "entKeyField": "entitlementID", "acctIdPath": "userId", "acctKeyField": "accountID" } } } } } }

 

Postman call of the acct ent mapping

Ramana_0-1679636821645.png


Please let me know where i am making mistake

 

Thanks

Ramana Muriki

3 REPLIES 3

RakeshMG
Saviynt Employee
Saviynt Employee

Please add the AccountID Field in the colsToPropsMap mapping.

Also please add

acctEntMappings": {
"Roles": {
"listPath": "Roles.Role.ObjectID",
"idPath": "",
"keyField": "entitlementID"
}

 

In your json.

For details on sample json please refer to following document : https://docs.saviyntcloud.com/bundle/REST-v55x/page/Content/Examples-for-JSON-Construction.htm#Impor...


​Regards

Rakesh M Goudar

Ramana
New Contributor II
New Contributor II

Hi Rakesh,

I tried to add the fields which you have suggested.

But still facing the same issue

 

Thanks,

Ramana Muriki

SB
Saviynt Employee
Saviynt Employee

Can you share the below details:

1. Current complete Import json

2. Is the Acct/Ent info part of the user's call/Entitlements call or is it a different url.

3. What is the Entitlement field in the postman screenshot and the account Id field.


Regards,
Sahil