Files
This table contains a list of file objects.
Table Specific Information
Select
Query the Files table. The connector will use the QuickBooks Time API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the connector.
- 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'
Update
Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE Files SET FileDescription = 'test' WHERE Id = '3688644'
Delete
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
Delete FROM Files WHERE Id = '3688644'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | True |
Id of this file. |
Name | String | False |
Name of this file. |
UploadByUserId | Int | True |
Id of the user that uploaded this file. |
Active | Boolean | True |
If false, this file is considered deleted. |
Size | Int | True |
Size of the file in bytes. |
Created | Datetime | True |
Date/time when this customfield was created |
LastModified | Datetime | True |
Date/time when this customfield was last modified. |
FileDescription | String | False |
Description of this file. |
ImageRotation | Int | False |
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 |