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

Add filter on a specific attribute in ImportAccountEntJSON

mgandr
New Contributor III
New Contributor III

Hello,

Could someone assist in implementing a logic to exclude accounts with "Deleted member" in their displayName from the Application Data Import process?

I aim to exclude the specified deleted accounts from the target during the account import. Thanks!

mgandr_0-1721910503734.png

 

Below is my ImportAccountEntJSON

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://ABC.com/scim/v2/Users?scim_provisioned_only=false&include_inactive=true",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"pagination": {
"page": {
"pageSizeParam": "count",
"pageSize": 1000,
"pageRecordCount": "50",
"pageNumberParam": "startIndex",
"firstPageNumber": 1,
"totalCountPath": "totalResults"
}
},
"listField": "Resources",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "userName~#~char",
"displayName": "displayName~#~char",
"customproperty1": "name.givenName~#~char",
"customproperty2": "name.familyName~#~char",
"accounttype": "#CONST#${String userType = response.userType;if(userType=='1346'){return 'it_admin'}else if(userType=='1312'){return 'hr_admin'}else {return userType}}~#~char",
"customproperty5": "active~#~bool",
"customproperty3": "title~#~char",
"customproperty4": "timezone~#~char",
"customproperty6": "locale~#~char",
"customproperty7": "emails.value~#~char",
"customproperty8": "addresses.value~#~char"
}
}
}
}
}

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Does api support filter?


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

According to the API documentation, only the "eq" operator is supported for filtering users based on their email address.

In this case you can import account and set status as inactive


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

That's what I set up currently.

Thats only solution as api is lack of filters


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