Spend Management Blogs by SAP
Stay current on SAP Ariba for direct and indirect spend, SAP Fieldglass for workforce management, and SAP Concur for travel and expense with blog posts by SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 
DevPalanimuthu
Product and Topic Expert
Product and Topic Expert

SAP Ariba REST API Try Out feature provides a (static) sandbox environment where developers can experiment with various API endpoints and methods without impacting production system or disrupting ongoing processes. It offers a safe and controlled space to familiarize oneself with the SAP Ariba Open API, its documentation, and different use cases.

To test this feature, go to https://api.sap.com/package/SAPAribaOpenAPIs/rest and select the API that you would like to test. Below example shows Try Out feature for Analytical Reporting-Job Results API. 

Picture1.png

By accessing the Try Out feature, users can gain hands-on experience with the API, experiencing its real-time behavior and responses. This interactive environment allows developers to identify the data and actions they can retrieve or perform using the API. It serves as a useful starting point for anyone looking to leverage the SAP Ariba REST API's capabilities in their own projects. Through the SAP Ariba REST API Try Out feature, users can explore different endpoints such as creating and managing purchase orders, retrieving supplier information, managing invoices, and much more. By making sample API calls and analyzing the responses, developers can understand the underlying data structures and integration workflows.

A crucial reminder regarding the use of the Sandbox environment -

  • The purpose of the Sandbox environment is specifically for testing the "Try Out" feature.
  • It has higher rate limits compared to the customer's Test/Prod environment, allowing users to test the feature without affecting other environments.
  • Sandbox environment responses may not be configured to match customer realms' specific variant, custom fields, and unique configuration, which can only be done in the customer's test or production environment.

Below screen print shows Try Out feature for Analytical Reporting – Job Results API Request call. By default, SAP Ariba uses sandbox to showcase request and response calls. You can simply click Run to see the results.

Picture2.png

Here is what response look like:

Response Header:

Picture3.png

Picture4.png

Furthermore, the Try Out feature provides sample codes and code snippets for each API endpoint, making it easier for developers to start their implementation. These code samples serve as references and can be customized to suit specific business requirements.

Picture5.png

Additionally, if you have your approved SAP Ariba REST API application, you can set up the environment with your own API credentials to try it out in real Test Or Production realm.

Picture6.png

Configure your new environment:

Picture8.png

Once you configure your environment, you get results from your Test or Production realm:

Picture9.png

Benefits of SAP Ariba REST API Try Out feature:

  • It allows developers to experiment with the API functionalities in a controlled environment. By accessing Ariba's sandbox environment, developers can test API calls, understand response formats, and explore the available endpoints before integrating Ariba with their own applications.
  • It includes comprehensive documentation, code samples, and tutorials to guide developers through the integration process. This helps developers understand the intricacies of the API, how to authenticate their applications, and how to make the most of the available features.
  • By using this feature, developers can gain a deeper understanding of how the Ariba API works and how they can leverage it to streamline their procurement processes. They can test various scenarios and evaluate the data returned by the API to ensure that it aligns with their business requirements.

    Conclusion: Overall, the SAP Ariba RET API Try Out feature empowers users to evaluate the capabilities of the API and determine its suitability for integration with their systems. It encourages experimentation and learning by providing a safe environment to test the API's functionality and explore its potential benefits.

    Happy learning!

     

1 Comment