POST

With POST command you can insert new entries, example create time receipt, sales order or many other transactions or you can do a login

in BSL the POST support additional parameters

 

Example: Postman - create a login

1. Choose "POST" as command

2. In Body you must insert the JSON string

bsl-post-login

 

Supported Parameter in Post

You can define additional parameter in the URL String.

Follow Parameter allowed

Parameter

Description

ProgramId='x'

Name/Id of the ProgramId

Make only sense, if you want to work with parameter, which defined in a WEB Program or if you need the Print solution

AppId='x'

Name/Id of App

Make only sense, if you want to work with parameter, which defined in a WEB Program or if you need the Print solution

async=true

Use asynchronous mode. More see asynch property

 

POST and Asynchronous mode

Beas WEB Server is a single process. Transactions in SAP B1 take time. While the transaction is running, the WEB Server can't work on other requests.

Idea: The Beas WEB Server return only a request id and send the POST command to the Beas common service. This don't take time and the Beas WEB Service can answer next requests. The WEB client can use the RequestAnswerService to ask, if the transaction is executed and can delete the request with DEL RequestAnswerService. More see asynch property