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

ImportAccountEntJSON acctEntParams entListField Using

HenryMK
New Contributor III
New Contributor III

Request sample data or integration method guide using entListField

Accounts and roles were each imported, but
The account-role relationship is not being processed.

 

Using ImportAccountEntJSON

 

{
  "accountParams": {...},
  "entitlementParams": {
      "entTypes": {
        "Roles": {
          ...
        }
      }
    }
  },
  "acctEntParams": {
    "entTypes": {
      "Roles": {
        "call": {
          "call1": {
            "processingType": "http",
            "connection": "acctAuth",
            "callOrder": 0,
            "stageNumber": 0,
            "http": {
              "httpHeaders": {
                "Accept": "application/json"
              },
              "url": "<URL>",
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "data.employeeData",
            "entListField": "roles",
            "acctIdPath": "alternateId",
            "entIdPath": "role",
            "entKeyField": "entitlementID",
            "acctKeyField": "accountID"
          }
        }
      }
    }
  }
}

 

Response Sample

 

{
    "data": {
        "employeesTotal": 10,
        "hasMore": false,
        "employeeData": [
            {
                "alternateId": "EMP001",
                "roles": [
                    {
                        "role": "ROLE1"
                    },
                    {
                        "role": "ROLE2"
                    },
                    {
                        "role": "ROLE3"
                    }
                ]
            },
            {
                "alternateId": "EMP002",
                "roles": [
                    {
                        "role": "ROLE1"
                    },
                    {
                        "role": "ROLE2"
                    },
                    {
                        "role": "ROLE4"
                    },
                    {
                        "role": "ROLE6"
                    }
                ]
            }
   ...
        ]
    }
}

 

[Post Date: 9/05/2023]

Is there no support for this issue?

[This message has been edited by moderator to merge reply comment]

 

 

 

2 REPLIES 2

SB
Saviynt Employee
Saviynt Employee

You can refer the document https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm to see examples of different Processing Types that can be used and which one would work in your case based on the api which provides the mapping info.

Additionally you can also refer to the Examples for JSON Construction section to info on listField,keyfield etc.

 


Regards,
Sahil

HenryMK
New Contributor III
New Contributor III

5.5SP3.18 - Normal operation
23.6 - Not working
It seemed to be an EIC update issue, so I registered a new ticket.
Please close this ticket.