There is a specific requirement to do update based on a condition on custom attribute for Lookup data in RDM ,so I was trying to search the same through RIH and our indentation was to do the update after the scan call from RIH.
Original Message:
Sent: 10-17-2024 06:22
From: Diparnab Dey
Subject: Call an Scan API from RIH
Usta,
It ran successfully from Postman, but when I tried to set it up in RIH, it did not work and I got the same error as you.
On a related topic, I noticed something else in the API that you shared in the a previous comment. If you are calling the RDM API tro retrieve the RDM data, why are you using attribute.name in the filter?
------------------------------
Diparnab Dey
Technical Consultant
Reltio
Kolkata, West Bengal
Original Message:
Sent: 10-17-2024 06:11
From: Utsa Das
Subject: Call an Scan API from RIH
Can you please let me know from where you called the API which ran successfully ?
------------------------------
Utsa Das
Novartis
Original Message:
Sent: 10-16-2024 02:48
From: Diparnab Dey
Subject: Call an Scan API from RIH
Hi Utsa,
Initially, I had missed that you are trying to make a scan API call in the RDM tenant. However, I was able to reproduce the behavior you reported.
I tried to execute the following API
curl --location --request POST 'https://rdm.reltio.com/rdm/lookups/{{rdmTenant}}/_scan?filter=equals(type,'State')' \--header 'Authorization: Bearer XXXXXXX' \--header 'Content-Type: application/json'
Even though, the API running successfully and returning a response. While trying to set up from the RIH, it's not working.
I will recommend you raise a Reltio support ticket so that the support team can analyze the issue.
------------------------------
Diparnab Dey
Technical Consultant
Reltio
Kolkata, West Bengal
Original Message:
Sent: 10-16-2024 02:22
From: Utsa Das
Subject: Call an Scan API from RIH
Hi Experts ,
Is there any way to resolve the same?
------------------------------
Utsa Das
Novartis
Original Message:
Sent: 10-14-2024 13:58
From: Utsa Das
Subject: Call an Scan API from RIH
Thanks for your detailed response.
I am trying to call below POST scan API :-
https://rdm.reltio.com/lookups/<RDMTenantID>/_scan?filter=equals(attributes.name,"<attributesName>") and equals(type,"<Lookuptypename>") and equals(attributes.value,"<Value>")
I have done exactly the the same steps through the RIH guided steps and when I am not giving anything it is giving me below error :-
java.lang.IllegalArgumentException:Illegal base64 character 7b
And if I am sending {} in the body then also it is giving me the same error as mentioned above.
------------------------------
Utsa Das
Novartis
Original Message:
Sent: 10-14-2024 10:56
From: Diparnab Dey
Subject: Call an Scan API from RIH
Utsa,
It's possible to set up the scan API call from an RIH recipe. So the first call for the scan API doesn't require any request body. Did you try using the guided set up ? As that will make the setup a bit easier and if you will be able to identify what is going wrong in the set up. Refer to the following screenshots,
Here, I am using guided set up to set up the API call.
Providing the request method and the endpoint URL for my scan API.
Not providing any request body
Now, if I hit "Send Request" we will see that RIH will be able to trigger the API successfully.
Applied this configuration and tested the recipe and as you can see from the screenshot, the recipe is being executed without any issues.
------------------------------
Diparnab Dey
Technical Consultant
Reltio
Kolkata, West Bengal
Original Message:
Sent: 10-14-2024 02:01
From: Utsa Das
Subject: Call an Scan API from RIH
Hi team ,
We are trying to call a Scan API which is a POST and does not need anything in the request body .
While calling the same from POSTMAN without giving anything /choosing none in the request body ,it is running fine.
But from RIH , at the time of calling the same through custom call by Reltio connector ,it is requiring a body on the request and whenever supplying anything it is resulting an error .
Please let us know how to call the scan API without providing anything in the body through RIH.
------------------------------
Utsa Das
Novartis
------------------------------