Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Account Ent mapping in Rest Connection

VijayMaram
Regular Contributor
Regular Contributor

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.



 

4 REPLIES 4

sudeshjaiswal
Saviynt Employee
Saviynt Employee

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.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

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}

Can you share full working json to help community


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

VijayMaram
Regular Contributor
Regular Contributor

@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"
          }
        }
      }
    }
  }