Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • An order identifier, which can be the order number, tray number, or purchase order number

    • This order can be retrieved using 72544, 337178, or Example

    • Tray numbers can only be used to look up active orders

    • If lookup is done by po number then you must be using unique values in this field

  • An LPT port to print to. This refers to the LPT settings for workstation 00.

    • If not provided, this will be LPT1

Success

On a successful request the workticket for the order will be printed to the requested printer. An HTTP 201 code will be returned along with an informational message.

...

Code Block
languagejson
{
  "error": "Printing request rejected",
  "details": [
    "No printer defined for workstation 00"
  ]
}
  • If the requested order has been marked for cancellation an HTTP 200 error code will be returned with the standard error body.

    Code Block
    languagejson
    {
      "error": "Order marked for cancelation",
      "details": []
    }