EventDefinitionAssociationsByEventName |
Retrieve a custom event definitionFetch a single custom event definition by name.
Catalog: ManageEventDefinitions
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 EventDefinitionAssociationsByEventName. 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 |
|---|---|---|---|---|
eventName |
|
☑ |
|
|
Columns of Table Function
The columns of the table function EventDefinitionAssociationsByEventName are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
allowsCustomLabels |
char |
|
☐ |
Whether custom labels can be used in the association. |
archived |
char |
Archived |
☐ |
|
cardinality |
varchar2 |
|
☐ |
The cardinality from the source object's perspective, either "ONE_TO_ONE" or "ONE_TO_MANY". |
category |
varchar2 |
Category |
☐ |
The error category |
comboEventRules_operationType |
varchar2 |
|
☐ |
|
createdAt |
datetime |
Created at |
☐ |
|
createdUserId |
int32 |
Created User ID |
☐ |
|
customMatchingId_primaryObjectRule_eventPropertyName |
varchar2 |
|
☐ |
|
customMatchingId_primaryObjectRule_targetObjectPropertyName |
varchar2 |
|
☐ |
|
description |
varchar2 |
Description |
☐ |
|
detailTemplate |
varchar2 |
Detail Template |
☐ |
|
fromObjectType |
varchar2 |
|
☐ |
The name of the source object type (e.g,. "DEAL" or "QUOTE"). |
fromObjectTypeId |
varchar2 |
From Object Type ID |
☐ |
The ID of the source object type (e.g., 0-1 for contacts). |
fullyQualifiedName |
varchar2 |
Fully Qualified Name |
☐ |
|
hasAllAssociatedObjects |
char |
|
☐ |
Whether all potential linked objects are included in the association |
hasCascadingDeletes |
char |
|
☐ |
Whether deletions in the association should cause cascading deletes to linked objects. |
hasUserEnforcedMaxFromObjectIds |
char |
|
☐ |
Whether a user has set a limit for the number of source objects. |
hasUserEnforcedMaxToObjectIds |
char |
|
☐ |
Whether a user has set a limit for the number of destination objects. |
headerTemplate |
varchar2 |
Header Template |
☐ |
|
hidden |
char |
Hidden |
☐ |
Whether the association is hidden or not. |
hiddenReason |
varchar2 |
|
☐ |
|
id_2 |
varchar2 |
ID (Alternate 2) |
☐ |
|
id |
int32 |
ID |
☐ |
The unique ID of the associated object (e.g., a contact ID). |
inverseAllowsCustomLabels |
char |
|
☐ |
Whether the reverse association can also support custom labels. |
inverseCardinality |
varchar2 |
|
☐ |
The cardinality from the destination object's perspective, either "ONE_TO_ONE" or "ONE_TO_MANY". |
inverseHasAllAssociatedObjects |
char |
|
☐ |
Whether all potential reverse linked objects are included in the association. |
inverseId |
int32 |
|
☐ |
The unique ID for the inverse side of the association. |
inverseLabel |
varchar2 |
|
☐ |
The label used to describe the reverse relationship in an association. |
inverseName |
varchar2 |
|
☐ |
The name used to describe the inverse relationship in this association |
isDefault |
char |
Is Default |
☐ |
|
isInversePrimary |
char |
|
☐ |
Whether the inverse association is considered primary. |
isPrimary |
char |
|
☐ |
Whether the association is the primary link between the entities involved. |
label |
varchar2 |
Label |
☐ |
The label given to an association. |
labels_plural |
varchar2 |
Labels Plural |
☐ |
|
labels_singular |
varchar2 |
Labels Singular |
☐ |
|
maxFromObjectIds |
int32 |
|
☐ |
The maximum number of source object IDs allowed in the association. |
maxToObjectIds |
int32 |
|
☐ |
The maximum number of destination object IDs allowed in the association. |
name_2 |
varchar2 |
Name (Alternate 2) |
☐ |
|
name |
varchar2 |
Name |
☐ |
For labeled association types, the internal name of the association. |
objectTypeId |
varchar2 |
Ojbect Type ID |
☐ |
|
portalUniqueIdentifier |
varchar2 |
|
☐ |
A unique across-portal ID applied to the association. |
primaryObject |
varchar2 |
|
☐ |
|
primaryObjectId |
varchar2 |
|
☐ |
|
readOnly |
char |
|
☐ |
|
toObjectType |
varchar2 |
|
☐ |
The name of the destination object type (e.g,. "DEAL" or "QUOTE"). |
toObjectTypeId |
varchar2 |
To Object Type ID |
☐ |
The ID of the destination object type (e.g., 0-3 for deals). |
trackingType |
varchar2 |
|
☐ |
|
updatedAt |
datetime |
Updated at |
☐ |
|
updatedUserId |
int32 |
Updated User ID |
☐ |
|
HubSpot API Data Model