FileImportFromUrlAsyncTasksByTaskId |
Check import status.Check the status of requested import.
Catalog: Files3
Schema: Files
Label: {res:itgen_hubspot_fileimportfromurlasynctasksbytaskid_plural}
This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function FileImportFromUrlAsyncTasksByTaskId. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
taskId |
string |
☑ |
|
Import by URL task ID |
Columns of Table Function
The columns of the table function FileImportFromUrlAsyncTasksByTaskId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
completedAt |
datetime |
Completed at |
☐ |
Time of completion of task. |
links |
string |
Links |
☐ |
Link to check the status of the requested task. |
numErrors |
int32 |
Number of Errors |
☐ |
Number of errors resulting from the task. |
requestedAt |
datetime |
Requested at |
☐ |
Timestamp of when the task was requested. |
result_access |
string |
Result Access |
☐ |
File access. Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
result_archived |
boolean |
Result Archived |
☐ |
If the file is deleted. |
result_archivedAt |
datetime |
Result Archived at |
☐ |
Deletion time of the file object. |
result_createdAt |
datetime |
Result Creatd at |
☐ |
Creation time of the file object. |
result_defaultHostingUrl |
string |
Result Default Hosting URL |
☐ |
Default hosting URL of the file. This will use one of HubSpot's provided URLs to serve the file. |
result_encoding |
string |
Result Encoding |
☐ |
Encoding of the file. |
result_expiresAt |
int64 |
{res:itgen_hubspot_result_expiresat} |
☐ |
|
result_extension |
string |
Result Extension |
☐ |
Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
result_height |
int32 |
Result Height |
☐ |
For image and video files, the height of the content. |
result_id |
string |
Result ID |
☐ |
File ID. |
result_isUsableInContent |
boolean |
Result Is Usable in Content |
☐ |
Previously "archied". Indicates if the file should be used when creating new content like web pages. |
result_name |
string |
Result Name |
☐ |
Name of the file. |
result_parentFolderId |
string |
Result Parent Folder ID |
☐ |
ID of the folder the file is in. |
result_path |
string |
Result Path |
☐ |
Path of the file in the file manager. |
result_size |
int64 |
Result Size |
☐ |
Size of the file in bytes. |
result_type |
string |
Result Type |
☐ |
Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
result_updatedAt |
datetime |
Result Updated at |
☐ |
Timestamp of the latest update to the file. |
result_url |
string |
Result URL |
☐ |
URL of the given file. This URL can change depending on the domain settings of the account. Will use the select file hosting domain. |
result_width |
int32 |
Result Width |
☐ |
For image and video files, the width of the content. |
startedAt |
datetime |
Started at |
☐ |
Timestamp of when the task was started. |
status |
string |
Status |
☐ |
Current status of the task. |
taskId |
string |
Task ID |
☐ |
ID of the requested task. |
18-12-2024 20:09 Version 24.1.33-BETA+5180