In this chapter you will publish the API you have created previously so it can easily be discovered, tested, and used by anyone.
In API Management, you can reuse artifacts. The same applies to API proxies: API proxies can be bundled in different API products to be published in different ways to developers (as freemium API, paid API, internal-only, …). This is what you will do next: create an API Product which will include your previously created API Proxy.
Navigate to the Engage section of Integration Suite using the left-hand menu.
You will see Products and Applications. Click on Create.
Enter the following information
Copy the the required text values below to complete the configuration:
Click on the APIs tab, On the right, over the table , click on Add.
Search for your API proxy _MSO_API and select it to add it to the API Product.
Click on Publish in the top right corner menu.
You will now act as consumer of the API proxy we have created and published.
Open the Developer Hub by clicking on the link on the top right menu.
You can search for your user () and verify that you now have access to the product _catalog by selecting it.
Select the APIs tab to view the APIs contained in this API product.
Select the Subscribe button and choose Create New Application.
Enter the following text values to complete the configuration:
As can be seen, you now have access to an Application Key, also known as API Key or Application Secret. This key can be used to access the REST API we have previously configured, which is “secured” by an API key.
Copy the value of the Application Key from the user interface and save it somewhere locally. This is the apikey which will be used later on.
Select API Reference and then choose Try out.
As a developer or integration expert, you may want to use this API in your project. This means that you will get an API key from the Developer Hub which your application will provide every time the API is called. This not only allows to do a first authorization check, it also allows API management to know exactly who has used which API in an application context.
Add Header
Copy the the required text values below to complete the configuration:
1{placeholder|auth_id}Add Query Parameter
Copy the the required text values below to complete the configuration:
A successful response should look as follows:
Now that you have finished the configuration of the API, let’s test it. To do so,
Launch the Sales and Maintenance Orders web application.
Congratulations! You have completed this SAP Basic Trial!