and more in a single search tool across platforms. Read the announcement here. |
02/07/2024 04:32 AM
Hi Team,
We are facing an issue with Account and access import using the REST connector.
Account Import :
We are getting API responses in call1 like below,
"resou": [
"12432-4864-868b-78787gb",
"12432-4864-868b-78787ga",
"12432-4864-868b-78787gd"
]
In Call2 : the API is expecting an input like below with comma separated.
"httpParams": "{\"ids\":[\"12432-4864-868b-78787gd\"]}"
I tried to achieve dynamic input - "call1.message.resources.toString().replace('[','').replace(']','')~#~char" .But it didn't work at all and i got the response in logs as mentioned below.
2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," "message": "invalid number of User UUIDs specified in request.""
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," }"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," ],"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g",""," "resources": null"
"2024-02-06T05:00:35.859+00:00","ecm-worker","","null-whk4g","","}, cookies:[], statusCode:400]"
Access Import :
In postman , we are getting role API response like below ,
"resou": [
"role1",
"role2",
"role3"
]
To get individual role/ent details , we need to set params like below .
ids : role1
ids : role2
ids : role
Attaching ImportAccountEntjson.
Solved! Go to Solution.
02/07/2024 08:24 AM
Hi @Seshadri
Analyzing the response that you shared above; the REST connector will not be able to map the unique IDs to the account ID field if it's in a list. i.e. the unique ID needs to be in key value pair for the connector to store in the account ID field and iterate in the next call to get the meta data of that account.
Please let me know if you have any questions.
02/07/2024 09:05 AM - edited 02/07/2024 09:33 AM
Its not supported
Unvote the idea https://ideas.saviynt.com/ideas/EIC-I-5499