[SAP CPI] – HOW TO INSTALL INTEGRATION SUITE – API MANAGEMENT – API PORTAL

Hi guys, in this article I want to share step by step How to subscription Integration Suite, API Management, API Portal after create sub account in SAP BTP.

Step 1 Check service assignments
  • Go to trial account
  • Go to Service Assignments
  • Search : Integration Suite

Because we use trial account, so we just get one Quota Assignment for this.

Check API Portal, API Management, API Business Hub Enterprise with the same way

Step 2 Subscriptions Integration Suite Application
  • Go to Instances and Subscriptions
  • Tab subscriptions
  • Click button Create
  • After done, we have screen shoot
  • Go to application
  • Because user have no ROLE collection Integration_Provisioner so we receive above issue
  • Add role for user

NOTE : Clear cookie, cache on browser before go to application

Step 3 Add Capabilities
  • Click button Add Capabilities to install Integration flow, API management, API…

NOTE : Remember check Enable API Business Hub Enterprise.

Take a cup coffee and wait 🙂

After done, we can see that

Go every tab, we can take endpoint of service. Example

… and this is overview of this step

But when we can not go service because we have no authorization.

Next, we create Role Collection, add Role for integration suite and after that, add Role Collection to user

Step 4 : Add Role collection for user
  • Go to sub account
  • Go to User
  • Add Role Collection. Kindly reference this table
Integration_Provisioner
PI_Administrator

PI_Business_Expert
PI_Integration_Developer

APIManagement.SelfService.Administrator
APIPortal.Administrator
APIPortal.Guest
APIPortal.Service.CatalogIntegration

AuthGroup.API.Admin
AuthGroup.API.ApplicationDeveloper

AuthGroup.APIPortalRegistration

AuthGroup.Content.Admin
AuthGroup.ContentAuthor

AuthGroup.SelfService.Admin

AuthGroup.Site.Admin

For research and learn more, so I add all role collection above. In fact, we should be choose roles which we need.

NOTE : Clear browser cache, cookie and login again.

This is result,

Exploring API Portal, API Business Hub of Integration Suite Application

To use APIs of API Portal and API Business Hub, we need access token to connect these APIs. If have no access token, when we call API(s) on POSTMAN we will receive response body as.

1. Exploring APIs of API Portal

Step 1 : Create service key for API Portal
  • Go to sub account
  • Go to Instances And Services
  • Choose tab services
  • Click Create button

After done, we have result

  • Click on this instances, create new service key

After done, we have information of token

URLHost of API portal
Client IDUse for get access token
Client secretUse for get access token
Token URLUse for get access token
Step 2 : Exploring APIs of API Portal by POSTMAN
  • View metadata : URL + /apiportal/api/1.0/Management.svc/$metadata
  • Create new API Provider : URL + /apiportal/api/1.0/Management.svc/APIProviders
{
  "description": "ES5_2",
  "destType": "INTERNET",
  "host": "sapes5.sapdevcenter.com",
  "name": "ES5_2",
  "trustAll": true,
  "title": "ES5",
  "authType": "BASIC",
  "port": 443,
  "pathPrefix": "/sap/opu/odata",
  "useSSL": true,
  "isOnPremise": false,
  "cloudConnectorLocation": "null",
  "url": "/iwfnd/catalogservice/ServiceCollection",
  "userName": "User",
  "password": "PASSWORD"
}

Check on GUI

  • Delete API Provider : URL + /apiportal/api/1.0/Management.svc/APIProviders(‘ES5_1’)

2. Exploring APIs of API Business Hub

Step 1 : Create service key for API Business Hub
  • Go to Instances and Services
  • Click button Create
  • Click this instance and create service key for API Management Business Hub
Step 2 : Exploring APIs of API Management Business Hub by POSTMAN
  • View metadata : URL + /odata/1.0/data.svc/$metadata

Summary

In this article, I shared step by step exploring APIs of API Portal, API Business Management. Instead use GUI, we can use call APIs by POSTMAN. In this article, I also talk about service key of instance API Portal, API Business Hub and how to create access token from POSTMAN. Thanks for your reading and any question, kindly leave your comment on below.

For more detail APIs of API portal, API Business Hub, you can reference this blog

Thanks.

Joseph.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.