Wiki

Scale Your Enterprise

User Tools

Site Tools

mbstring extension must be loaded in order to run mPDF

bw:sbo_sl_v24

This is an old revision of the document!


SAP Business One Service Layer using Bizweaver v2.4

Accessing SAP Business One using the Service Layer is a two-step process. The first step (Login) responds with two cookies. These cookies are then used in any subsequent web service calls in the current processing cycle. In Bizweaver v2.4, the configuration of the web service steps is quite manual.

Get Cookies

Variables

Variables

Request

Login Request

  • Sample URI (copy & paste)
WorkFlow(Variables).Get(BaseURI)/Login
  • Sample Login Body Code (copy & paste)
{
"CompanyDB":"WorkFlow(Variables).Get(DBName)",
"UserName":"WorkFlow(Variables).Get(UserName)",
"Password":"WorkFlow(Variables).Get(UserPassword)"
}

Response (Cookies)

Login Response

Use Cookies

Request

Request Content

  • Sample Cookies Code (copy & paste)
B1SESSION:WorkFlow(WebServiceClient_callLogin).Get(B1SESSION)
ROUTEID:WorkFlow(WebServiceClient_callLogin).Get(ROUTEID)

Sample of Response Content

Content Response

Sending Data to the Service Layer

Information on sending data through the Service Layer is found here.

bw/sbo_sl_v24.1587586638.txt.gz · Last modified: 2020/04/22 16:17 by runger