Accelerate the Value of Data

Unmerge an Entity With Reference Attributes By Crosswalks List

Splits entity into two entities by crosswalks provided in list.

Note: This call is currently not supported. Please use Unmerge Entity Tree by Contributor URI.

Request

POST {TenantURL}/{entityURI1}/_splitTree
Table 1. Parameters
Parameter Required Description
Headers Authorization Yes Information about authentication access token in format "Bearer <accessToken>" (see details in Authentication API).
Body Yes JSON array specifying the list of crosswalks of entity and relations that should be split

Response

Returns JSON containing both split entities. In " newEntity " attribute JSON has full content of entity unmerged from specified entity, in " oldEntity " section-full content of original entity after unmerge operation.

Request

POST {
	TenantURL
}
/entities/
031 WTej / _splitTreeHeaders: Authorization: Bearer
204938 ca-2 cf7-44 b0-b11a-1 b4c59984512[{
	"type": "configuration/sources/FB",
	"value": "FB.crosswalk.value"
}, {
	"type": "configuration/sources/FB",
	"sourceTable": "Address_ST",
	"value": "FB.Address.crosswalk.value"
}, {
	"type": "configuration/sources/TWITTER",
	"value": "twitter.crosswalk"
}]

Response

POST {
	TenantURL
}
/entities/
031 WTej / _splitTreeHeaders: Authorization: Bearer
204938 ca-2 cf7-44 b0-b11a-1 b4c59984512 Body: {
		"newEntity": {
			"URI": "entities/0000hgf",
			"type": "configuration/entityTypes/Individual",
			"createdBy": "User",
			"createdTime": 1382586259969,
			"updatedBy": "User",
			"updatedTime": 1382586259969,
			"attributes": {
				"FirstName": [{
					"type": "configuration/entityTypes/HCP/attributes/FirstName",
					"ov": true,
					"value": "lice",
					"URI": "entities/0000hgf/attributes/FirstName/1542"
				}],
				"LastName": [{
					"type": "configuration/entityTypes/HCP/attributes/LastName",
					"ov": true,
					"value": "Grubbs",
					"URI": "entities/0000hgf/attributes/LastName/1544"
				}],
				"Address": [{
						"label": "969
						N Peace Rd Ste 5 Dekalb IL 60115 ", "
						relationshipLabel ": "
						rank-", "
						value ": {
						"AddressLine1": [{
							"type": "configuration/entityTypes/Location/attributes/AddressLine1",
							"ov": false,
							"value": "969 Peace Road",
							"URI": "entities/0000hgf/attributes/Address/0000JBB/AddressLine1/847"
						}]
					}, "ov": true,
					"URI": "entities/0000hgf/attributes/Address/0000JBB", "refEntity": {
						"crosswalks": [{
							"type": "configuration/sources/FB",
							"value": "408c8c416db59f45b6c7773672f8be80"
						}],
						"objectURI": "entities/0000Utt",
						"type": "configuration/entityTypes/Location"
					},
					"refRelation": {
						"crosswalks": [{
							"type": "configuration/sources/FB",
							"value": "FB.Address.crosswalk.value"
						}],
						"objectURI": "relations/0000JBB"
					}
				}]
		},
		"crosswalks": [{
			"type": "configuration/sources/FB",
			"value": "FB.crosswalk.value",
		}, {
			"type": "configuration/sources/TWITTER",
			"value": "twitter.crosswalk"
		}],
		"label": "lice Grubbs",
		"secondaryLabel": "969 N Peace Rd Ste 5 Dekalb IL 60115"
	},
	"oldEntity": { // entity content without crosswalks that specified in split request
	}
}
Note: All relation and root entity crosswalks are provided in one mixed list of crosswalks in a request. Splitting by cleanser and surrogate crosswalks is not allowed.