Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is the link from where you can get idea regarding DHL tracking using DHL API</p> <p><a href="http://xmlpitest-ea.dhl.com/serviceval/jsps/main/Main_menu.jsp" rel="nofollow">http://xmlpitest-ea.dhl.com/serviceval/jsps/main/Main_menu.jsp</a></p> <pre><code>&lt;?php $data = '&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;req:KnownTrackingRequest xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com TrackingRequestKnown.xsd"&gt; &lt;Request&gt; &lt;ServiceHeader&gt; &lt;MessageTime&gt;'.date('c').'&lt;/MessageTime&gt; &lt;MessageReference&gt;1234567890123456789012345678&lt;/MessageReference&gt; &lt;SiteID&gt;YOUR_SITE_ID&lt;/SiteID&gt; &lt;Password&gt;YOUR_PASSWORD&lt;/Password&gt; &lt;/ServiceHeader&gt; &lt;/Request&gt; &lt;LanguageCode&gt;en&lt;/LanguageCode&gt; &lt;AWBNumber&gt;7070000000&lt;/AWBNumber&gt; &lt;LevelOfDetails&gt;ALL_CHECK_POINTS&lt;/LevelOfDetails&gt; &lt;/req:KnownTrackingRequest&gt;'; $tuCurl = curl_init(); curl_setopt($tuCurl, CURLOPT_URL, "https://xmlpitest-ea.dhl.com/XMLShippingServlet"); curl_setopt($tuCurl, CURLOPT_PORT , 443); curl_setopt($tuCurl, CURLOPT_VERBOSE, 0); curl_setopt($tuCurl, CURLOPT_HEADER, 0); curl_setopt($tuCurl, CURLOPT_POST, 1); curl_setopt($tuCurl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($tuCurl, CURLOPT_POSTFIELDS, $data); curl_setopt($tuCurl, CURLOPT_HTTPHEADER, array("Content-Type: text/xml","SOAPAction: \"/soap/action/query\"", "Content-length: ".strlen($data))); $tuData = curl_exec($tuCurl); curl_close($tuCurl); $simple = $tuData; $xml = simplexml_load_string($tuData); print"&lt;pre&gt;"; print_r($xml); ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload