LES-OPENAPI

联晟开放接口平台


Create shipment failure notification

<p>[TOC]</p> <h5>DESCRIBE</h5> <ul> <li>3PL Callback notification interface after failed shipment generation</li> </ul> <h5>Targeting Users</h5> <ul> <li>3PL logistics provider serving LES</li> </ul> <h5>Request URL</h5> <ul> <li>` <a href="http://xx.com/api/logistics/callback">http://xx.com/api/logistics/callback</a></li> </ul> <h5>Request Method</h5> <ul> <li>POST </li> </ul> <h5>Request Parameters</h5> <table> <thead> <tr> <th style="text-align: left;">Parameter</th> <th style="text-align: left;">TYPE</th> <th style="text-align: left;">Mandatory</th> <th>DESCRIBE</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">accountNumber</td> <td style="text-align: left;">string</td> <td style="text-align: left;">true</td> <td>&lt;font color=&quot;red&quot;&gt;3PL AccountNumber&lt;/font&gt;</td> </tr> <tr> <td style="text-align: left;">lesBookingId</td> <td style="text-align: left;">string</td> <td style="text-align: left;">true</td> <td>&lt;font color=&quot;red&quot;&gt;LES BookingId&lt;/font&gt;</td> </tr> <tr> <td style="text-align: left;">failReason</td> <td style="text-align: left;">string</td> <td style="text-align: left;">true</td> <td>&lt;font color=&quot;red&quot;&gt;failReason&lt;/font&gt;</td> </tr> </tbody> </table> <h4>Request EXAMPLE</h4> <pre><code> { &amp;quot;accountNumber&amp;quot;: &amp;quot;3000372&amp;quot;, &amp;quot;lesBookingId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;failReason&amp;quot;: &amp;quot;Cargo Ready Date Is Not Null&amp;quot; } </code></pre> <h5>RETURN Parameter Description</h5> <table> <thead> <tr> <th style="text-align: left;">Parameter</th> <th style="text-align: left;">TYPE</th> <th>Remark</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>Success Flag,1:success;-1:fail</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">string</td> <td>Prompt Information</td> </tr> </tbody> </table> <h4>RETURN EXAMPLE</h4> <pre><code>{ &amp;quot;code&amp;quot;: 1, &amp;quot;message&amp;quot;: &amp;quot;sucess&amp;quot; } { &amp;quot;code&amp;quot;: -1, &amp;quot;message&amp;quot;: &amp;quot;lesBookingId not found&amp;quot; } </code></pre> <h5>Remarks</h5> <ul> <li>FOR more error codes, please refer TO the error CODE description ON the homepage</li> </ul>

页面列表

ITEM_HTML