Reference

Endpoint Get Contacts


Name

get_contact

Description

Gets the specified contact. [API reference]

Related Tables

Contacts

Parameters

Parameter Required Options
Name: ContactId

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
Email DT_WSTR nvarchar(255) 255
FirstName DT_WSTR nvarchar(255) 255
LastName DT_WSTR nvarchar(255) 255
If the column you are looking for is missing, consider customizing Smartsheet Connector.

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:

API Source - Smartsheet
Read / write SmartSheet data inside your app, perform many SmartSheet operations such as Read, Insert, Update, Delete, List, Search, Export on objects like Sheets, Rows, Users etc without coding with easy to use high performance API Connector
Smartsheet
Contacts
Required Parameters
ContactId Fill-in the parameter...
SSIS API Source - Read from table or endpoint

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:

API Destination - Smartsheet
Read / write SmartSheet data inside your app, perform many SmartSheet operations such as Read, Insert, Update, Delete, List, Search, Export on objects like Sheets, Rows, Users etc without coding with easy to use high performance API Connector
Smartsheet
Contacts
Lookup
Required Parameters
ContactId Fill-in the parameter...
SSIS API Destination - Access table operation

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).