顺丰校园管家


订单状态通知

<h3>功能描述</h3> <ul> <li>该接口用于接收校园管家订单状态。 <h3>接入前须知</h3></li> <li>请联系 王歆悦 进行校园验签key及默认操作人配置</li> </ul> <h3>接口定义</h3> <table> <thead> <tr> <th style="text-align: center;">服务名称</th> <th style="text-align: center;">批量交易</th> <th style="text-align: center;">接口类型</th> <th style="text-align: center;">接口uri</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">订单状态通知接口</td> <td style="text-align: center;">不支持</td> <td style="text-align: center;">接入/POST</td> <td style="text-align: center;">客户提供</td> </tr> </tbody> </table> <h3>请求 List&lt;PubSchoolOrderRes&gt;</h3> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型(约束)</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">默认值</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">waybillNo</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: center;">校园运单号</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">state</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: center;">状态 待接单 待取货 配送中 已配送 已完结 已取消</td> </tr> <tr> <td style="text-align: center;">3</td> <td style="text-align: center;">schoolId</td> <td style="text-align: center;">Long</td> <td style="text-align: center;">是</td> <td style="text-align: center;">学校管理数据id</td> </tr> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">externalOrderNo</td> <td style="text-align: center;">String</td> <td style="text-align: center;">否</td> <td style="text-align: center;">三方单号</td> </tr> </tbody> </table> <h3>响应</h3> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">字段说明</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">status</td> <td style="text-align: center;">String(50)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">OK 成功 其余失败</td> </tr> </tbody> </table> <h3>报文范例</h3> <ul> <li><strong>请求报文</strong> <pre><code></code></pre></li> </ul> <p>[{ &quot;waybillNo&quot;: &quot;XY978174845599457280&quot;, &quot;externalOrderNo&quot;:null, &quot;state&quot;: &quot;待取货&quot;, &quot;schoolId&quot;: 641103214845741534 },{ &quot;waybillNo&quot;: &quot;XY978174845599454184&quot;, &quot;externalOrderNo&quot;:null, &quot;state&quot;: &quot;配送中&quot;, &quot;schoolId&quot;: 641103214845741534 }]</p> <pre><code> - **响应报文** - 成功报文</code></pre> <p>{ &quot;result&quot;: [{ &quot;waybillNo&quot;: &quot;XY112233456677&quot;, &quot;state&quot;: &quot;已取消&quot; }, { &quot;waybillNo&quot;: &quot;XY11223998877&quot;, &quot;state&quot;: &quot;取消失败&quot; } ], &quot;succ&quot;: &quot;ok&quot;, &quot;msg&quot;: null }</p> <pre><code> - 失败报文-范例1</code></pre> <p>{ &quot;result&quot;: null, &quot;succ&quot;: &quot;fail&quot;, &quot;msg&quot;: &quot;所选订单不存在&quot; }</p> <pre><code> - 失败报文-范例2</code></pre> <p>{ &quot;msg&quot;:&quot;未校验到下单人数据&quot;, &quot;result&quot;: null, &quot;succ&quot;: &quot;fail&quot; }</p> <pre><code></code></pre>

页面列表

ITEM_HTML