PieceStructure

This structure is an object used to transmit shipment data.

Structure Fields

Field Name Type Required? Description
type string(60) Yes Parcel type: ENVELOPE, PACKAGE
width int No (Yes for the PACKAGE type) Width in cm
height int No (Yes for the PACKAGE type) Height in cm
lenght int No (Yes for the PACKAGE type) Length in cm
weight int No (Yes for the PACKAGE type) Weight in kg
quantity int Yes Quantity of parcels
nonStandard boolean No Non-standard parcel: true / false
blpPieceId string No Parcel number

Example:

<pieceList>
    <item>
        <type>PACKAGE</type>
        <width>120</width>
        <height>20</height>
        <lenght>20</lenght>
        <weight>15</weight>
        <quantity>1</quantity>
        <nonStandard>false</nonStandard>
        <blpPieceId>12312</blpPieceId>
    </item>
    <item>
        <type>ENVELOPE</type>
        <quantity>10</quantity>
    </item>
</pieceList>
Return to subject list