Unify and manage your data

Show Page Sections

Examples of Events

Various examples for CRUD and Match events are given as following.

CRUD Event Examples

ENTITY_CREATED

{ "type":"ENTITY_CREATED", "object":{ "uri":"entities/01aQuFl", "type":"configuration/entityTypes/Individual", "createdBy":"admin", "createdTime":1363645383201, "updatedTime":1363645383201, "startDate":192315600000, "crosswalks":[ { "uri":"entities/3n4t7JZ/crosswalks/1UwSn", "type":"configuration/sources/Reltio", "value":"3n4t7JZ", "createDate":"2014-06-20T01:42:48.451Z", "updateDate":"2014-06-20T01:42:48.451Z", "attributes":[ "entities/3n4t7JZ/attributes/FirstName/1UwWv" ], "singleAttributeUpdateDates":{ "entities/3n4t7JZ/attributes/FirstName/1UwWv":"2014-06-20T01:42:48.451Z" } }, { "uri":"entities/3n4t7JZ/crosswalks/Gun", "type":"configuration/sources/ASource", "value":"Individual.100", "createDate":"2014-06-10T14:43:00.923Z", "updateDate":"2014-06-10T14:43:00.923Z", "attributes":[ "entities/3n4t7JZ/attributes/FirstName/Gqf", "entities/3n4t7JZ/attributes/LastName/GmX" ], "singleAttributeUpdateDates":{ } } ] } }

CHANGE_REQUEST_CHANGED

{ "type":"CHANGE_REQUEST_CHANGED", "object":{ "uri":"changeRequests/0000Fyz", "createdBy":"User", "createdTime":1549473854379, "updatedBy":"User", "updatedTime":1549473855260, "changes":{ "entities/0000Dqr":[ { "id":"0000jon", "type":"CREATE_ENTITY", "createdTime":1549473855260, "createdBy":"User", "newValue":{ "uri":"entities/0000Dqr", "type":"configuration/entityTypes/Location", "attributes":{ "AddressLine1":[ { "value":"Line" } ] } } } ] }, "type":"configuration/changeRequestTypes/someChangeRequestType", "state":"AWAITING_REVIEW" } }

CHANGE_REQUEST_CREATED

{ "type":"CHANGE_REQUEST_CREATED", "object":{ "uri":"changeRequests/0001Deb", "createdBy":"User", "createdTime":1549473833725, "updatedBy":"User", "updatedTime":1549473833725, "changes":{ "relations/0000Aef":[ { "id":"00019OL", "type":"DELETE_RELATIONSHIP", "createdTime":1549473833725, "createdBy":"User" } ] }, "type":"configuration/changeRequestTypes/someChangeRequestType", "state":"AWAITING_REVIEW" } }

CHANGE_REQUEST_REMOVED

{ "type":"CHANGE_REQUEST_REMOVED", "object":{ "uri":"changeRequests/0000Fyz", "type":null, "state":"AWAITING_REVIEW" } }

Match Event Examples

ENTITIES_MERGED

{ "type": "ENTITIES_MERGED", "updatedTime": 1567596147000, "uris": [ "entities/00MNwCe", "entities/00MXpxo" ] }
Note: When the JMSIncludeMergeTime property in the tenant configuration is enabled and set to true, then the updatedTime will be added to the ENTITIES_MERGED event. Also, you must add fields manually into JMSEventsFilteringFields.

ENTITIES_MERGED_FAILED

{ "type": "ENTITIES_MERGE_FAILED", "winner": "entities/00005ap", "participants": { "entities/00005ap": "configuration/entityTypes/HCP", "entities/0000Mdr": "configuration/entityTypes/HCP" }, "mergeType": "ON_THE_FLY", "mereReason": "Merge on the fly", "error": "Code: OBJECT_TOO_LARGE_TO_SAVE_IT. Message parameters: [entities/00005ap]. Object is too large entities/00005ap. Crosswalks limit exceeded for the whole object. Limit: 200, current value: 203", "errorCode": "OBJECT_TOO_LARGE_TO_SAVE_IT" }

RELATIONS_MERGED_FAILED

{ "type": "RELATIONS_MERGE_FAILED", "participants": { "relations/0000Aef": "configuration/relationTypes/Employment", "relations/00006OP": "configuration/relationTypes/HasAddress" }, "mergeType": "CROSSWALKS", "mergeReason": "Merge by crosswalks", "error": "Code: MERGE_OF_OBJECTS_DIFFERENT_TYPES; Message parameters: [relations/00006OP, relations/0000Aef]. The merging of objects (relations/00006OP, relations/0000Aef) was rejected. Trying to merge objects (relations/00006OP, relations/0000Aef) of different types.", "errorCode": "MERGE_OF_OBJECTS_DIFFERENT_TYPES" }
Was this content helpful?