POST

This send a Print request to the common service.

This command don't print the document directly. Beas Common Service must be active.

 

WEB Service

if StationId, LocationId, ProgramId, AppId or PersnnellId not defined, the system will use the current information (example from current web session

If AppId is defined, the system take the print information defined in app settings and overwrite all own definitions.

 

Note: if you want to print from backend, then don't use this PrintService, because this is only a service to send the command over CommonService

 

// Print document over BeasCommon Service
post PrintService
{
"Title" : "Workorder",
 "PrintType" : "Crystal",
 "ReportName":"workorder.rpt",

 "AppId":"", // overwrite app id
 "Parameter":{"Auftrags-Nr:":6002142,"belpos_id_von":10,"belpos_id_bis":10 } 
}
// Get current Status
get PrintRequest?$select=PrintRequest,Title&$filter=SessionId eq CurrentSessoinId

 

beasscript-logo-small

Note:  The system use BeasCommon system. The Server, on which BeasCommon service is running,  will print the document, not the client

instance bsl b
b.post=PrintService={&
"Title":"WorkOrder",&
"PrintType":"Crystal",&
"ReportName":"workorder.rpt",&
"Parameter":{"Auftrags-Nr:":6002142,"belpos_id_von":10,"belpos_id_bis":10 } 

}

 

hmtoggle_plus1Additional Properties of Parameter "Property"