Adding packages
Package by Package
One or several packages can be added quickly to an exisiting shipment via processShipment using e.g. the shipment number as reference.
The transactionId and/or the referenceNumber1 can be used as alternative or additional references.
Note: The referenceNumber1 does not have to be unique. Consequently, the transactionId or the shipmentNumber should be used to reference a shipment to ensure that the correct shipment is addressed.
These possible refrences are combined in the shipmentReference (DTO). Again, it is possible to use all of them or only one and leave the other outs:
<shipmentReference>
<transactionId>?</transactionId>
<referenceNumber1>?</referenceNumber1>
<shipmentNumber>?</shipmentNumber>
</shipmentReference>
A package is described within the tag. It has its own references and attributes.
<packages>
<packageTypeIdentCode>?</packageTypeIdentCode>
<packageSpecificeContents>?</packageSpecificeContents>
<packageNumber>?</packageNumber>
<packageTransactionId>?</packageTransactionId>
<referenceNumber1>?</referenceNumber1>
<referenceNumber2>?</referenceNumber2>
<grossWeight>
<value>?</value>
<unit>?</unit>
</grossWeight>
<dimensions>
<length>?</length>
<width>?</width>
<height>?</height>
<identCode>?</identCode>
</dimensions>
...
</packages>
Additonally, it can include packed items or references on items. However, qualified packing is only required for hazardous good shipping.
<packages>
...
<alternativeVolume>
<value>?</value>
<unit>?</unit>
</alternativeVolume>
<codValue>
<value>?</value>
<currencyIso>?</currencyIso>
</codValue>
<additionalValues>
<fields>
<name>?</name>
<type>?</type>
<value>?</value>
</fields>
</additionalValues>
<containedItems>
<shipmentReference>
<transactionId>?</transactionId>
<referenceNumber1>?</referenceNumber1>
<shipmentNumber>?</shipmentNumber>
</shipmentReference>
<itemTransactionId>?</itemTransactionId>
<referenceNumber1>?</referenceNumber1>
<quantityValue>?</quantityValue>
</containedItems>
<hazardousGoodsData>
<hazardousGoodsType>?</hazardousGoodsType>
</hazardousGoodsData>
...
</packages>
Updated about 1 year ago