Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/17/2024 04:36 AM
Hi Team,
We are trying to import the Accounts via REST connection the job is getting completed but accounts are not imported into Saviynt. We are using the below JSON:
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "URL/1.1/accounts/BiyqBqc7/users",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Api-Key": "${connection.testname}",
"Accept": "application/json"
}
},
"listField": "users",
"keyField": "accountID",
"colsToPropsMap": {
"accountID":"id~#~char",
"name":"email~#~char",
"displayName":"full_name~#~char"
},
"disableDeletedAccounts": true
}
},
"acctEntMappings": {}
}
}
We are getting below response in Postman:
We have tried updating the list field as below but it's not working:
"listField": "_embedded",
"colsToPropsMap": { "accountID":"users~dot#id~#~char", "name":"users~dot#email~#~char", "displayName":"users~dot#full_name~#~char" },
But it's not working getting below in the logs:
What could be the issue?
Best Regards,
Aditya Chadde
Solved! Go to Solution.
10/17/2024 04:43 AM
@adityachadde try this
"listField": "_embedded.users",
10/17/2024 04:49 AM