Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Xavier
Product and Topic Expert
Product and Topic Expert
1,404
Let’s see how to interact with the different APIs of SAP Cloud ALM in the SAP API HUB.

 

Get the URL Tokens


As already seen in the previous blog, service instances are created in SAP BTP to alloow external applications to consume services from SAP Cloud ALM.

Service instances are created from customer’s sub-accounts in the SAP BTP cockpit with the following information:

  • Service name,

  • Service plan,

  • Authorisations (list of scopes).


The corresponding service keys generate OAuth 2.0 credentials for consumers of the services Instances.

The Service keys contains 3 parts:

  • clientID: public identifier for the service instances

  • clientSecret:  known only to the BTP service broker and the authorisation server.

  • tokenURL: give users access permission for SAP Cloud ALM


 

Create the API environment


From the SAP API HUB navigate to a SAP Cloud ALM API (for example: Project API).


 

 

Click on the “configure” button to add your own environment.


 

Enter the following information:

  • Display Name (ex: SAP Cloud ALM my Dev Tenant)

  • Tenant

  • Region

  • Client ID

  • Secret

  • Identity Zone


 


Save the API environment.

 

Try out the API environment


The new API environment can be used from the SAP API HUB with the “try out” functionality.


 

 

In the next blog, we will discuss how to work the SAP Cloud ALM Analytics API REST endpoints.

Thanks for reading.

 

 

 
3 Comments