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

Syntax for listField

gwagh
Regular Contributor
Regular Contributor

Hi Team , We are getting api response in list so it will be in Saviynt. 

gwagh_0-1703236826436.png

 

listfield that I used is -

"listField": "data.users",

is it correct??

Account Import json :

{
"accountParams":
{
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call":
{
"call1":
{
"callOrder": 0,
"stageNumber": 0,
"http":
{
"url": "https://xxxxx.com",
"httpHeaders":
{
"Authorization":"${access_token}",
"Accept": "*/*"
},
"httpMethod": "POST",
"httpContentType": "application/json",
"httpParams": "{\"data\": [{\"domain\": \"XXXX.com\"}]}"
},
"listField": "data.users",
"keyField": "accountID",
"colsToPropsMap":
{
"accountID":"emailAddress~#~char",
"name": "emailAddress~#~char",
"Customproperty1":"domain~#~char",
"Customproperty2":"alias~#~char",
"Customproperty3":"addressType~#~char",
"Customproperty4":"source~#~char"
}
}
}
}
}

Result : only one account gets created with all values contains in single account.

ex. 

gwagh_1-1703237079422.png

 

Regards, 

Gaurav

5 REPLIES 5

NM
Regular Contributor III
Regular Contributor III

Hi Gwagh,

Please try

listfield : "data[0].users"

gwagh
Regular Contributor
Regular Contributor

Yes I tried and working.

rushikeshvartak
All-Star
All-Star


"listField": "data[0].users",

Refer https://forums.saviynt.com/t5/application-access-governance/info-erex-importaccessfull-persistobject...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Yes Working 

 

Please accept solution to help others


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.