Print OBLPN Packing Slip

This API allows you to print packing slips for one or more OBLPNs to a specified printer from an external system (such as Material Handling Equipment (MHE.)

URLs

POST .../wms/lgfapi/v10/print/document/oblpn_packing_slip
GET.../wms/lgfapi/v10/print/document/oblpn_packing_slip/doc_designer_code=foo

Parameters

Category Name Type Required Comments
options doc_designer_code string C Document template to be printed.
options web_report_path string C This field is mandatory. the path for the web report template.
options web_report_format string C 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.

Example Request Body - Web Reports

{
    "parameters": {
        "facility_id__code": "LW_FAC",
        "company_id__code": "LW_COMP",
        "container_nbr__in" : "OBLW_LWCOMP123"

    },
    "options": {
        "web_report_path" : "ABC/OBLPNPackingList",
        "web_report_format" : "pdf",
        "printer_name": "ABCDOC",
        "document_count": 1
    }
}
Note: Web Reports will only work for PDF format.

Example Request Body - Label Designer

{
    "parameters": {
        "facility_id__code": "LW_FAC",
        "company_id__code": "LW_COMP",
        "container_nbr": "OBLPN11212402"
    },
    "options": {
        "doc_designer_code": "Packing_Slip_180_DPI_TOP_LW_COMP",
         "printer_name": "ABCDOC",
        "document_count": 1
    }
}