ListObjectTypeNameByObjectTypeIdAndName |
Retrieve List by NameRetrieve a specific list by its name and object type ID. This endpoint allows you to fetch details about a list, including its properties and optionally its filters. It is useful for accessing list information based on specific criteria.
Catalog: Lists
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 ListObjectTypeNameByObjectTypeIdAndName. 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 |
|---|---|---|---|---|
includeFilters |
|
☐ |
|
A boolean indicating whether to include filter details in the response. Defaults to false. |
listName |
|
☑ |
|
The name of the list to retrieve. |
objectTypeId |
|
☑ |
|
The object type ID of the list to retrieve. |
Columns of Table Function
The columns of the table function ListObjectTypeNameByObjectTypeIdAndName are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
list_createdAt |
datetime |
|
☐ |
The time when the list was created. |
list_createdById |
varchar2 |
|
☐ |
The ID of the user that created the list. |
list_deletedAt |
datetime |
|
☐ |
The time when the list was deleted. |
list_filterBranch_filterBranchOperator |
varchar2 |
|
☐ |
The logical operator used to combine the filters within the branch (OR). |
list_filterBranch_filterBranchType |
varchar2 |
|
☐ |
The type of the filter branch (OR). |
list_filtersUpdatedAt |
datetime |
|
☐ |
The time when the filters for this list were last updated. |
list_listId |
varchar2 |
|
☐ |
The **ILS ID** of the list. |
list_listPermissions_teamsWithEditAccess |
varchar2 |
|
☐ |
|
list_listPermissions_usersWithEditAccess |
varchar2 |
|
☐ |
|
list_listVersion |
int32 |
|
☐ |
The version of the list. |
list_membershipSettings_includeUnassigned |
char |
|
☐ |
Indicates whether unassigned memberships should be included. |
list_membershipSettings_membershipTeamId |
int32 |
|
☐ |
The ID of the team associated with the membership. |
list_name |
varchar2 |
|
☐ |
The name of the list. |
list_objectTypeId |
varchar2 |
|
☐ |
The object type of the list. |
list_processingStatus |
varchar2 |
|
☐ |
The processing status of the list. |
list_processingType |
varchar2 |
|
☐ |
The processing type of the list. |
list_size |
int64 |
|
☐ |
Size of the list |
list_updatedAt |
datetime |
|
☐ |
The time the list was last updated. |
list_updatedById |
varchar2 |
|
☐ |
The ID of the user that last updated the list. |