AMT Help Files

REST API Consumables

In this tab all the available REST API consumables in the AMT installation are shown. A filter can be applied to select one or more applications.

 

To add or update a REST API consumable, click the Read all Rest API webconsumable dlls from system button. The files associated with the webconsumables will then be read into the system database.

With View the contents of the REST API consumable configuration can be viewed and with Edit the contents can be changed by hand, for example to change the address of the web service or to configure and enable the sending of an authorization header.

If Edit is chosen the following edit window will open:

The following items can be changed :

 

Note: Filling in the UserName and password fields will set the 'Credentials' property of the .NET httpClientHandler object used by AMT to send requests to REST API web services.
Enabling the SendAuthorizationHeader will set the 'UseDefaultCredentials' property of the above mentioned httpClientHandler object to true.