Name |
Type |
Description |
Notes |
id |
Integer |
Internal ID of this entity. |
|
created |
DateTime |
The time this entity was created. |
|
application_id |
Integer |
The ID of the application that owns this entity. |
|
profile_id |
String |
ID of the customer profile set by your integration layer. Note: If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. |
[optional] |
store_integration_id |
String |
The integration ID of the store. You choose this ID when you create a store. |
[optional] |
type |
String |
A string representing the event. Must not be a reserved event name. |
|
attributes |
Object |
Arbitrary additional JSON data associated with the event. |
|
session_id |
String |
The ID of the session that this event occurred in. |
[optional] |
effects |
Array<Object> |
An array of effects generated by the rules of the enabled campaigns of the Application. You decide how to apply them in your system. See the list of API effects. |
|
ledger_entries |
Array<LedgerEntry> |
Ledger entries for the event. |
[optional] |
meta |
Meta |
|
[optional] |
require 'TalonOne'
instance = TalonOne::Event.new(id: 6,
created: 2020-06-10T09:05:27.993483Z,
application_id: 322,
profile_id: URNGV8294NV,
store_integration_id: STORE-001,
type: pageViewed,
attributes: {"myAttribute":"myValue"},
session_id: 175KJPS947296,
effects: null,
ledger_entries: null,
meta: null)