This is an old revision of the document!
Accessing SAP Business One on HANA 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.
Variables
Request
WorkFlow(Variables).Get(BaseURI)/Login
{
"CompanyDB":"WorkFlow(Variables).Get(DBName)",
"UserName":"WorkFlow(Variables).Get(UserName)",
"Password":"WorkFlow(Variables).Get(UserPassword)"
}
Response (Cookies)
Request
B1SESSION:WorkFlow(WebServiceClient_callLogin).Get(B1SESSION) ROUTEID:WorkFlow(WebServiceClient_callLogin).Get(ROUTEID)
Sample of Response Content
Information on sending data through the Service Layer is found here.