Endpoint Get Owners
Name
get_owners
Description
Related Tables
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
Label: OwnerId |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Id |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
| IsArchived |
DT_BOOL
|
bit
|
||
| CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| UpdatedAt |
DT_DBTIMESTAMP
|
datetime
|
||
DT_WSTR
|
nvarchar(4000)
|
4000 | ||
| FirstName |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
| LastName |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
| UserId |
DT_I8
|
bigint
|
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | 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 or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the Owners table, therefore it is better to use it, instead of accessing the endpoint directly:
| Optional Parameters | |
|---|---|
| OwnerId | |
| ContineOnErrorForStatusCode | True |
API Destination
This Endpoint belongs to the Owners table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get owners:
| Optional Parameters | |
|---|---|
| OwnerId | |
| ContineOnErrorForStatusCode | True |
ODBC application
Use these SQL queries in your ODBC application data source:
List owners
<p>Returns all owners (users) in the account.</p>
SELECT * FROM Owners
get_owners endpoint belongs to
Owners
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:
List owners
<p>Returns all owners (users) in the account.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Owners';
EXEC (@MyQuery) AT [LS_TO_HUBSPOT_IN_GATEWAY];
get_owners endpoint belongs to
Owners
table(s), and can therefore be used via those table(s).