Examples of Events

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

CRUD Event Examples

Example 1: 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":{
               
            }
         }
      ]
   }
}

Example 2: 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"
   }
}            

Example 3: 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"
   }
}            

Example 4: CHANGE_REQUEST_REMOVED


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

Match Event Example

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.