Data

Data events have some special configurations. You can choose to publish data events as Cells or Rows. You can choose to publish events on all objects or a subset of objects. You can apply filters to each object.

Rows

HTTP/1.1 200 OK
...
 
[
  {
    "eventId": "f60f5482-14d0-465d-b955-7319f3ccd2ea",
    "modifiedAt": "2022-04-29T23:36:18.287Z",
    "topicName": "data",
    "topicOffset": 0,
    "entityType": "Data",
    "entityFormatType": "Rows",
    "modifiedById": 2447,
    "modifiedByUserEmail": "admin.user@company.com",
    "isCalculated": false,
    "schemaVersion": 52,
    "payload": {
      "entities": {
        "created": [
          {
            "entries": [
              {
                "entryId": 908915
              }
            ],
            "entryListId": 2072
          }
        ],
        "updated": [
          {
            "entryFields": [
              {
                "EntryId": 908915,
                "EntryListId": 2072,
                "Name": "Test Company",
                "phonenumber": "2131232312",
                "Domain": "http://test.com",
                "dateofstart": "2022-04-28T21:00:00Z"
              }
            ],
            "entryListId": 2072
          }
        ]
      }
    }
  }
]

Cells

When publishing the data as Cells we return the current value. When the field is a Choice or Reference we return ActionType, This is done by adding ActionType to the value object. The ActionType can be INSERT or DELETE.

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2022 22:08:01 GMT
Content-Type: application/json; charset=utf-8
 
[
  {
    "eventId": "430c8c1a-c764-4688-9f22-29290e443db7",
    "modifiedAt": "2022-04-27T14:46:42.393Z",
    "topicName": "data65",
    "topicOffset": 32,
    "entityType": "Data",
    "entityFormatType": "None",
    "modifiedById": 2447,
    "modifiedByUserEmail": "admin.user@company.com",
    "isCalculated": false,
    "schemaVersion": 47,
    "payload": {
      "entities": {
        "updated": [
          {
            "entryFields": [
              {
                "fieldId": 288292,
                "value": [
                  {
                    "ActionType": "UPDATE",
                    "Url": "mailto:admin@dealcloud.com",
                    "IsFile": null,
                    "Type": 0,
                    "Id": 1,
                    "Name": "Admin Admin",
                    "EntryListId": -1
                  },
                  {
                    "Url": "mailto:cperrautqa@dealcloud.com",
                    "IsFile": null,
                    "Type": 0,
                    "Id": 1003660,
                    "Name": "Charles QA Test User",
                    "EntryListId": -1
                  }
                ],
                "entryId": 33868851
              },
              {
                "fieldId": 288294,
                "value": [
                  {
                    "ActionType": "INSERT",
                    "ParentID": null,
                    "SeqNumber": 1,
                    "IsAutoPdf": false,
                    "Id": 17440232,
                    "Name": "Buyout (PE / Corporate Held)",
                    "EntryListId": -6
                  }
                ],
                "entryId": 33868851
              },
              {
                "fieldId": 288295,
                "value": [
                  {
                    "ActionType": "DELETE",
                    "ParentID": null,
                    "SeqNumber": 1,
                    "IsAutoPdf": false,
                    "Id": 17440239,
                    "Name": "Auction",
                    "EntryListId": -6
                  }
                ],
                "entryId": 33868851
              }
        ]
      }
    }
  }
]