In this lesson, we will cover the following topics:
- What are the possibilities for creating an API Proxy?
- Create an API Proxy using Create button.
- Create an API Proxy using Menu links.
What are the possibilities for creating an API Proxy?
Creating an API Proxy is important for further implementations.
Here are the options available for creating an API Proxy:
- Create an API Proxy using Create button with the following options:
- API provider (marked as 1 in the component diagram)
- URL (marked as 3 in the component diagram)
- API proxy
- Create an API Proxy using menu links with the following options:
- Create in API Designer (marked as 2 in the component diagram)
- Import an external API Proxy


Create an API Proxy Using Create Button
This is probably the most common case. With this option, you can create an API Proxy with an API provider, a provided URL, or an existing API Proxy.
Procedure
Start with Design→APIs to open the Develop screen.
Start the wizard by choosing the Create button. A new window opens.
Use the API Provider option.

Select the API Provider radio button and open the selected box. All API providers will be displayed. Choose one, for example, SAPGatewayDemoSystemES5_Provider.

When the API Provider is chosen, a new list box with the name Discover is available. Some data, such as the host and the type of API, has already been entered.
When the list box is chosen, all available services listed within the catalog service are displayed.
What exactly is displayed here depends on the type of API Provider. In the case of Open Connectors, for example, all instances are displayed. For the type Cloud Integration, the available integration flows are displayed.
The following figure shows a list of available services usable from the SAP backend system. The API provider is defined by choosing one service from the provided catalog of services.

You can choose exactly one of the offered services. After that, further data is added to the mask.

When you finish creating this API proxy, it has to be deployed so that it can be used. After that, the API proxy is ready for testing. The service type is automatically defined. In this case, it is OData.
Use the URL Option to Create an API Proxy
In case you do not use an API provider, you can directly specify the URL of your source.

In this case, you need to enter the data manually. The Service Type can only be REST or SOAP.

After saving and deploying the API Proxy, it can also be tested.
Use the API Proxy Option to Create an API
In this case, you can copy an existing API proxy.

In this case, you need to enter the data manually. The Service Type can only be REST or SOAP, even if the spied API proxy is from type OData.
Create an API Proxy Using Menu Links

Use the Create in API Designer Option
Start creating an API Proxy by choosing the menu link, Create in API Designer.

Switch to the openAPI editor. You can manually create your API Proxy in the editor through the openAPI language in YAML. In this case, all entries must be created manually. The server URL is automatically adjusted after saving. The Service Type can only be REST.
Before Saving

After Saving
Note
The shown URL is a sample and does not work.

Import an External API Proxy

Start the creation of an API proxy by choosing the menu link, Import API proxy.

The Service Type corresponds to the imported API proxy.
Resource
Help Portal: Create an API Proxy
Summary
There are several ways to create an API proxy. API proxies can be created:
- By using the Create button.
- Based on an existing API provider.
- Directly through the provided URL.
Finally, you can also define it with an openAPI specification via the Create button in API Designer.
