Print Pallet Label

GET.../wms/lgfapi/v10/print/label/pallet/?label_designer_code=foo

Returns the ZPL representation of the label

POST .../wms/lgfapi/v10/print/label/pallet

Submits the label for printing

The “parameters” section of the request body is required in addition to the “options” section outlined below. One or more parameters are used to determine the order(s) for which the operation will be applied.

Category Name Type Required GET Request POST Request Comments
options label_designer_code string X X X Label designer template to be printed
options printer_name string X Default's to cwuser.default_label_printer.
options label_count integer X Number of labels to print. Must be greater than 0. Default = 1.
API Filters
  • Functions like a bulk operation for identifying one or more IBLPN(s) to be printed:
    • id
      • Including "in" lookup
    • facility_id
    • company_id
    • container_nbr
      • Including "in" lookup

Example Query String for GET

GET.../wms/lgfapi/v10/print/label/pallet/?label_designer_code=foo&facility_id__code=FAC1&company_id_code=COM1&pallet_nbr=pallet1

Example Request Body for POST
{
"parameters": {
"facility_id__code": "FAC1",
"company_id__code": "COM1",
"pallet_nbr": "pallet1"
},
"options": {
"label_designer_code": "label_1",
"printer_name": "PRINTER1"
}
}

Response Body Data

On success, a 200 - OK status is returned

For a GET request, the ZPL data bill be base64 encoded in the "data" section.

{
"success_count": 1,
"failure_count":0,
"data": {
"OBLPN_1": "VGhpcyBpcyBaUEwgY29kZQ=="
}
}