Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/11/2024 10:08 PM
Hi Team,
We are getting response as fallow:
{
"id": "5d31f3f5-142e-4608-9b7b-56f7d5038404",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
"urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User"
],
"active": true,
"userName": "Crystal_Swain@****.com",
"displayName": "Crystal Swain",
"title": "CONSULTANT - CONTRACTOR 02",
"phoneNumbers": [
{
"value": "+14235*****",
"type": "work",
"primary": true
}
],
"emails": [
{
"value": "Crystal_Swain@****.com",
"type": "other",
"primary": false
},
{
"value": "Crystal_Swain@***.com",
"type": "work",
"primary": true
}
],
"roles": [
{
"value": "employee"
}
],
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
"division": "Home",
"department": "Contact Center Solutions",
"manager": {
"value": "6e44704a-fb69-4b03-95db-c4d761343629",
"$ref": "/api/v2/scim/v2/users/6e44704a-fb69-4b03-95db-c4d761343629"
}
},
"meta": {
"resourceType": "User",
"lastModified": "2024-08-16T13:13:41.000Z",
"location": "/api/v2/scim/v2/users/5d31f3f5-142e-4608-9b7b-56f7d5038404",
"version": "W/\"18\""
}
}
From above we need to map division value to account.
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Divisions": {
"call": {
"call1": {
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://******/users/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlement_value",
"acctIdPath": "id",
"entIdPath": "division",
"acctKeyField": "accountID"
}
}
}
}
}
I am trying to mapping as above.
we are getting success response but, association is not happening.
Solved! Go to Solution.
09/13/2024 05:16 AM - edited 09/13/2024 05:26 AM
Hello @VijayMaram,
Could you please share your your complete import json.
You may try with this mapping,
"listField": "",
"entKeyField": "entitlement_value",
"acctIdPath": "id",
"entIdPath": "urn:ietf:params:scim:schemas:extension:enterprise:2~dot#0:User.division",
"acctKeyField": "accountID"
Thanks.
09/13/2024 06:49 AM
Hi @sudeshjaiswal
Thanks for checking this.
We were able to complete this by using below api.
https://api.usw2.pure.cloud/api/v2/users/${id}
09/13/2024 06:53 AM
Can you share full working json to help community
09/13/2024 07:01 AM
@rushikeshvartak
Sure. added below.
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Divisions": {
"call": {
"call1": {
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
-- "https://api.usw2.pure.cloud/api/v2/users/${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "id",
"entIdPath": "division.id",
"acctKeyField": "accountID"
}
}
}
}
}