Pickup at PostNL Location Belgium example

Information

Pickup at PostNL Location Belgium shipments require some specific fields to be used:

  • address of receiver: Shipment/Address/AddressType 01
  • delivery address of partner pickup location: Shipment/Address/AddressType 09
  • downstream network partner (Use the data from the Location API response;  attribute RetailNetworkID)
  • downstream network partner pickup location ID (Use the data from the Location API response; attribute LocationCode)
  • product code: see Products

Example

   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:lab="http://postnl.nl/cif/services/LabellingWebService/" 
xmlns:tpp="http://postnl.nl/cif/domain/LabellingWebService/">
       <soapenv:Body>
             <lab:GenerateLabel>
      <tpp:Customer>
        <tpp:Address>
          <tpp:AddressType>02</tpp:AddressType>
          <tpp:City>Hoofddorp</tpp:City>
          <tpp:CompanyName>PostNL</tpp:CompanyName>
          <tpp:Countrycode>NL</tpp:Countrycode>
          <tpp:FirstName>Frank</tpp:FirstName>
          <tpp:HouseNr>42</tpp:HouseNr>
          <tpp:HouseNrExt>A</tpp:HouseNrExt>
          <tpp:Name>Peeters</tpp:Name>
          <tpp:Street>Siriusdreef</tpp:Street>
          <tpp:Zipcode>2132WT</tpp:Zipcode>
        </tpp:Address>
        <tpp:CollectionLocation>123456</tpp:CollectionLocation>
        <tpp:CustomerCode>DEVC</tpp:CustomerCode>
        <tpp:CustomerNumber>11223344</tpp:CustomerNumber>
      </tpp:Customer>
      <tpp:Message>
        <tpp:MessageID>1</tpp:MessageID>
        <tpp:MessageTimeStamp>29-06-2016 12:00:00</tpp:MessageTimeStamp>
         <tpp:Printertype>GraphicFile|PDF</tpp:Printertype>
      </tpp:Message>
      <tpp:Shipments>       
        <tpp:Shipment>
          <tpp:Addresses>
            <tpp:Address>
              <tpp:AddressType>01</tpp:AddressType>
              <tpp:City>Antwerpen</tpp:City>
              <tpp:CompanyName>PostNL</tpp:CompanyName>
              <tpp:Countrycode>BE</tpp:Countrycode>
              <tpp:FirstName>Andre</tpp:FirstName>
              <tpp:HouseNr>4</tpp:HouseNr>
              <tpp:Name>Vermeulen</tpp:Name>
              <tpp:Street>Koningin Astridplein</tpp:Street>
              <tpp:Zipcode>2018</tpp:Zipcode>
            </tpp:Address>
            <tpp:Address>
              <tpp:AddressType>09</tpp:AddressType>
              <tpp:City>Antwerpen</tpp:City>
              <tpp:CompanyName>Patteet Sonia</tpp:CompanyName>
              <tpp:Countrycode>BE</tpp:Countrycode>
              <tpp:HouseNr>15</tpp:HouseNr>
              <tpp:Street>Klapdorp</tpp:Street>
              <tpp:Zipcode>2000</tpp:Zipcode>
            </tpp:Address>
          </tpp:Addresses>
          <tpp:Barcode>3SDEVC000013543</tpp:Barcode>
          <tpp:Contacts>
            <tpp:Contact>
              <tpp:ContactType>01</tpp:ContactType>
              <tpp:Email>receiver@postnl.nl</tpp:Email>
              <tpp:SMSNr>0612345678</tpp:SMSNr>
            </tpp:Contact>
          </tpp:Contacts>
          <tpp:DeliveryAddress>09</tpp:DeliveryAddress>
          <tpp:Dimension>
            <tpp:Weight>100</tpp:Weight>
          </tpp:Dimension>
          <tpp:DownPartnerID>LD-01</tpp:DownPartnerID>
          <tpp:DownPartnerLocation>BE0Q82</tpp:DownPartnerLocation>
          <tpp:ProductCodeDelivery>4932</tpp:ProductCodeDelivery>
        </tpp:Shipment>
      </tpp:Shipments>
    </lab:GenerateLabel>
  </soapenv:Body>
</soapenv:Envelope>