cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between sandbox.api.sap.com and openapi.ariba.com?

fl4825386
Discoverer
0 Kudos
647

I have been testing one of the REST APIs via the URL used in the Try Out section https://api.sap.com/api/purchase_orders/tryout, specifically:


https://sandbox.api.sap.com/ariba/api/purchase-orders/v1/sandbox

How is this different from

https://openapi.ariba.com/ariba/api/purchase-orders/v1/sandbox

and

https://openapi.ariba.com/ariba/api/purchase-orders/v1/prod


Are there 3 different base URLs? A free sandbox and an application specific sandbox or something? Also, can someone create a different environment in addition to these 3 and generate a different URL? I assume the last part is environment?

Accepted Solutions (0)

Answers (2)

Answers (2)

melissametropol
Advisor
Advisor

Hi Erwin,

Simply put, the Sandbox environment is for testing. SAP Ariba REST APIs provide a sandbox environment which quickly allows you to try out the APIs to understand the response including the JSON structure.

For the actual test environment testing, you will need to create an application and request API Access for your test environment.

In the last link, PROD references the production environment and references the API versioning v1.

Useful links:

yoswisnu
Advisor
Advisor
0 Kudos

When comparing the two:

https://openapi.ariba.com/ariba/api/purchase-orders/v1/sandbox

and

https://openapi.ariba.com/ariba/api/purchase-orders/v1/prod


The sandbox URL will return mock data, the prod will return real data. When testing, our suggestion is to get/modify data from the test realm using the prod url. There is no /test url to denote test environment. The same prod url is used for API application tied to specific API on test realm.