Accelerate the Value of Data

Unmerge Entity

If an entity is composite (result of a merge), every component (aka, contributor) can be unmerged to be a standalone entity again. Call the composite entity "Origin" and the unmerging one "Spawn".

Name Description
Input Payload N/A
Output Payload List of Unmerge Entity objects (List<Map<String, Object>>)
Data Sense

Dynamically build Output structures at design time

Map response JSON to object list

Command POST {TenantURL}/<origin URI>/_unmerge?contributorURI=<spawn URI>

Sample Request

POST https://sndbx.reltio.com/reltio/api/pdxkfQZEfYhHTup/entities/B9Ai8y8/
     _unmerge?contributorURI=entities/B9AiHUe

Sample Response

{
	"a": {
		"URI": "entities/B9Ai8y8",
		"type": "configuration/entityTypes/Location",
		"createdBy": "dkuznetsov@infoviewsystems.com",
		"createdTime": 1480519229305,
		"updatedBy": "dkuznetsov@infoviewsystems.com",
		"updatedTime": 1481883455322,
		"attributes": {
			"City": [{
				"type": "configuration/entityTypes/Location/attributes/City",
				"ov": true,
				"value": "New York",
				"URI": "entities/B9Ai8y8/attributes/City/7"
			}]
		},
		"isFavorite": false,
		"crosswalks": [{
			"URI": "entities/B9Ai8y8/crosswalks/JjiV82Eq",
			"type": "configuration/sources/Reltio",
			"value": "B9Ai8y8",
			"reltioLoadDate": "2016-11-30T15:20:29.305Z",
			"createDate": "2016-11-30T15:20:29.305Z",
			"updateDate": "2016-11-30T15:20:29.305Z",
			"attributes": [
				"entities/B9Ai8y8/attributes/City/7"
			],
			"singleAttributeUpdateDates": {}
		}],
		"analyticsAttributes": {},
		"label": "New York",
		"secondaryLabel": ""
	},
	"b": {
		"URI": "entities/B9AiHUe",
		"type": "configuration/entityTypes/Location",
		"createdBy": "dkuznetsov@infoviewsystems.com",
		"updatedBy": "dkuznetsov@infoviewsystems.com",
		"updatedTime": 1481883455322,
		"attributes": {
			"City": [{
				"type": "configuration/entityTypes/Location/attributes/City",
				"ov": true,
				"value": "New York",
				"URI": "entities/B9AiHUe/attributes/City/Sxx8CB3o"
			}]
		},
		"isFavorite": false,
		"crosswalks": [{
			"URI": "entities/B9AiHUe/crosswalks/Sxx8C2XI",
			"type": "configuration/sources/Reltio",
			"value": "B9AiHUe",
			"reltioLoadDate": "2016-11-30T15:21:02.078Z",
			"createDate": "2016-11-30T15:21:02.078Z",
			"updateDate": "2016-11-30T15:21:02.078Z",
			"attributes": [
				"entities/B9AiHUe/attributes/City/Sxx8CB3o"
			],
			"singleAttributeUpdateDates": {}
		}],
		"analyticsAttributes": {},
		"label": "New York",
		"secondaryLabel": ""
	}
}
Table 1. Parameters
Name Type Required Notes
relationType String Yes Dynamically populated by Connector Data Sense with list of Relation Types (HasAddress / Parent / Spouse /...)
returnObjects Boolean No (false) Specifies if the response should contain created objects
options String No

Comma-separated list of different options which affect relation's JSON content in the response and the override process.

Available options:

  • sendHidden- disabled by default, relation's JSON in response will contain hidden attributes if this option is enabled.
  • partialOverride- disabled by default. In case of override of relation, when a match with an existing relation is found, only attributes that are provided in a request will be updated if this option is enabled, all other attributes will not be affected.
  • updateAttributeUpdateDates- disabled by default. In case of override of relation, when a match with an existing entity is found, "singleAttributeUpdateDates" property of crosswalks will be updated for changed and new attributes if this option is present.

Example:

options=sendHidden,partialOverride