It makes sense as the API is suppose to group by on both entities. Since you are getting null pointer exception, may be Reltio support would be able to check system logs and share details.
Sr. Manager
Original Message:
Sent: 07-26-2023 11:25
From: Joseph Hoppe
Subject: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API
Hi Ashish,
I tried but I always receive a response of zero results OR
{
"severity": "Error",
"errorMessage": "Internal application error.",
"errorCode": 2001,
"errorDetailMessage": "Internal application exception caught during executing operation . Please view application log for details",
"innerErrorData": {
"exception": "java.lang.NullPointerException:null at com.reltio.rest.data.spring.EntityController.findConnectedParties, line 3819"
}
}
In my filter, I am trying to search for an Account with URI entities/0Pn7bUa and all Individuals who are associated with it
Does it make sense to use in or listEquals to get the Account, and then use equals(type,'configuration/entityTypes/Individual') to get all related Individuals?
_findConnectedParties?filter=in(uri,'entities/0Pn7bUa') and equals(type,'configuration/entityTypes/Individual'), but I receive zero results
------------------------------
Joseph Hoppe
Original Message:
Sent: 07-26-2023 03:36
From: Ashish Rawat
Subject: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API
Try this filter if it helps filter=equals(type,'configuration/entityTypes/Individual') and listEquals(id, '00A5osD','00A5osD')
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
Original Message:
Sent: 07-25-2023 16:31
From: Joseph Hoppe
Subject: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API
Is it possible to search for a list of entities by URI and retrieve related entities using the Find Connected Parties API?
I.e. I want to get a list of accounts by URI, and also retrieve the related Individual entities in a single API call
I tried using: https://{{env}}{{reltio}}reltio/api/{{tenant}}/entities/_findConnectedParties?filter=in(uri,'entities/0Pn7bUa') and equals(type,'configuration/entityTypes/Individual'), but I receive zero results
If someone could provide a sample URL, that would be great appreciated
------------------------------
Joseph Hoppe
------------------------------