Accelerate the Value of Data

Entities API

Learn about the REST APIs to manage entities.

A Reltio entity describes a data object such as a person, organization, product, or location.

The Entities endpoints enable you to create, update, and delete entities and their attributes. The topics in this section describe how to define and manage entities in your data model using APIs. To help you understand how best to use API parameters and options to refine your requests, we provide sub topics with detailed usage scenarios and examples.

Note: All Data API requests must be signed with an authorization token that provides access rights. For more information, see Authentication API.

Alternatively, use the Console Data Model to define entity types and the Hub Profile views to manage specific instances of entities of defined types. For more information, see topics Define or refine your data model and Profiles.

Entity object structure

This table describes the properties that comprise Entity data objects

Table 1. Properties
Property Description Type
URI Path that is used to reach an entity object. Format: entities/{entity_id} String, URI
type Entity type of the entity instance. This is a reference to the entity type configuration by its URI. An entity can have just one entity type.String, Entity Types URI
label An entity label that is built using the entity type configuration dataLabelPattern and data of an entity.String
secondaryLabel An entity label that is built using the entity type configuration secondaryLabelPattern and data from an entity. Since label information is generally used in the results of a search, more information can be included in the entity label to give it more unique characteristics when displayed near similar results.String
tooltip An entity tooltip that is built using entity type configuration dataTooltipPattern and data of an entity.String
roles An array of entity roles associated with the entity.Array of Roles URIs
tags An array of tag strings associated with the entity.Array of Strings
attributes Attributes the entity possesses-can include simple, nested and reference attributes. Each attribute has a reference to its configuration type. Attributes are grouped by attribute configuration.Attributes
activeness Defined time period while the object is active.Attributes
crosswalks The crosswalks to source systems and data, for this entity.Crosswalks
analyticsAttributes Analytics attributes the entity possesses. Analytics attributes can include simple and nested attributes. Each analytics attribute has a reference to its configuration type. Analytics attributes are grouped by attribute configuration.Analytics Attribute
businessProcessData Business processes associated with the entity. Array of business process data records
createdBy User who created the entity. String
createdTime Timestamp when entity was created, in milliseconds. UTC timestamp, ms
updatedByThe user who updated the entity. If the entity has a reference attribute pointing to a relation that is changed or removed, this parameter takes the value of a user who made the change/removal. String
updatedTime The Timestamp of the most recent update to the record in milliseconds. If the entity has a reference attribute pointing to a relation that is changed or removed, this parameter is set to the date and time when the change/removal was made.UTC timestamp, ms
Note: If you are processing messages using message streaming, to identify the latest event among several events for an object, use the objectVersion property. The objectVersion property identifies the message with the latest object state. For more information, see CRUD events.

You cannot use the timestamp in the createdTime and updatedTime properties since it is only used to indicate the start of the operation that creates or updates the object record. The timestamp does not indicate the time when the object record is committed to the database. When two or more operations are executed simultaneously, the updatedTime property may not reflect the latest object state if one operation started earlier than the other but is not committed to the database immediately. For more information, see Message streaming.

Entity object example

This example shows how these entity object properties are structured in a JSON file in the Reltio configuration.

 {
 	"URI": "entities/e1",
 	"roles": [
 		"configuration/roles/Client",
 		"configuration/roles/Prospect"
 	],
 	"tags": [
 		"sport",
 		"movies"
 	],
 	"createdTime": 1351899105569,
 	"createdBy": "admin",
 	"updatedTime": 1353933493738,
 	"updatedBy": "fadler",
 	"startDate": 270431852,
 	"type": "configuration/entityTypes/Individual",
 	"label": "Ivan",
 	"tooltip": "Ivan",
 	"attributes": {
 		"URI": "entities/e1/attributes",
 		"FirstName": [{
 				"URI": "entities/e1/attributes/FirstName/1",
 				"type": "configuration/entityTypes/Individual/attributes/FirstName",
 				"value": "Ivan"
 			},
 			{
 				"URI": "entities/e1/attributes/FirstName/2",
 				"type": "configuration/entityTypes/Individual/attributes/FirstName",
 				"value": "John"
 			}
 		],
 		"Education": [{
 			"URI": "entities/e1/attributes/Education/3",
 			"type": "configuration/entityTypes/Individual/attributes/Education",
 			"value": {
 				"University": [{
 						"URI": "entities/e1/attributes/Education/3/University/4",
 						"type": "configuration/entityTypes/Individual/attributes/Education/University",
 						"value": "UCSF"
 					},
 					{
 						"URI": "entities/e1/attributes/Education/3/University/5",
 						"type": "configuration/entityTypes/Individual/attributes/Education/University",
 						"value": "SPbGU"
 					}
 				]
 			}
 		}],
 		"Address": [{
 			"URI": "entities/e1/attributes/Address/6",
 			"entityURI": "entities/e2",
 			"type": "configuration/entityTypes/Individual/attributes/Address",
 			"value": {
 				"City": [{
 					"URI": "entities/e1/attributes/Address/6/City/7",
 					"type": "configuration/entityTypes/Location/attributes/City",
 					"value": "New York"
 				}],
 				"AddressType": [{
 					"URI": "entities/e1/attributes/Address/6/AddressType/8",
 					"type": "configuration/relationshipTypes/HasAddress/attributes/AddressType",
 					"value": "Home"
 				}]
 			}
 		}]
 	},
 	"crosswalks": [{
 		"URI": "entities/e1/crosswalks/1",
 		"type": "configuration/sources/MDM",
 		"value": "Person.781",
 		"attributeURIs": [
 			"entities/e1/attributes/FirstName/1",
 			"entities/e1/attributes/FirstName/2",
 			"entities/e1/attributes/Education/3/University/4",
 			"entities/e1/attributes/Education/3/University/5"
 		]
 	}]
 }