SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Set Up Postman to Call Data Attribute Recommendation APIs

Import Postman environment and collection JSON sample code files to call the Data Attribute Recommendation APIs.

Overview

🎓 beginner 5 min. Machine LearningBeginnerArtificial IntelligenceCloudSAP Business Technology PlatformSAP Ai ServicesData Attribute Recommendation

You will learn

  • โœ”What Postman environments and collections are and how to use them
  • โœ”How to adjust the Postman environment for your service instance
  • โœ”How to import Postman environments and collections
Juliana Morais J Juliana Morais December 11, 2023
Created by November 13, 2019
Contributors

Prerequisites

Steps

Intro

In the following tutorials Postman is used to communicate and interact with your Data Attribute Recommendation service instance. Postman is an API client you use to call APIs. For more information, see Postman.


Step 1 Add service key credentials to Postman environment
โ€”

Postman offers the option to add environments. Environments represent key-value pairs which can be reused in requests, so you don’t have to remember them. For more information, see Postman Environments.

If you have downloaded the Postman environment and collection sample files from the Set up account for Data Attribute Recommendation booster, as detailed in Use Free Tier to Set Up Account for Data Attribute Recommendation and Download Postman Sample Files or Use Trial to Set Up Account for Data Attribute Recommendation and Download Postman Sample Files, you can set this step to Done and proceed with Step 2.

Follow the steps below if you want to manually add, to the environment sample file, your service key details created in Use Free Tier to Set Up Account for Data Attribute Recommendation and Get Service Key or Use Trial to Set Up Account for Data Attribute Recommendation and Get Service Key.

Use the environment sample file for Data Attribute Recommendation available on GitHub and make a local copy.

Insert the following values from your service key into the corresponding spaces of the environment sample file:

Service key propertyProperty in sample file
url (inside the uaa section of the service key)authentication_endpoint
clientid (inside the uaa section of the service key)clientid
clientsecret (inside the uaa section of the service key)clientsecret
url (outside the uaa section of the service key)hostname

Service Key
Service Key

Postman Key
Postman Key

Now the Postman environment is ready to be used.

Step 2 Import the Postman environment
+
Step 3 Import the Postman collection
+
Step 4 Select the environment
+
Step 5 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Add service key credentials to Postman environment 2. Import the Postman environment 3. Import the Postman collection 4. Select the environment 5. Test yourself

Learn more →