Installation & Execution

There are different ways to install the Web API service. First, the service may be installed using the system:inmation Windows Installer (inmatonSetup.exe). The service may also be installed using command line arguments. Supported command line arguments are described in the following section.

Command line arguments

Action Options Description

help

Provides information about available actions and options.

-i

Install the inmation Web API as a service.

corehost

Specifies the Core’s host address, by default localhost

coreport

Specifies a particular setting for the Core Service Port, by default 6512.

instance

Optional, specifies the instance name for the inmation Web API.

profile

API User profile which is used in the communication with the Core.

pwd

API User password which is used in the communication with the Core.

-e

Executes the Web API as a console application.

auth

Contains the credentials for the inmation Web API account. (used when installed as a service.)

corehost

Specifies the Core’s host address, by default localhost

coreport

Specifies a particular setting for the Core Service Port, by default 6512.

oid

Specifies the inmation 'Web API Server' object ID to link to.

profile

API User profile which is used in the communication with the Core.

pwd

API User password which is used in the communication with the Core.

service

(Default: 0) Value 1 indicates the inmation Web API is started as a Windows Service.

-r

Removes the 'inmation Web API' Windows service.

instance

Optional, specifies the instance name of the Windows service to remove, by default "inmation Web API"

Command line options have the prefix '--'.

Example command to install the inmation Web API as a Windows service:

 inmationWebAPI.exe -i --corehost localhost --coreport 6512 --profile webapi --pwd password

After installation a Web API Server Object is automatically created in the inmation Server Model. Only the first Web API Server object in the Server Model will automatically be enabled after creation.