POST api/externalpicking/printcontainerlabel?wmsbatchid={wmsbatchid}
External picking application can print container labels Returns 200 OK on success, non-2xx response on failure.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| wmsbatchid |
Identifier of the WMS picking task resource which was completed. |
string |
Required |
Body Parameters
Object specifying information about the printing batch job
PrintContainersEventArgs| Name | Description | Type | Additional information |
|---|---|---|---|
| PrinterDeviceID |
DeviceID of the printer to which the job summary list or waybill or similar should be printed, or -1 to not print anything. Null, zero and negative values, except -1, are considered invalid. |
integer |
None. |
| PrinterLayout |
Layout for containers, if not provided the container default layout will be used |
string |
None. |
| NumberOfCopies |
number of copies to print |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrinterDeviceID": 1,
"PrinterLayout": "sample string 2",
"NumberOfCopies": 3
}
application/xml, text/xml
Sample:
<PrintContainersEventArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMS.WebApiService.DTOs"> <NumberOfCopies>3</NumberOfCopies> <PrinterDeviceID>1</PrinterDeviceID> <PrinterLayout>sample string 2</PrinterLayout> </PrintContainersEventArgs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PrintStatusJson| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
Return status |
string |
None. |
| wmsbatchid |
current batch id |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"wmsbatchid": "sample string 2"
}
application/xml, text/xml
Sample:
<PrintStatusJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMS.WebApiService.DTOs"> <Status>sample string 1</Status> <wmsbatchid>sample string 2</wmsbatchid> </PrintStatusJson>