After you create an API plug-in, you need to compile a corresponding TypeScript API client.
To compile a TypeScript API client
-
Open a command line interface (for example, Windows Powershell).
-
In the command line program, go to the One Identity Manager installation directory.
-
Run the ImxClient's start-update command (see start-update).
Example
imxclient start-update
-
Run the ImxClient's compile-api command (see compile-api).
Example
imxclient compile-api /copyapi imx-api-ccc.tgz /packagename imx-api-ccc
The dialog to select the database connection is opened.
-
In the dialog, perform one of the following actions:
-
to use an existing connection to the One Identity Manager database, select it in the Select a database connection menu.
- OR -
-
to create a new connection to the One Identity Manager database, click Add new connection and enter a new connection.
-
-
Select the authentication method and, under Authentication method, enter the login data for the database.
-
Click Log in.
-
Import the imx-api-ccc npm package into your TypeScript application.
TIP: (Optional) If you want to use another name for the imx-api-ccc packet, extend the remove-local-packages.js by adding a line for the packet in the list. This ensures that your package is not included in package locking and is always updated from the local source.
-
Copy the imx-api-ccc.tgz to the bin\imxweb subfolder of your IIS installation.
-
Import the TGZ file into your One Identity Manager database using the Software Loader and assign it to the Business API Server machine role. For more information on importing files using the Software Loader, see the One Identity Manager Operational Guide.
-
Restart the API Server and ensure that the imx-api-ccc.tgz file is in the bin\imxweb folder of your IIS installation.