Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/18/2024 07:01 AM
json for acctEntParams
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"URL": "<url>",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"entKeyField": "entitlementID",
"entIdPath": "id",
"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
}
}
}
}
sample output
Solved! Go to Solution.
09/18/2024 07:04 AM
Try below
"listField": "",
09/18/2024 07:23 AM
09/18/2024 07:25 AM
Share logs in text format
09/18/2024 07:34 AM
09/18/2024 07:36 AM
Provide in text file
09/18/2024 07:36 AM
Can you please share with me which log needs to be provided and the key point for searching for those logs ?
Thanks
09/18/2024 07:38 AM
09/18/2024 07:40 AM
09/18/2024 07:40 AM
There are no specific keywords
09/18/2024 08:59 AM
"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
is it the correct way to map the member id on that array ?
09/18/2024 09:08 AM
@alvian try this
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"URL": "<url>",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources.members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"acctKeyField": "accountID"
}
}
}
}
}
09/18/2024 09:23 AM - edited 09/18/2024 09:23 AM
I used it already but still not works
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://url/scim2/Groups/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources.members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"acctKeyField": "accountID"
}
}
}
}
}
}
is it correct right ?
09/18/2024 09:34 AM
Share full JSON
09/18/2024 09:47 AM
Hi @alvian , if account id is mapped to id and name is similar to value passed use.
acctKeyField": "name"
09/18/2024 09:55 AM - edited 09/18/2024 10:03 AM
@alvian keep the json same just change this to name
acctKeyField": "name"
Or whichever field in account param stores this "value": "userid-1234" in saviynt
09/18/2024 09:15 AM
Yes
09/18/2024 09:52 AM
09/18/2024 09:59 AM
What field you have considered as account id ?
09/18/2024 10:10 AM - edited 09/18/2024 10:16 AM
accountid = value
now I used this acctEntParams
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"keymanager.hub.devapi.xl.co.id": "https://url/scim2/Groups/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "members.value",
"acctKeyField": "accountID"
}
}
sample response new
09/18/2024 10:14 AM
@alvian you need to have Resources in listfield
09/18/2024 10:16 AM - last edited on 09/18/2024 10:55 AM by Dave
after I used this url https://url/scim2/Groups/${id} the response was changed, and there is no Resources after that as you can see on the last sample responses
[This post has been edited by a Moderator to remove sensitive information.]
09/18/2024 10:25 AM - edited 09/18/2024 10:26 AM
@alvian then in listfield add members
This should work
"listField": "members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"acctKeyField": "accountID"
09/18/2024 10:14 AM
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "members.value",
"entIdPath":"id",
"acctKeyField": "accountID"
09/18/2024 10:23 AM
still got this error
Ambiguous method overloading for method java.lang.String#. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class [B] [class [C] [class java.lang.String]
09/18/2024 10:24 AM
"listField": "members",
"entKeyField": "entitlementID",
"acctIdPath": "value",
"entIdPath":"id",
"acctKeyField": "accountID"
09/18/2024 10:30 AM
Still not works
09/18/2024 10:33 AM
Try permutation combinations
09/18/2024 10:20 PM
I tried to restart my EIC and then its working well now