Wiki

Scale Your Enterprise

User Tools

Site Tools


bw2:sending_data_to_the_service_layer

This is an old revision of the document!


Working with the Service Layer

Transactions sent to the Service Layer for SAP Business One use a JSON data structure. The structures must be structured specifically as the Service Layer expects them to be. The DataBuilder tool is used to create these structures. Information on the DataBuilder tool is found here Introduction to DataBuilder.

In addition, some values must be sent as enumerators. These are specific values that represent other values in the SAP Business One database. A listing of common enumerators is found here SAP Business One Enumerators.

Samples of the JSON structures for key SAP Business One objects can be found in the links below. Data is sent to the Service Layer for SAP Business One using a web service call. This call sends the data to the Service Layer API in a JSON data structure.

JSON Samples

These samples are provided as a way to help understand the structure of the various SAP Business One objects. They are correct at the time they were created but you should always verify them with your version of SAP Business One.

To find further information, open a web browser and enter https:<YourServer>.<YourCompany>.com:50000/vs/b1 this will open the API reference for Service Layer. === Sales Order === Sales Order for Service Layer === Sales Delivery === Sales Delivery for Service Layer === Sales Invoice === Sales Invoice for Service Layer === Business Partner === Business Partner for Service Layer === Purchase Order === Purchase Order for Service Layer

bw2/sending_data_to_the_service_layer.1608053724.txt.gz · Last modified: 2020/12/15 12:35 by akoehler