Imports / Create
Creates new email import..
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/imports
Method: POST
Authorisation: Minimum role: ADMIN
Request Arguments
Request body example
Response object
Response status: 200 (OK)
Response type:
DTO_import
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
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 import_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | EMAIL | Email |
| 2 | DATA_DUMP | Data dump |