AMT Help Files

Adding Provided REST API Applications

Creating an Application Pool for the Provided REST API in IIS

Before adding the application, create a separate application pool for each provided REST API.

To add a new application pool in IIS Manager, right-click Application Pools in the pane on the right side and select Add Application Pool....

Add Application Pool option in IIS Manager

For more information, see the Adding REST API Application Pools page.

Adding an application in IIS

In IIS Manager, add an application for each provided REST API in your environment. To do so, expand your main website (in this example, "Default AMT Web Site"), then right-click AMT and select Add application.

Default AMT Web Site in IIS Manager Add application action under AMT in IIS Manager

Set the alias name that identifies the API and set the application pool to the corresponding AMT application pool created in the previous section for the API.

Set the path to the API directory inside the Common\RestApiProvider folder of the generated AMT application. For example:

Setting Value
Alias: CM_REST
Application pool: AMT_CM_REST
Physical path: C:\AMT\Apps\CUSTOMER_MANAGEMENT\Binaries\Common\RestApiProvider\PRA_CUSTOMER
Adding a REST API application

Configuring Authentication in IIS

After adding the REST API application, authentication must be configured for the provided REST API in IIS.

Select the newly created application in IIS Manager, open Authentication (found in the middle pane), and configure it as follows:

Authentication settings for the REST API application in IIS

For OIDC authentication, set only Anonymous Authentication to Enabled and set all other authentication methods to Disabled.

Contents