Reltio Connect

 View Only
  • 1.  Optimal method to fetch loser/contributor URI

    Founding Member
    Posted 10-26-2021 08:26
    Is there any optimal method to get loser/contributor URI using loser/contributor crosswalk instead of parsing crosswalk tree?

    ------------------------------
    Ashish Rawat
    Fresh Gravity
    Bangalore
    ------------------------------


  • 2.  RE: Optimal method to fetch loser/contributor URI

    Reltio Employee
    Posted 10-27-2021 10:52
    can you please expand on the use case?

    ------------------------------
    Gino Fortunato
    Senior Solution Engineer
    Reltio
    ------------------------------



  • 3.  RE: Optimal method to fetch loser/contributor URI

    Founding Member
    Posted 10-28-2021 10:13
    Use case is quite simple given a crosswalk ID, User wants to identify the entity URI that crosswalk had before merge. Now the entity URI of loser crosswalk can be used for unmerge process, data reconciliation etc.

    ------------------------------
    Ashish Rawat
    Fresh Gravity
    Bangalore
    ------------------------------



  • 4.  RE: Optimal method to fetch loser/contributor URI

    Reltio Employee
    Posted 10-28-2021 21:05
    you can do that via the entities API to get the data by entity.

    In the crosswalk section of the response is the looser URI.  For example:

    "crosswalks": [
    {
    "uri": "entities/MOYFmuN/crosswalks/11gtNqYsI",
    "type": "configuration/sources/DT_B2B",
    "value": "entities/Sjic0RL",
    "reltioLoadDate": "2019-01-08T09:50:04.903Z",
    "createDate": "2017-06-28T16:06:40.149Z",
    "updateDate": "2017-06-28T16:06:40.149Z",
    "crosswalkExternalInfo": {
    "dtssInfo": {
    "tenantId": "XXXXXXXXXX",
    "operationId": "37424fde-4bea-4f1d-b671-4ff804a3d0df",
    "matchReasons": [
    "configuration/entityTypes/Organization/matchGroups/ExactMatchByEntityURIConf9or10"
    ],
    "updatedBy": "dtss",
    "updatedTime": 1498678288010,
    "status": "IMPORTED_BY_ENTITY_CHANGED_EVENT"
    }
    },
    here the 'type' is the source and the 'value' is the URI of the looser record

    --

    Gino Fortunato

    Senior Solutions Engineer

    e gino.fortunato@reltio.com

    m 415.867.4195

       

    w www.reltio.com | b blog.reltio.com






  • 5.  RE: Optimal method to fetch loser/contributor URI

    Founding Member
    Posted 11-08-2021 03:37

    Hi Gino,

    Here value in the crosswalk section would always be crosswalk ID in your case it was entity uri that could be because source system didn't had crosswalk ID of its own.  Please correct me if I am missing something here.



    ------------------------------
    Ashish Rawat
    Fresh Gravity
    Bangalore
    ------------------------------



  • 6.  RE: Optimal method to fetch loser/contributor URI

    Reltio Employee
    Posted 11-08-2021 11:50
    Hi Ashish,

    I'm not 100% sure I follow you.  Unless there was a merge on the fly (in which case a separate Reltio URI was ever created), the crosswalk and the URI should be effectively the same, right?  At least enough for unmerge and reconcilement purposes?  Can you think of a use case where it won't?

    ------------------------------
    Gino Fortunato
    Senior Solution Engineer
    Reltio
    ------------------------------



  • 7.  RE: Optimal method to fetch loser/contributor URI

    Reltio Employee
    Posted 11-09-2021 11:28
    As Gino stated, when two records are created which do not merge, each receives a Reltio entity ID.  If two records are created which trigger an on-the-fly merge then I believe the second crosswalks will just be added to the existing crosswalk without creating a new entity ID.

    When a merge occurs on two existing entities, you can listen to the event queue where you will see an ENTITY_LOST_MERGE event for the losing URI.  If you are storing Reltio entityID in an external system, that loser URI will still be a valid identifier to get the consolidated record.  See in the below GET that I use the legacy ID 0489VDg but that it returns uri 0489ZTw.  Also note than when requesting an entity by a "lost" uri, it will return that in the payload as well in the property
    "loserUri": "entities/0489VDg"
     



    ------------------------------
    Dan Gage
    Principal Solution Consultant
    ------------------------------