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.

The following parameters are allowed:

Parameter

Description

ProgramId='x'

Name/ID of the ProgramID

Use this if you want to work with a parameter which was defined in a WEB Program or if you need the Print solution.

AppId='x'

Name/ID of App

Use this if you want to work with a parameter which was defined in a WEB Program or if you need the Print solution.

async=true

Use asynchronous mode. For more information 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 cannot work on other requests.

Concept: The Beas WEB Server returns only a request ID and sends the POST command to the Beas common service. This does not take time and the Beas WEB Service can answer subsequent requests. The WEB client can use the RequestAnswerService to ask if the transaction is executed and can delete the request with DEL RequestAnswerService. For more information see asynch property.