Reltio Connect

 View Only
  • 1.  Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API

    Posted 07-25-2023 16:31

    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
    ------------------------------


  • 2.  RE: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API

    Founding Member
    Posted 07-26-2023 03:36

    Try this filter if it helps filter=equals(type,'configuration/entityTypes/Individual') and listEquals(id, '00A5osD','00A5osD')



    ------------------------------
    Ashish Rawat
    Sr. Manager
    Fresh Gravity
    Bangalore
    ------------------------------



  • 3.  RE: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API

    Posted 07-26-2023 11:26

    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
    ------------------------------



  • 4.  RE: Search for a list of entities by URI and retrieve related entities using the Find Connected Parties API

    Founding Member
    Posted 07-27-2023 12:46

    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.



    ------------------------------
    Ashish Rawat
    Sr. Manager
    Fresh Gravity
    Bangalore
    ------------------------------