Install / update interface

<< Click to display table of contents >>

Navigation:  »No topics above this level«

Install / update interface

1.Open the command line as administrator

2.To update an existing installation, proceed in the same way as for a new installation. Old files and files that are no longer needed are automatically deleted, and newer ones are updated.
Before updating, it's a good idea to back up the configuration file. This file can then be copied back again after installation.
The installation file is located here: c:\inetpub\TiCon4RestAPI\appsettings.json

3.Switch to the directory where the interface installation files were unpacked.

Warning:

DO NOT extract the installation files into the destination folder for the interface (e.g., c:\inetpub\TiCon4RestAPI)! We recommend: C:\Temp as a location for the installation files.

4.Execute the command "TiConWeb.CoreApi.deploy /Y"
rest_api_10

Please note:

If an error occurs during this step because the interface is already running, the website and the application pool in the IIS Manager should be ended or alternatively the w3wp.exe process of the TiCon4RestAPI user (or the user set in the application pool) should be ended.
rest_api_11

5.Database connection in the file c:\inetpub\TiCon4RestAPI\appsettings.json
rest_api_12
The database connection can be created from a config.xml (e.g. „c:\ProgramData\MTM\TiCon 4.10\Config.xml“) of a TiCon installation that is connected to the same database. In this case, it is recommended that you change the application name from TiCon4 to TiConREST-API.
If it is an update, the previously saved configuration file (see Step 2) can also simply be copied back.

6.Launch the interface:
rest_api_13

7.Test the interface, e.g. by opening https://{{yourhost}}/ (documentation) in the browser or https://{{yourhost}}/ticon-web/services/management/version
{{yourhost}} must be replaced by the Full Qualified Domain Name of the computer on which the REST-API is running.
rest_api_14