startObject and endObject of a relation differ between Extract JSON and UI

Problem

 startObject and endObject differ between the relationship extract JSON and the UI.

Analysis

In the user interface, we see that the following 2 URIs are related : 
14mImC4s 
Oya5eSq

However, in the JSON extract taken from Reltio, the start object and end object are given as: 
P2zS3LY 
Oya5eSq

To understand this discrepancy, we analyze entity 14mImC4s.

It has a relation "relations/7XHFro3" where 14mImC4s and Oya5eSq are the startObject and endObject respectively.

We could find the relation 7XHFro3 in an extract as shown below but showing P2zS3LY & Oya5eSq where startObject differs.

"7XHFro3","PackProductToMedProduct","ACTIVE",,,,,,,"P2zS3LY",,"Oya5eSq",,"1538232751153""


P2zS3LY has been merged to entity 14mImC4s, which makes it "loser."

mceclip0.png

Here in the extract file, the "Winner" URI (14mImC4s) should be present instead of the "Loser" URI (P2zS3LY). 

Solution

We need to use the parameter below to get the actual startObject in the extract file which is 14mImC4s (winner)


resolveMergedEntities: As per the use case, if this option is specified, the export service returns winner URIs for start/end objects in relations.

For more information, see the following:

https://help.reltio.com/index.html#exportapi/exportrelationswithfilter.html

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.