Not logged in - Login
View History

example_small_predict_cod_soap

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://dpd.com/common/service/types/Authentication/2.0" xmlns:ns1="http://dpd.com/common/service/types/ShipmentService/3.1">
    <soapenv:Header>
       <ns:authentication>
          <delisId>yourDelisID</delisId>
          <authToken>yourAuthenticationToken</authToken>
          <messageLanguage>en_US</messageLanguage>
       </ns:authentication>
    </soapenv:Header>
    <soapenv:Body>
       <ns1:storeOrders>
          <ns1:printOptions>
             <printerLanguage>PDF</printerLanguage>
             <paperFormat>A6</paperFormat>
          </ns1:printOptions>
          <!--1 to 30 repetitions:-->
          <ns1:order>
             <generalShipmentData>
                <!-- This depot is used to calculate the O-Sort, it should be the first depot a parcels passes -->
                <sendingDepot>0530</sendingDepot>
                <product>CL</product>
                <sender>
                   <name1>ACME</name1>
                   <street>Egide Walschaertsstraat</street>
                   <houseNo>20</houseNo>
                   <country>BE</country>
                   <zipCode>2800</zipCode>
                   <city>Mechelen</city>
                </sender>
                <recipient>
                   <name1>Wiley Coyote</name1>
                   <street>Zandstraat</street>
                   <houseNo>300</houseNo>
                   <country>BE</country>
                   <zipCode>1000</zipCode>
                   <city>Brussel</city>
                </recipient>
             </generalShipmentData>
             <!--Zero or more repetitions:-->
             <parcels>
                    <customerReferenceNumber1>ORD0001015</customerReferenceNumber1>
                <!-- Weight belowe 3Kg(in decigrams)-->
                <weight>169</weight>
                <cod>
                  <amount>125</amount>
                  <currency>EUR</currency>
                  <inkasso>0</inkasso>
               </cod>
             </parcels>
             <productAndServiceData>
                <orderType>consignment</orderType>
                <predict>
                   <!--1 ==> email-->
                   <!--3 ==> SMS (0032487529631)-->
                   <channel>1</channel>
                   <value>WileyCoyote@gmail.com</value>
                   <!--Optional:-->
                   <language>EN</language>
                </predict>
             </productAndServiceData>
          </ns1:order>
       </ns1:storeOrders>
    </soapenv:Body>
 </soapenv:Envelope>

=SMS=

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://dpd.com/common/service/types/Authentication/2.0" xmlns:ns1="http://dpd.com/common/service/types/ShipmentService/3.1">
    <soapenv:Header>
       <ns:authentication>
          <delisId>yourDelisID</delisId>
          <authToken>yourAuthenticationToken</authToken>
          <messageLanguage>en_US</messageLanguage>
       </ns:authentication>
    </soapenv:Header>
    <soapenv:Body>
       <ns1:storeOrders>
          <ns1:printOptions>
             <printerLanguage>PDF</printerLanguage>
             <paperFormat>A6</paperFormat>
          </ns1:printOptions>
          <!--1 to 30 repetitions:-->
          <ns1:order>
             <generalShipmentData>
                <!-- This depot is used to calculate the O-Sort, it should be the first depot a parcels passes -->
                <sendingDepot>0530</sendingDepot>
                <product>CL</product>
                <sender>
                   <name1>ACME</name1>
                   <street>Egide Walschaertsstraat</street>
                   <houseNo>20</houseNo>
                   <country>BE</country>
                   <zipCode>2800</zipCode>
                   <city>Mechelen</city>
                </sender>
                <recipient>
                   <name1>Wiley Coyote</name1>
                   <street>Zandstraat</street>
                   <houseNo>300</houseNo>
                   <country>BE</country>
                   <zipCode>1000</zipCode>
                   <city>Brussel</city>
                </recipient>
             </generalShipmentData>
             <!--Zero or more repetitions:-->
             <parcels>
                    <customerReferenceNumber1>ORD0001015</customerReferenceNumber1>
                <!-- Weight below 3Kg (in decigrams)-->
                <weight>185</weight>
                <cod>
                  <amount>125</amount>
                  <currency>EUR</currency>
                  <inkasso>0</inkasso>
               </cod>
             </parcels>
             <productAndServiceData>
                <orderType>consignment</orderType>
                <predict>
                   <!--1 ==> email-->
                   <!--3 ==> SMS (0032487529631)-->
                   <channel>3</channel>
                   <value>0032487529631</value>
                   <!--Optional:-->
                   <language>EN</language>
                </predict>
             </productAndServiceData>
          </ns1:order>
       </ns1:storeOrders>
    </soapenv:Body>
 </soapenv:Envelope>