Early Morning Pick up Point shipment (Labelling) example

Information

Early Morning Pick up Point shipments require some specific fields to be used:

  • address of receiver: Shipment/Address/AddressType 01
  • delivery address of retail location: Shipment/Address/AddressType 09
  • contact details for sending out a notification by email and/or SMS
  • product code: see Products

Request

  <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>Utrecht</tpp:City>
              <tpp:CompanyName>PostNL</tpp:CompanyName>
              <tpp:Countrycode>NL</tpp:Countrycode>
              <tpp:FirstName>Peter</tpp:FirstName>
              <tpp:HouseNr>137</tpp:HouseNr>
              <tpp:HouseNrExt/>
              <tpp:Name>de Ruiter</tpp:Name>
              <tpp:Street>Oldenburgerstraat</tpp:Street>
              <tpp:Zipcode>3573SJ</tpp:Zipcode>
            </tpp:Address>
            <tpp:Address>
              <tpp:AddressType>09</tpp:AddressType>
              <tpp:City>Utrecht</tpp:City>
              <tpp:CompanyName>PostNL</tpp:CompanyName>
              <tpp:Countrycode>NL</tpp:Countrycode>
              <tpp:HouseNr>9</tpp:HouseNr>
              <tpp:HouseNrExt/>
              <tpp:Street>Bilderdijkstraat</tpp:Street>
              <tpp:Zipcode>3532VA</tpp:Zipcode>
            </tpp:Address>
          </tpp:Addresses>
          <tpp:Barcode>3SDEVC6659149</tpp:Barcode>
          <tpp:Contacts>
            <tpp:Contact>
              <tpp:ContactType>01</tpp:ContactType>
              <tpp:Email>receiver@gmail.com</tpp:Email>
              <tpp:SMSNr>0612345678</tpp:SMSNr>
            </tpp:Contact>
          </tpp:Contacts>
          <tpp:Dimension>
            <tpp:Weight>4300</tpp:Weight>
          </tpp:Dimension>
          <tpp:ProductCodeDelivery>3543</tpp:ProductCodeDelivery>
          <tpp:ProductOptions>
            <tpp:ProductOption>
              <tpp:Characteristic>118</tpp:Characteristic>
              <tpp:Option>002</tpp:Option>
            </tpp:ProductOption>
          </tpp:ProductOptions>
        </tpp:Shipment>
      </tpp:Shipments>
      </lab:GenerateLabel>
  </soapenv:Body>
</soapenv:Envelope>