Command-Line Interface (CLI) for Import/Export
All import/export related functionality can be accessed with the command-line interface (ImportExportCLI.exe
) which can be found in your installation package (Automic\Release.Manager\Utilities\ImportExportCLI
).
Important! The program does not connect to the application database directly, but communicates with the import/export web service on the application server that can also be used directly by programs. The CLI is self-contained - no other files are required to run the CLI - and can be distributed via copy paste to all machines where the .Net Framework is available.
The Import/Export CLI works stateless. Therefore, you have to provide all parameters on each call. For more information about the syntax and the parameter, you can also use the Help command.
Legend:
- [...] indicates optional parameters
- The order in which you provide the parameters does not matter
All global parameters have to be provided on each call
Note: All calls have to be authorized. The operation can only be performed if the authenticated user is permitted for it.
Compulsory parameters are:
- -con: URL of the import/export service of the web application
Example:
https://www.mycompany.com/WebUI
- -usr: Name of the user (syntax: system name / client number / user name / department)
Note: When only one client is installed, the system name is optional.
-
-pwd: Password of the user specified in -usr or the token that is returned by the Java API
Return codes
Each call to the CLI returns with one of the following codes:
-
0
: The operation was completed successfully -
Any other: see Errors and Warnings.
Commands
- See: Reference