Entity merge tree
Learn about the Entity merge tree endpoint
- Request
GET {TenantURL}/entities/{{entityid}}/_crosswalkTreeTable 1. Parameters Parameter Name Req Details Examples Header AuthorizationYes Information about authentication access token in format Bearer <accessToken>(see details in Authentication API).
- Response
Table 2. Example - Format of a Response Parameter Description Value for this example mergesShows the number of merges. "2" timeThe time when the merge operation was executed. "1716549555066" mergeReasonReason for the merge: - Merge by crosswalks
- Merge by hand
- Merge on the fly
- Merges found by background merge process
"Merge on the fly" mergeRulesIf a match rule was applied, mergeRulescontains the label of the corresponding match rule.mergeRules= "same name and address auto rule"userThe user who performed the merge. "john.doe" merges.crosswalksmerges.losers.crosswalksShows loser/winner crosswalks for the specified merge operation.
Winner = crosswalks specified in the root of the
mergessection.Loser = crosswalks specified in the
loserssection for the corresponding merge.For the merge at "1716549555066": Winner:"crosswalks": [ { "uri": "entities/0000NA9/crosswalks/1msz2n", "type": "configuration/sources/DEA", "ownerType": "entity", "value": "ind001Dnb" }, { "uri": "entities/0000NA9/crosswalks/1mt3J3", "type": "configuration/sources/FB", "ownerType": "entity", "value": "ind001Fb" } ]Loser:"crosswalks": [ { "uri": "entities/0000NA9/crosswalks/1mtX8r", "type": "configuration/sources/FB", "ownerType": "entity", "value": "ind003Fb" } ]merges.urimerges.losers.uriContains URIs of available contributors. uri: "entities/0000NA9"phantomEntityShows that the specified entity had been created but was merged with the winner before saving it in the database. "true" merges.mergeCrosswalksShows crosswalks of the loser entity. Note: To suppressmergeCrosswalksin the API response, setexcludeMergeCrosswalksFromMergeTreeoptional field totruein the tenant's configuration."mergeCrosswalks": [ { "uri": "DEA", "value": "ind001Dnb" }, { "uri": "FB", "value": "ind003Fb" } ]Example:{ "merges": [ { "time": 1716549555066, "mergeReason": "Merge on the fly", "mergeRules": "", "user": "john.doe", "losers": [ { "uri": "entities/0000Zwv", "crosswalks": [ { "uri": "entities/0000NA9/crosswalks/1mtX8r", "type": "configuration/sources/FB", "ownerType": "entity", "value": "ind003Fb" } ], "phantomEntity": true } ], "mergeCrosswalks": [ { "uri": "DEA", "value": "ind001Dnb" }, { "uri": "FB", "value": "ind003Fb" } ] } ], "uri": "entities/0000NA9", "crosswalks": [ { "uri": "entities/0000NA9/crosswalks/1msz2n", "type": "configuration/sources/DEA", "ownerType": "entity", "value": "ind001Dnb" }, { "uri": "entities/0000NA9/crosswalks/1mt3J3", "type": "configuration/sources/FB", "ownerType": "entity", "value": "ind001Fb" } ] }