Endpoint Get Contacts
Name
get_contact
Description
Gets the specified contact. [API reference]
Related Tables
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: ContactId |
YES |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(255)
|
255 | |
Name |
DT_WSTR
|
nvarchar(255)
|
255 | |
DT_WSTR
|
nvarchar(255)
|
255 | ||
FirstName |
DT_WSTR
|
nvarchar(255)
|
255 | |
LastName |
DT_WSTR
|
nvarchar(255)
|
255 |
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 Smartsheet Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the Contacts table, therefore it is better to use it, instead of accessing the endpoint directly:
Required Parameters | |
---|---|
ContactId | Fill-in the parameter... |

API Destination
This Endpoint belongs to the Contacts table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get contacts:
Required Parameters | |
---|---|
ContactId | Fill-in the parameter... |

ODBC application
Use these SQL queries in your ODBC application data source:
Get contacts
SELECT * FROM Contacts
WHERE Id = 'abcd-1234-contactid'
get_contact
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 Contacts
WHERE Id = ''abcd-1234-contactid''';
EXEC (@MyQuery) AT [LS_TO_SMARTSHEET_IN_GATEWAY];
get_contact
endpoint belongs to
Contacts
table(s), and can therefore be used via those table(s).