Smartsheet Connector
Documentation
Version: 2
Documentation
Endpoint

List Sheets


Name

get_sheets

Description

Get a list of Sheets. [API reference]

Related Tables

Sheets

Parameters

Parameter Label Required Options Description
ModifiedSince Modified Since NO
Option Value
2020-01-30T13:25:32 2020-01-30T13:25:32
2020-01-30 2020-01-30
now now
today today
yesterday yesterday
monthstart monthstart
monthend monthend
yearstart yearstart
yearend yearend
weekstart weekstart
weekend weekend
yearstart-1y yearstart-1y
yearend-1y yearend-1y
monthstart-1d monthstart-1d
monthend+1d monthend+1d
today-24h today-24h
now-24h now-24h
now-1d now-1d
today+7d today+7d
Include Include NO
Option Value
sheetVersion sheetVersion
source source
PageSize PageSize NO

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_I8 bigint False
CreatedAt DT_DBTIMESTAMP datetime False
ModifiedAt DT_DBTIMESTAMP datetime False
CreatedAtLocalTime DT_DBTIMESTAMP datetime False
ModifiedAtLocalTime DT_DBTIMESTAMP datetime False
Name DT_WSTR nvarchar(255) 255 False
AccessLevel DT_WSTR nvarchar(50) 50 False
Permalink DT_WSTR nvarchar(2048) 2048 False
If the column you are looking for is missing, consider customizing Smartsheet 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 Smartsheet Connector in API Source component to read data or in API Destination component to read/write data:

Read from Sheets table using API Destination

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

Smartsheet
Sheets
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

List sheets

SELECT * FROM get_sheets

Tables - Sheets

SELECT * FROM Sheets --Where Id='5815807987847055'

get_sheets endpoint belongs to Sheets 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 sheets

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

EXEC (@MyQuery) AT [LS_TO_SMARTSHEET_IN_GATEWAY];

Tables - Sheets

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

EXEC (@MyQuery) AT [LS_TO_SMARTSHEET_IN_GATEWAY];

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