on 2023 Jun 20 1:49 PM
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?
Request clarification before answering.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.