Print Pallet Packing Slip
The Pallet Packing Slip API allows you to print pallet packing slips. Note that this API will not do any template determination logic as seen in the UI. Doc designer code is required as part of the API parameters. Any determination would need to be done in the outside system.
This API supports the following HTTP methods:
- GET - Returns the ZPL representation of the document.
- HEAD - only supports checking if the object exists since lookup models don't have create_ts.
- POST - Submits the document for printing.
URLs
POST .../wms/lgfapi/v10/print/document/pallet_packing_slip
GET.../wms/lgfapi/v10/print/document/pallet_packing_slip/?doc_designer_code=foo
Parameters
Category | Name | Type | Required | POST Request | Comments |
---|---|---|---|---|---|
options | web_report_path | string | X | X | This field is mandatory. This is the path of the web report template. |
options | web_report_format | string | X | X | This field is mandatory. the file format of the report xls/csv/pdf |
options | printer_name | string | Defaults to cwuser.default_document_printer. | ||
options | document_count | integer | Number of documents to print. Must be greater than 0. Default = 1. |