Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fun With SAP BTP Cloud Management Service and Core Services APIs

SAP via YouTube

Overview

Explore the inner workings of SAP BTP Cloud Management Service and Core Services APIs in this comprehensive video tutorial. Dive deep into btp CLI calls, learn about OAuth 2.0 password grant flow, and create custom scripts for API interactions. Discover how to use tools like curl, jq, and fx to manipulate JSON data, and compare API outputs with btp CLI results. Gain hands-on experience in creating service instances, generating service keys, and making authenticated API calls. Perfect for developers looking to enhance their understanding of SAP BTP's underlying mechanisms and API interactions.

Syllabus

Welcome & introduction
Taking a quick look at the Core Service APIs on SAP API Business Hub
Focusing in on the "Regions for Global Account" API endpoint
Looking at how my btplogin script works, making use of the 'pass' command
Examining what "btp list accounts/available-region" gives us
Skimming the access token documentation URL above
Finding what our CF API endpoint is, via the btp CLI
Logging in with cf login
Creating an instance of the Cloud Management Service cis with the appropriate service plan central
Creating a service key for that instance
Storing the service key details cleaning the cruft away with sed and examining them
Looking at the OAuth 2.0 "password grant" which is used to protect the resources and how to request a token using that flow
Writing a 'gettoken' script to request an access token via the password grant flow
Calling 'gettoken' and examining the results
Writing a 'callapi' script to use the access token to call the Core Service API endpoint
Calling 'callapi' and receiving the data center data we've asked for
Comparing the JSON output from this API call with the JSON output of the btp CLI call and seeing that they are the same!

Taught by

SAP Developers

Reviews

Start your review of Fun With SAP BTP Cloud Management Service and Core Services APIs

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.