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

REST API - acctEntParams

dgeorge_
New Contributor III
New Contributor III

Hello,

We are trying to import the "Project" entitlement type and the account associations. We were able to import the Project entitlement but can't get the account associations to import. We have the following JSON:

{
  "accountParams": {
    "connection": "acctAuth",
    "processingType": "SequentialAndIterative",
    "statusAndThresholdConfig": {
      "statusColumn": "customproperty14",
      "activeStatus": [
        "false"
      ],
      "deleteLinks": false,
      "accountThresholdValue": 100,
      "correlateInactiveAccounts": true,
      "inactivateAccountsNotInFile": true
    },
    "call": {
      "call1": {
        "callOrder": 0,
        "stageNumber": 0,
        "http": {
          "url": "https:/xxx/xxx/rest/userservice/v1/users/active",
          "httpHeaders": {
            "Authorization": "${access_token}",
            "Accept": "application/json",
            "Content-Type": "application/json"
          },
          "httpContentType": "application/json",
          "httpMethod": "GET"
        },
        "listField": "user",
        "keyField": "accountID",
        "statusConfig": {
          "active": "true",
          "inactive": "false"
        },
        "colsToPropsMap": {
          "accountID": "id~#~char",
          "name": "login~#~char",
          "displayName": "name~#~char",
          "customproperty2": "id~#~char",
          "customproperty3": "name~#~char",
          "customproperty4": "visibility~#~char",
          "customproperty5": "creator.name~#~char",
          "status": "noAccess~#~char",
          "customproperty6": "createDate~#~char",
          "customproperty7": "lastChangeDate~#~char",
          "customproperty8": "firstName~#~char",
          "customproperty9": "lastName~#~char",
          "customproperty10": "emailAddress~#~char",
          "customproperty11": "workPhone~#~char",
          "customproperty12": "tagList.tagset[0].tag.value~#~char",
          "customproperty13": "licenseType.licenseTypeLabel~#~char",
          "customproperty14": "noAccess~#~char"
        }
      }
    }
  },
  "entitlementParams": {
    "connection": "acctAuth",
    "processingType": "SequentialAndIterative",
    "entTypes": {
      "Group": {
        "entTypeOrder": 0,
        "call": {
          "call1": {
            "callOrder": 0,
            "stageNumber": 0,
            "http": {
              "url": "https://sxxx/xxx/rest/groupservice/v1/groups",
              "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "userGroup",
            "keyField": "entitlementID",
            "colsToPropsMap": {
              "entitlementID": "id~#~char",
              "entitlement_value": "name~#~char",
              "customproperty1": "creator.name~#~char",
              "customproperty2": "createDate~#~char",
              "customproperty3": "lastChangeDate~#~char",
              "customproperty4": "owner.name~#~char"
            },
            "disableDeletedEntitlements": true
          }
        }
      },
      "Project": {
        "entTypeOrder": 1,
        "call": {
          "call1": {
            "callOrder": 0,
            "stageNumber": 0,
            "http": {
              "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "",
            "keyField": "entitlementID",
            "colsToPropsMap": {
              "entitlementID": "id~#~char",
              "entitlement_value": "name~#~char",
              "customproperty1": "creator.name~#~char",
              "customproperty2": "createDate~#~char",
              "customproperty3": "lastChangeDate~#~char",
              "customproperty4": "owner.name~#~char"
            },
            "disableDeletedEntitlements": false
          }
        }
      }
    }
  },
  "acctEntParams": {
    "connection": "acctAuth",
    "entTypes": {
      "Group": {
        "call": {
          "call1": {
            "callOrder": 0,
            "stageNumber": 0,
            "processingType": "httpEntToAcct",
            "http": {
              "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "user",
            "entKeyField": "entitlementID",
            "acctIdPath": "emailAddress",
            "acctKeyField": "name"
          }
        }
      },
      "Project": {
        "call": {
          "call1": {
            "callOrder": 0,
            "stageNumber": 0,
            "processingType": "httpEntToAcct",
            "http": {
              "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "teamMemberList.role",
            "entKeyField": "entitlementID",
            "acctIdPath": "user.name",
            "acctKeyField": "name"
          }
        }
      }
    }
  }
}
 
A snippet of the response we get from postman for the URL https://xxx/xxx/rest/projectservice/v1/project/${id} is attached.
1 REPLY 1

NM
Honored Contributor II
Honored Contributor II

Hi @dgeorge_ can you add request postman screenshot