POST: work ticket printing (/orders/printWorkTicket)

Method takes two argument, the order number information is to be returned for, and the printer port in LPT format. The work ticket will print to the assigned windows printer port in the “00” workstation.

 

Example:

http://localhost:4567/api/orders/printWorkTicket host=localhost params={"Order, PO or tray number"=>"20000616", "Printer LPT#"=>"LPT3"}

 

Input - 2 parameters

  • number of order for which status is being requested - order number, tray number or order PO number will be accepted)

  • LPT printer assigned for the printing ie LPT1, LPT2, etc

 

returns

{ "order": "20000616", "message": "successful" }