Skip to Content
Previous

Create an API Proxy

By Meredith Hassett

In this tutorial you will learn how to create an API Proxy. You will learn how SAP Cloud Platform, API Management can leverage the OData catalog service to retrieve relevant information from a SAP Gateway system and pre-populate required information for the API Proxy

You will learn

SAP Cloud Platform, API Management uses three main components to expose APIs.
- The API Provider is used to abstract the connection to the backend / target system
- The API Proxy is the actual API which contains the logic to connect to the target system. Here you can model the flow, add security policies, transform the incoming message or look for content injections
- The API Product which bundles one or more API Proxies before they are exposed in the API Developer portal so they can be consumed by a developer

Details

In this tutorial you will learn how to create an API Proxy based on the API Provider created in the previous step. You will learn how SAP Cloud Platform, API Management can leverage the OData catalog service to retrieve relevant information from a SAP Gateway system and pre-populate required information for the API Proxy


Step 1: Learn about creating an API proxy and the Policy Editor

Create an API proxy and take a look at the Policy Editor. You will start to look into the details of building an API Proxy that contains some real life functionality.

Does an API Proxy contain any functionality?
×
Step 2: Access the SAP API Management API Portal

Open the SAP API Management API Portal (you can get the URL from Enable the SAP Cloud Platform, API Management Service.

Access API Portal
Step 3: Quick start an API creation

From the Home screen under the Quick Actions tile, click on API. This will bring up the Create API wizard.

Click on API
Step 4: View and create APIs

To view your APIs that you have previously created, select from the Hamburger Menu in the upper left corner and click Develop.

Click on Develop

This will open the list of previously created APIs.

To create a new API from this page, click Create.

Click on Create
Step 5: Select API provider

From the drop-down select the SAPDeveloperSystemES4 API Provider created in the previous tutorial.

Select Provider System
Step 6: Discover the services

Click on Discover.

Click on Discover
Step 7: Select the services

Select the GWSAMPLE_BASIC services by using the search bar to search for sample.

You can use the Search to narrow down the list.

Select the GWSAMPLE_BASIC service

Click on OK.

The remaining fields from the API Proxy creation screen are populated. Click Create.

In the trial version, there is only 1 option for the Host Alias which is your default trial account. Leave this as is.

Click on Create
Step 8: Save and deploy your API

Click on Save and Deploy.

Click on Save and Deploy
Step 9: View APIs created

Click on the arrow next to Create API to go back to the overview page

Go back to Overview

A new API Proxy has been created

API Proxy has been created

Next Steps

Updated 09/13/2017

Time to Complete

15 Min.

Beginner

Prerequisites

Next
Back to top