imports_list {civis} | R Documentation |
List Imports
Description
List Imports
Usage
imports_list(
type = NULL,
destination = NULL,
source = NULL,
status = NULL,
author = NULL,
hidden = NULL,
archived = NULL,
limit = NULL,
page_num = NULL,
order = NULL,
order_dir = NULL
)
Arguments
type |
string optional. If specified, return imports of these types. It accepts a comma-separated list, possible values are 'AutoImport', 'DbSync', 'Salesforce', 'GdocImport'. |
destination |
string optional. If specified, returns imports with one of these destinations. It accepts a comma-separated list of remote host ids. |
source |
string optional. If specified, returns imports with one of these sources. It accepts a comma-separated list of remote host ids. 'DbSync' must be specified for 'type'. |
status |
string optional. If specified, returns imports with one of these statuses. It accepts a comma-separated list, possible values are 'running', 'failed', 'succeeded', 'idle', 'scheduled'. |
author |
string optional. If specified, return items from any of these authors. It accepts a comma-separated list of user IDs. |
boolean optional. If specified to be true, returns hidden items. Defaults to false, returning non-hidden items. | |
archived |
string optional. The archival status of the requested item(s). |
limit |
integer optional. Number of results to return. Defaults to 20. Maximum allowed is 50. |
page_num |
integer optional. Page number of the results to return. Defaults to the first page, 1. |
order |
string optional. The field on which to order the result set. Defaults to updated_at. Must be one of: updated_at, name, created_at, last_run.updated_at. |
order_dir |
string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc. |
Value
An array containing the following fields:
name |
string, The name of the import. |
syncType |
string, The type of sync to perform; one of Dbsync, AutoImport, GdocImport, GdocExport, and Salesforce. |
source |
list, A list containing the following elements:
|
destination |
list, A list containing the following elements:
|
schedule |
list, A list containing the following elements:
|
id |
integer, The ID for the import. |
isOutbound |
boolean, |
jobType |
string, The job type of this import. |
state |
string, |
createdAt |
string, |
updatedAt |
string, |
lastRun |
list, A list containing the following elements:
|
user |
list, A list containing the following elements:
|
timeZone |
string, The time zone of this import. |
archived |
string, The archival status of the requested item(s). |