The consumer requires to generate an API Key to access RESTful Web Service (authenticated by an API Key) for the Provider. Following table lists the reference values a consumer will use while generating an API Key.
Web Service Provider Activity ID as a query parameter value. This query parameter value is important; as it is used for token authentication when consumer hits the actual endpoint created with Web Service Provider activity.
Perform the following steps to get providerId.
Login to Adeptia Connect.
Go to Configure >Web Services > REST Provider.
Select the provider activity and click View to open the View Page from more menu.
Locate the Entity Id from the view page and use it as a providerId.
Request Payload Data
For payload data, the parameters should be same as the key parameters defined while creating the security policy. Perform the following steps to get the parameters:
Login to Adeptia Connect.
Go to Configure > Web Services > Security Policy.
Click the Security Policy activity used for the Provider.
Expand Authentication Properties.
Select Authentication check box and then select API Key as a value in Authentication Type drop-down list box.
Use these key parameters as a form data or as a request body in JSON format as shown below.