DeepImport
This method can be used to import a complete application structure all at once; that is, the application entity together with all its sub entities and its deployment model.
Deep Import validates the input parameters and gets the ZIP file of a previously performed deep export. It extracts and saves its content into a temporary folder.Note: The files are processed and imported one by one in the sequence listed in the meta file Export.xml. See: DeepExport.
See also:
- Import - of a single entity
- DeepImport - for the equivalent CLI command
- DeepExport - for the export of a complete application structure at once and the ZIP archive structure
Request
DeepImport
Parameters
The method has the following parameters for the request:
- username (String): Name of the user (syntax: system name / client number / user name / department)
Note: When only one client is installed, the system name is optional.
-
password : Password of the user specified in username
Type: string
-
mainType: must be
Application
Type: string
-
failOnError:Flag indicating whether the processing of the command shall continue or abort in an error:If ‑failonerror option is set to true, the processing of the command will stop if an error occursIf ‑failonerror option is set to false (default value), the processing will continue even if there is an error
Mandatory: No
Type: boolean
-
data (Base64 encoded ZIP file): ZIP file of a previously generated export in base64 encoded format
Type: string
Response
The result object containing a token. You can use the token to retrieve the current state of the export process using the Import/Export Web Service request GetStatus