28 apr

REST API


E-invoicing in Germany: How to implement the obligation with SAP Business One

One REST API (Representational State Transfer) is an interface style where system resources are accessed via HTTPS URLs and using the standard methods GET, POST, PATCH and DELETE read or modified. The exchange usually takes place as JSON, states are not held on the server, and each request contains all the information it needs to be processed.

Context

In the SAP Business One environment, the most important REST API is the Service Layer v2 under /b1s/v2/. It represents the business objects — items, Business Partners, Orders, Invoices, ProductionOrders — are provided as OData-v4 endpoints and responds in JSON. Typical tasks include connecting web shops, synchronisation with third-party systems, Python/Node.js microservices, and building B2B portals. From a developer's perspective, the authentication session-based via the login endpoint with set B1 SESSIONCookie; Requests are paginated to 20 records by default and must be over @odata.nextLink to be forwarded. In addition to the Service Layer, many Versino extensions such as DMS access or the Versino Financial Suite offer their own small REST endpoints for specific use cases.

Demarcation

A REST API differs from the older SOAP-Approach of the DI server with lower overhead, leaner payloads and no use of WSDL contracts. Compared to the UI API is it exclusively data and process-oriented — it does not influence the SAP interface. In the B1 context, REST does not automatically mean „Service Layer": B1if scenarios can also publish REST endpoints, and webshop connectors often offer their own REST routes above the Service Layer.


AI in the company

Why companies are hesitant about AI in ERP

Artificial intelligence in the ERP context raises high expectations, as significant productivity gains, far-reaching automation and more informed decisions are on the cards. Nevertheless ...
Predictive maintenance

Predictive maintenance: how to turn SMEs into smart factories

In today's intelligent world, the ability to solve problems before they even arise is no longer a futuristic scenario, but ...
RPA

RPA in the ERP environment: increasing efficiency through digital process assistants

Many ERP systems run processes on a daily basis that are necessary but do not add value. Employees spend valuable time processing orders ...
Generative AI in ERP

Generative AI in ERP: How LLMs are changing the role of ERP systems

With the advent of generative AI and large language models (LLMs), the role of ERP systems is changing fundamentally. Instead of ...
ERP FUTURE

Preparing the ERP future with APIs and microservices

Many medium-sized companies are still working with ERP monoliths that have grown over the years. The modules of these systems are closely ...
DATA-QUALITY

Data quality & AI : AI can only be as good as your data

Companies today are investing heavily in AI technologies, intelligent automation and modern ERP architectures. Despite this, many modernisation projects fail in the early stages because ...
Wird geladen …