Imports / List
Returns all email imports.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/imports
Method: GET
Authorisation: Minimum role: USER
Request Arguments
Request body example
Response object
Response status: 200 (OK)
Response type:
DTO_import[]
Wrapper: DTO_response_wrap_get_many
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_standard_filter
| Name | Type | ReadOnly | Description |
| sort_by_key | String | | Sort by key |
| response_field_keys | String[] | | Only return the fields specified |
| filters | String[] | | Each string needs to be structured: filters=field_key:operator:value1|value2|value3
Only used to store filters for passing along as querystring |
| include_aggregations | Boolean | | Include aggregations |
| include_imported | Boolean | | Include imported |
| search | String | | Search |
| sort_order | ENUM sort_order | | Sort order |
| take | Int32 | | Take |
| page | Int32 | | Page |
DTO_reference_user
| Name | Type | ReadOnly | Description |
| profile_pic | String | ReadOnly | Profile pic |
| email | String | ReadOnly | Email |
| id | Int32 | | Id |
| label | Object | ReadOnly | Label |
DTO_reference
| Name | Type | ReadOnly | Description |
| id | Int32 | | The id of the reference |
| label | Object | ReadOnly | Name/Label from referenced object. |
DTO_external_auth_imap
| Name | Type | ReadOnly | Description |
| hostname | String | | Hostname |
| port | Int32 | | Port |
| username | String | | Username |
| password | String | | Password |
DTO_external_auth_oauth2
| Name | Type | ReadOnly | Description |
| identifier | String | | Identifier |
| authorized_account | String | ReadOnly | Authorized account |
ENUM import_email_status
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | IN_PROGRESS | In progress |
| 2 | DONE | Done |
| 3 | ERROR | Error |
ENUM import_data_dump_provider
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | GROOVEHQ | GrooveHQ |
| 2 | EXCEL_QA | Excel Q&A |
| 3 | EXCEL_QUESTIONNAIRE | Excel Questionnaire |
| 4 | SUPPORT_BOX_EML | SupportBox EML |
ENUM sort_order
| Value | Name | Description |
| 0 | ASC | ASC |
| 1 | DESC | DESC |
ENUM import_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | EMAIL | Email |
| 2 | DATA_DUMP | Data dump |