TimelineEventByEventTemplateIdAndEventId |
Gets the eventThis returns the previously created event. It contains all existing info for the event, but not necessarily the CRM object.
Catalog: Timeline3
Schema: Events
Label: {res:itgen_hubspot_timelineeventbyeventtemplateidandeventid_plural}
This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function TimelineEventByEventTemplateIdAndEventId. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
eventId |
string |
☑ |
|
The event ID. |
eventTemplateId |
string |
☑ |
|
The event template ID. |
Columns of Table Function
The columns of the table function TimelineEventByEventTemplateIdAndEventId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
createdAt |
datetime |
Created at |
☐ |
|
domain |
string |
Domain |
☐ |
The event domain (often paired with utk). |
string |
☐ |
The email address used for contact-specific events. This can be used to identify existing contacts, create new ones, or change the email for an existing contact (if paired with the `objectId`). |
||
eventTemplateId |
string |
Event Template ID |
☐ |
The event template ID. |
extraData |
string |
Extra Data |
☐ |
Additional event-specific data that can be interpreted by the template's markdown. |
id |
string |
ID |
☐ |
Identifier for the event. This should be unique to the app and event template. If you use the same ID for different CRM objects, the last to be processed will win and the first will not have a record. You can also use `{{uuid}}` anywhere in the ID to generate a unique string, guaranteeing uniqueness. |
objectId |
string |
Object ID |
☐ |
The CRM object identifier. This is required for every event other than contacts (where utk or email can be used). |
objectType |
string |
Object Type |
☐ |
The ObjectType associated with the EventTemplate. |
timelineIFrame_headerLabel |
string |
{res:itgen_hubspot_timelineiframe_headerlabel} |
☐ |
The label of the modal window that displays the iframe contents. |
timelineIFrame_height |
int32 |
{res:itgen_hubspot_timelineiframe_height} |
☐ |
The height of the modal window in pixels. |
timelineIFrame_linkLabel |
string |
{res:itgen_hubspot_timelineiframe_linklabel} |
☐ |
The text displaying the link that will display the iframe. |
timelineIFrame_url |
string |
{res:itgen_hubspot_timelineiframe_url} |
☐ |
The URI of the iframe contents. |
timelineIFrame_width |
int32 |
{res:itgen_hubspot_timelineiframe_width} |
☐ |
The width of the modal window in pixels. |
timestamp |
datetime |
Timestamp |
☐ |
The time the event occurred. If not passed in, the curren time will be assumed. This is used to determine where an event is shown on a CRM object's timeline. |
tokens |
string |
Tokens |
☐ |
A collection of token keys and values associated with the template tokens. |
utk |
string |
UTK |
☐ |
Use the `utk` parameter to associate an event with a contact by `usertoken`. This is recommended if you don't know a user's email, but have an identifying user token in your cookie. |
18-12-2024 20:09 Version 24.1.33-BETA+5180