cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume SAP API( BTP ) from SAP API HUB in WEBIDE

ramuknura1395
Explorer
0 Kudos
1,957

Hi All,

We have a requirement to read the BTP related API details from sap hub platform which has information about global, subaccount details and it's usage.
API link : https://api.sap.com/api/APIAccountsService/overview
https://api.sap.com/api/APIUasReportingService/overview

How to achieve this ?
Either by creating 2 destination in BTP as like the below blog ?
Consuming APIs from Web IDE via SAP API Management | SAP Blogs

But our requirement is not to create master-detail app.
We just have to read the live values from the REST API.

Through API Management service in BTP by accessing dev portal and api portal in it ?

If so how to create a link between REST API and webide ?

Is there any other way to read the REST API details from webide and what are the pre-requisites and steps to achieve it ?

Regards,

Arun Kumar

Accepted Solutions (1)

Accepted Solutions (1)

ramuknura1395
Explorer
0 Kudos

Hi All,

Just an update on this question. We are able to consume the resource consumption API in BAS in BTP Cloud Foundry environment as a multi-target application program and deployed in CF spaces.
By following through this blog end to end.

Calling a SAP Business Technology Platform REST API in a SAPUI5 application using the SAP Business A...

Thanks to anett-richel

Regards,

Arun. D

MMonis
Explorer
0 Kudos

Hi ramuknura1395

I am working on a similar app using CAP and connecting to the SAP BTP REST API services. Did you use a destination containing the details for authenticating against the API. If so can you provide some details on how you consumed the external API?

Regards,

Melwyn

Answers (0)