Hubspot Connector
Documentation
Version: 5
Documentation
Endpoint

Get Contacts


Name

get_contacts

Description

No description available

Related Tables

Contacts

Parameters

Parameter Label Required Options Description
Properties Properties NO

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(4000) 4000 False
IsArchived DT_BOOL bit False
CreatedAt DT_DBTIMESTAMP datetime False
UpdatedAt DT_DBTIMESTAMP datetime False
[Dynamic Column] DT_WSTR nvarchar(2000) 2000 False [$parent.label$]
If the column you are looking for is missing, consider customizing Hubspot Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Hubspot Connector in API Source component to read data or in API Destination component to read/write data:

Read from Contacts table using API Destination

This Endpoint belongs to Contacts table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

Hubspot
Contacts
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get contacts

SELECT * FROM get_contacts

Get contacts

Gets contacts

SELECT * FROM Contacts --Where Id=123

Get contact by Id

Gets contact by Id

SELECT * FROM Contacts Where Id=51

get_contacts endpoint belongs to Contacts table(s), and can therefore be used via those table(s).

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get contacts

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_contacts';

EXEC (@MyQuery) AT [LS_TO_HUBSPOT_IN_GATEWAY];

Get contacts

Gets contacts

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Contacts --Where Id=123';

EXEC (@MyQuery) AT [LS_TO_HUBSPOT_IN_GATEWAY];

Get contact by Id

Gets contact by Id

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Contacts Where Id=51';

EXEC (@MyQuery) AT [LS_TO_HUBSPOT_IN_GATEWAY];

get_contacts endpoint belongs to Contacts table(s), and can therefore be used via those table(s).