Description Usage Arguments Value
Upload multiple files to Civis
1 2 3 4 5 6 7 8 9 10 11 |
file_ids |
array required. The file IDs for the import. |
schema |
string required. The destination schema name. This schema must already exist in Redshift. |
table |
string required. The destination table name, without the schema prefix. This table must already exist in Redshift. |
remote_host_id |
integer required. The ID of the destination database host. |
credential_id |
integer required. The ID of the credentials to be used when performing the database import. |
column_delimiter |
string optional. The column delimiter for the file. Valid arguments are "comma", "tab", and "pipe". If unspecified, defaults to "comma". |
first_row_is_header |
boolean optional. A boolean value indicating whether or not the first row is a header row. If unspecified, defaults to false. |
compression |
string optional. The type of compression. Valid arguments are "gzip", "zip", and "none". If unspecified, defaults to "gzip". |
hidden |
boolean optional. The hidden status of the item. |
A list containing the following elements:
id |
integer, The ID for the import. |
schema |
string, The destination schema name. This schema must already exist in Redshift. |
table |
string, The destination table name, without the schema prefix. This table must already exist in Redshift. |
remoteHostId |
integer, The ID of the destination database host. |
state |
string, The state of the run; one of "queued", "running", "succeeded", "failed", or "cancelled". |
startedAt |
string, The time the last run started at. |
finishedAt |
string, The time the last run completed. |
error |
string, The error returned by the run, if any. |
hidden |
boolean, The hidden status of the item. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.