MarketingEventCustomPropertiesByExternalEventId |
Get Marketing Event by External IDsReturns the details of a Marketing Event with the specified externalAccountId, externalEventId, if it exists.Only Marketing Events created by the same app making the request can be retrieved.
Catalog: MarketingEvents
Schema: Basic
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 MarketingEventCustomPropertiesByExternalEventId. 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 |
|---|---|---|---|---|
externalAccountId |
|
☑ |
|
|
externalEventId |
|
☑ |
|
|
Columns of Table Function
The columns of the table function MarketingEventCustomPropertiesByExternalEventId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
attendees |
int32 |
Attendees |
☐ |
The number of HubSpot contacts that attended this marketing event. |
cancellations |
int32 |
Cancellations |
☐ |
The number of HubSpot contacts that registered for this marketing event, but later cancelled their registration. |
createdAt |
datetime |
Created at |
☐ |
The creation date and time of the marketing event. |
dataSensitivity |
varchar2 |
|
☐ |
Level of data sensitivity |
endDateTime |
datetime |
End Date Time |
☐ |
The end date and time of the marketing event. |
eventCancelled |
char |
Event Cancelled |
☐ |
Indicates if the marketing event has been cancelled. |
eventCompleted |
char |
|
☐ |
Indicates if the marketing event has been completed. |
eventDescription |
varchar2 |
Event Description |
☐ |
The description of the marketing event. |
eventName |
varchar2 |
Event Name |
☐ |
The name of the marketing event. |
eventOrganizer |
varchar2 |
Event Organizer |
☐ |
The name of the organizer of the marketing event. |
eventType |
varchar2 |
Event Type |
☐ |
The type of the marketing event. |
eventUrl |
varchar2 |
Event (URL) |
☐ |
A URL in the external event application where the marketing event can be managed. |
externalEventId |
varchar2 |
External Event ID |
☐ |
The id of the marketing event in the external event application. |
id |
varchar2 |
ID |
☐ |
The ID of the marketing event CRM object. |
isEncrypted |
char |
|
☐ |
Indicates whether the property is encrypted |
isLargeValue |
char |
|
☐ |
Indicates whether the property value is stored as a large value in the storage |
name |
varchar2 |
Name |
☐ |
Name of custom property |
noShows |
int32 |
No Shows |
☐ |
The number of HubSpot contacts that registered for this marketing event, but did not attend. This field only had a value when the event is over. |
objectId |
varchar2 |
Object ID |
☐ |
The ID of the marketing event CRM object. |
persistenceTimestamp |
int64 |
Persistence Timestamp |
☐ |
The timestamp that indicates when the value being written is persisted in storage |
registrants |
int32 |
Registrants |
☐ |
The number of HubSpot contacts that registered for this marketing event. |
requestId |
varchar2 |
Request ID |
☐ |
The ID of the request |
selectedByUser |
char |
Selected by User |
☐ |
Indicates whether the property is selected |
selectedByUserTimestamp |
int64 |
Selected by User Timestamp |
☐ |
Timestamp of when the property was selected by the user |
source |
varchar2 |
Source |
☐ |
Source of the property |
sourceId |
varchar2 |
Source ID |
☐ |
ID of the source of the property |
sourceLabel |
varchar2 |
Source Label |
☐ |
Label of the source of the property |
sourceMetadata |
varchar2 |
Source Metadata |
☐ |
Source metadata encoded as a base64 string |
sourceUpstreamDeployable |
varchar2 |
|
☐ |
Indicates which upstream service made the property change |
sourceVid |
varchar2 |
Source VID |
☐ |
The unique identifier associated with the source. |
startDateTime |
datetime |
Start Date Time |
☐ |
The start date and time of the marketing event. |
timestamp |
int64 |
Timestamp |
☐ |
Timestamp of the request |
unit |
varchar2 |
|
☐ |
The unit |
updatedAt |
datetime |
Updated at |
☐ |
The update date and time of the marketing event. |
updatedByUserId |
int32 |
Updated by User ID |
☐ |
The ID of the user who last updated the property |
useTimestampAsPersistenceTimestamp |
char |
Use Timestamp as Persistence Timestamp |
☐ |
Indicates if the persistence timestamp is the same as storage version timestamp |
value |
varchar2 |
Value |
☐ |
Custom property value |
HubSpot API Data Model