Files
This table contains a list of file objects.
Table Specific Information
Select
The 本製品 uses 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 本製品.- Id and UploadByUserIds fields support the =, 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
When executing UPDATE queries, specify the Id in the WHERE clause.
For example:
UPDATE Files SET FileDescription = 'test' WHERE Id = '3688644'
Delete
When executing DELETE queries, specify 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). |
LinkedObjects | String | True |
This is a key/value map of all the objects linked to this file and the corresponding object ids. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
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 |