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 :
- Address: the endpoint address of the web service.
- UserName: the username to be used together with the password as credentials for authentication.
- Password: the password to be used together with the username as credentials for authentication.
- SendAuthorizationHeader: if this option is enabled, requests to the REST API will be authenticated using the credentials of the currently logged on user.
- ConcurrentCalls: the number for times requests to the REST API can be made concurrently.
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.