GetLabels Method
Used to download the labels used in the DHL24 courier ordering process. The following labels can be downloaded: consignment note label and BLP (in PDF and ZPL format).
If you use a laser printer – label generated in PDF file – BLP parameter If you use a Zebra thermal printer - label generated in zpl file – ZBLP or ZBLP300 parameter
Input Parameters
Field Name | Type | Required? | Description |
---|---|---|---|
authData | AuthData | Yes | Authorisation structure |
itemsToPrint | array | Yes | Array of ItemToPrint type structures (maximum of three structures) |
Output Parameters
Field Name | Type | Required? | Description |
---|---|---|---|
itemsToPrintResponse | array | Yes | Array of ItemToPrintResponse type structures |
Examples of Calls
<getLabels> <authData> <username>testan</username> <password>testington</password> </authData> <itemsToPrint> <item> <labelType>BLP</labelType> <shipmentId>11122221111</shipmentId> </item> <item> <labelType>ZBLP</labelType> <shipmentId>11122221111</shipmentId> </item> <item> <labelType>ZBLP300</labelType> <shipmentId>11122221111</shipmentId> </item> <item> <labelType>CN</labelType> <shipmentId>11122223333</shipmentId> </item> </itemsToPrint> </getLabels>