顺丰校园管家


学校配送时间查询

<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;">/public/schoolPub/schoolDeliveryTime</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;">0</td> <td style="text-align: center;">schoolAppId</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;">schoolId</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">学校ID</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;">msg</td> <td style="text-align: center;">String (200)</td> <td style="text-align: center;">否</td> <td style="text-align: center;">信息</td> <td style="text-align: left;">提示信息</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">succ</td> <td style="text-align: center;">String (10)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">状态码</td> <td style="text-align: left;">返回成功或失败信息(ok/fail)</td> </tr> <tr> <td style="text-align: center;">3</td> <td style="text-align: center;">Object</td> <td style="text-align: center;">SchoolDeliveryTime (/)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">数据</td> <td style="text-align: left;">数据,可能为空</td> </tr> </tbody> </table> <h4>响应 Object</h4> <h5>SchoolDeliveryTime</h5> <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;">schoolId</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">学校ID</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">schoolName</td> <td style="text-align: center;">String(32)</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;">times</td> <td style="text-align: center;">List&lt;TimeSegement&gt; (/)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">数据</td> <td style="text-align: left;">数据,可能为空</td> </tr> </tbody> </table> <h4>响应result&lt;List&gt;</h4> <h5>TimeSegement</h5> <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;">start</td> <td style="text-align: center;">String (12)</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;">end</td> <td style="text-align: center;">String(12)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">结束时间</td> </tr> </tbody> </table> <h3>报文范例</h3> <ul> <li> <p><strong>请求报文</strong></p> <pre><code>{     &amp;quot;schoolAppId&amp;quot;: &amp;quot;a&amp;quot;,     &amp;quot;schoolId&amp;quot;: 884328609426243584, }</code></pre> </li> <li><strong>响应报文</strong> <ul> <li>成功报文 <pre><code>{ &amp;quot;result&amp;quot;: { &amp;quot;schoolId&amp;quot;: 884328609426243584, &amp;quot;schoolName&amp;quot;: &amp;quot;测试学校&amp;quot;, &amp;quot;times&amp;quot;: [ { &amp;quot;end&amp;quot;: &amp;quot;09:00:00&amp;quot;, &amp;quot;start&amp;quot;: &amp;quot;08:00:00&amp;quot; } ,{ &amp;quot;end&amp;quot;: &amp;quot;11:00:00&amp;quot;, &amp;quot;start&amp;quot;: &amp;quot;10:00:00&amp;quot; } ] }, &amp;quot;succ&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;msg&amp;quot;: null, &amp;quot;extendResult&amp;quot;: null }</code></pre></li> <li>失败报文-范例1 <pre><code>{ &amp;quot;result&amp;quot;: null, &amp;quot;succ&amp;quot;: &amp;quot;fail&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;未接收到请求数据&amp;quot; }</code></pre></li> </ul></li> </ul>

页面列表

ITEM_HTML