ODBC Driver for TSheets

Build 22.0.8462

Files

This table contains a list of file objects.

Table Specific Information

Select

Query the Files table. The driver will use the TSheets API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the driver.

  • Id and Name fields support the '=' and IN operators.
  • ActiveStatus filter supports the '=' operator.
  • LastModified field supports the <=,<,>=,>,= operators.

For example, the following queries are processed server side:

SELECT * FROM Files WHERE Name IN ('IMG_20181004_214839.png', 'healthy.jpg')

SELECT * FROM Files WHERE LastModified = '2019-01-01 15:30' AND ActiveStatus = 'both'

Columns

Name Type Description
Id [KEY] String Id of this file.
Name String Name of this file.
UploadByUserId Int Id of the user that uploaded this file.
Active Boolean If false, this file is considered deleted.
Size Int Size of the file in bytes.
Created Datetime Date/time when this customfield was created
LastModified Datetime Date/time when this customfield was last modified.
FileDescription String Description of this file.
ImageRotation Int Original image orientation in degrees. Accepted values are: 0 (top), 90 (right), 180 (bottom), 270 (left).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
ActiveStatus String Filter column for whether to fetch only active records, only archived records, or both. By default, only active records are fetched. Possible values are: yes, no, both

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462