11/14/2022 06:16 AM
Hi Team,
Use case : Reconcile updated user data from Workday to Saviynt via Rest Connector and there will be multiple API call.
Below are the details of API call:
1.API call will get response in XML
2.And in Second API call we have to call 1st API response(URI)
3.2nd API response in JSON .
User import JSON:
Post Man Screen shot:
1st API call Screen shot:
2nd API call Screen shot:
Error in Saviynt after running the job:
Error :
Error - to Import Data correctly: Cannot invoke
method containsKey() on null object
Can you please suggest why it's throwing null error ,and for user import(Workday) multiple api call with different responses is feasible or not in Saviynt.
Saviynt Version : v2020
Thanks
Geeta
11/17/2022 08:37 PM
11/28/2022 10:21 AM
Hi Rushikesh,
Thanks for the sharing the link , but this is not helpful.
XML Response Converter from 1st API call
Note : We have to import User from multi API call.
Issue : From 1st Api call it's throwing error of null pointer, and I am not sure Rest connector is supporting multi api call for User import or not , with out passing attribute 'colsToPropsMap' in API call : .
1.API call will get response in XML
2.And in Second API call we have to call 1st API response(URI)
Error - to Import Data correctly: Cannot invoke
method containsKey() on null object.
Thanks
Geeta
11/28/2022 05:15 PM
Hi Geeta,
If you are seeing null object on the first API Call, I would suggest you verify the connection that you have made in REST Connector. Check if the connection is proper or not.
There is one parameter testConnectionParams in REST Connector connection JSON, Please use that to verify your connection.
P.S. REST connector supports multi API call for user import as well.
Let me know if you are still getting error.
Regards,
Hitesh Sapkota
11/29/2022 06:23 AM
11/29/2022 08:34 AM
Share postman curl command when you run first api (right top corner)
11/29/2022 10:05 AM
Hi Rushikesh,
Please see below screen shot from Post man(1st API call) and we have to pass this response (URI)in 2nd API call.
Thanks
Geeta