5.获取订单详情接口
<h3>功能描述</h3>
<ul>
<li>查询订单全量信息,包含下单信息、状态信息、订单执行信息等,最多支持查20条。</li>
<li>注意:图片或视频信息不包含在该接口中,需要通过接口 批量获取订单图片/视频签名地址接口获取。</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;">支持(20)</td>
<td style="text-align: center;">接入/POST</td>
<td style="text-align: center;">/public/vpOrder/queryOrderDetail</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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">1</td>
<td style="text-align: center;">companyId</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">分配appId</td>
</tr>
<tr>
<td style="text-align: center;">2</td>
<td style="text-align: center;">merchantOrderNos</td>
<td style="text-align: center;">List<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>
</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>
</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;">状态码,返回成功或失败信息(ok/fail)</td>
</tr>
<tr>
<td style="text-align: center;">3</td>
<td style="text-align: center;">result</td>
<td style="text-align: center;">List</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">数据</td>
</tr>
<tr>
<td style="text-align: center;">-orderType</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">订单类型</td>
</tr>
<tr>
<td style="text-align: center;">-monthlyCardNo</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">月结卡号</td>
</tr>
<tr>
<td style="text-align: center;">-assignerCode</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">接单人工号</td>
</tr>
<tr>
<td style="text-align: center;">-orderBizState</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">下单完成子状态</td>
</tr>
<tr>
<td style="text-align: center;">-supportValue</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">保价金额</td>
</tr>
<tr>
<td style="text-align: center;">-orderState</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">下单完成状态</td>
</tr>
<tr>
<td style="text-align: center;">-ordertime</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">下单时间</td>
</tr>
<tr>
<td style="text-align: center;">-payMethod</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">付款方式</td>
</tr>
<tr>
<td style="text-align: center;">-destcode</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">目的地区域代码</td>
</tr>
<tr>
<td style="text-align: center;">-assignerMobile</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">接单人手机号</td>
</tr>
<tr>
<td style="text-align: center;">-merchantCode</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">商户编码</td>
</tr>
<tr>
<td style="text-align: center;">-orderNo</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">微派订单号</td>
</tr>
<tr>
<td style="text-align: center;">-payLoad</td>
<td style="text-align: center;">json</td>
<td style="text-align: center;">扩展字段,根据业务的配置响应,按照和微派约定字段取值</td>
</tr>
<tr>
<td style="text-align: center;">--expectEndTime</td>
<td style="text-align: center;">String(20)</td>
<td style="text-align: center;">预计任务结束时间</td>
</tr>
<tr>
<td style="text-align: center;">--expectStartTime</td>
<td style="text-align: center;">String(20)</td>
<td style="text-align: center;">预计任开始时间</td>
</tr>
<tr>
<td style="text-align: center;">--cityCode</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">城市编码</td>
</tr>
<tr>
<td style="text-align: center;">--processAuditFieldCodes</td>
<td style="text-align: center;">json</td>
<td style="text-align: center;">【产品配置】需审核取证项编码</td>
</tr>
<tr>
<td style="text-align: center;">-dCompany</td>
<td style="text-align: center;">String(255)</td>
<td style="text-align: center;">收件公司</td>
</tr>
<tr>
<td style="text-align: center;">-dContact</td>
<td style="text-align: center;">String(255)</td>
<td style="text-align: center;">收件人</td>
</tr>
<tr>
<td style="text-align: center;">-dTel</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">收件电话</td>
</tr>
<tr>
<td style="text-align: center;">-dMobile</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">收件手机</td>
</tr>
<tr>
<td style="text-align: center;">-dAddress</td>
<td style="text-align: center;">String(1024)</td>
<td style="text-align: center;">收件详细地址</td>
</tr>
<tr>
<td style="text-align: center;">-jCompany</td>
<td style="text-align: center;">String(255)</td>
<td style="text-align: center;">寄件公司</td>
</tr>
<tr>
<td style="text-align: center;">-jContact</td>
<td style="text-align: center;">String(255)</td>
<td style="text-align: center;">寄件人</td>
</tr>
<tr>
<td style="text-align: center;">-jTel</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">寄件电话</td>
</tr>
<tr>
<td style="text-align: center;">-jAddresse</td>
<td style="text-align: center;">String(1024)</td>
<td style="text-align: center;">寄件详细地址</td>
</tr>
<tr>
<td style="text-align: center;">-depositumInfo</td>
<td style="text-align: center;">String(255)</td>
<td style="text-align: center;">托寄物内容</td>
</tr>
<tr>
<td style="text-align: center;">-depositumNo</td>
<td style="text-align: center;">String(100)</td>
<td style="text-align: center;">托寄物数量</td>
</tr>
<tr>
<td style="text-align: center;">-parcelWeighs</td>
<td style="text-align: center;">String(8)</td>
<td style="text-align: center;">包裹重量(kg)</td>
</tr>
<tr>
<td style="text-align: center;">-status</td>
<td style="text-align: center;">String(100)</td>
<td style="text-align: center;">微派订单服务状态(详见附录)</td>
</tr>
<tr>
<td style="text-align: center;">-productExtraField</td>
<td style="text-align: center;">json</td>
<td style="text-align: center;">扩展字段,客户自定义字段展示</td>
</tr>
<tr>
<td style="text-align: center;">--verifyCode</td>
<td style="text-align: center;">String(100)</td>
<td style="text-align: center;">核销码</td>
</tr>
<tr>
<td style="text-align: center;">-sendStatus</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">物流状态</td>
</tr>
<tr>
<td style="text-align: center;">-mailNo</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">运单号</td>
</tr>
<tr>
<td style="text-align: center;">-printMsg</td>
<td style="text-align: center;">json</td>
<td style="text-align: center;">面单打印信息</td>
</tr>
<tr>
<td style="text-align: center;">-productCode</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">产品编码</td>
</tr>
</tbody>
</table>
<h3>报文范例</h3>
<ul>
<li>
<p><strong>请求报文</strong></p>
<pre><code>{
&quot;companyId&quot;:xxx,
&quot;merchantOrderNos&quot;: [
&quot;9413a33bc6dd4759beece59e7d9f6b40&quot;
]
}</code></pre>
</li>
<li><strong>响应报文</strong>
<ul>
<li>成功报文
<pre><code>{
&quot;result&quot;: [
{
&quot;orderType&quot;: &quot;仅服务&quot;,
&quot;monthlyCardNo&quot;: &quot;9999999999&quot;,
&quot;assignerCode&quot;: &quot;&quot;,
&quot;orderBizState&quot;: &quot;丰先生下单处理成功&quot;,
&quot;orderState&quot;: &quot;下单成功&quot;,
&quot;modifyTime&quot;: 1713492759000,
&quot;orderTime&quot;: &quot;2024-04-19 10:12:39&quot;,
&quot;price&quot;: &quot;&quot;,
&quot;id&quot;: 1649836,
&quot;isNeedAudit&quot;: 0,
&quot;assignerMobile&quot;: &quot;&quot;,
&quot;merchantCode&quot;: &quot;B2021060004-0001&quot;,
&quot;batchNo&quot;: null,
&quot;orderNo&quot;: &quot;WPU24041918912222&quot;,
&quot;payLoad&quot;: {
&quot;processAuditFieldCodes&quot;: [
&quot;takePhotoList_ext1&quot;
],
&quot;verifyCode&quot;: {
&quot;code&quot;: &quot;verifyCode&quot;,
&quot;type&quot;: &quot;SCAN_VERIFY&quot;,
&quot;verifyCodes&quot;: [
&quot;202404031111&quot;
]
},
&quot;contactInfo_name&quot;: &quot;测试单&quot;,
&quot;expectEndTime&quot;: &quot;2024-05-04 10:12:39&quot;,
&quot;expectStartTime&quot;: &quot;2024-04-19 10:12:39&quot;,
&quot;cityCode&quot;: &quot;755&quot;,
&quot;serviceAddress&quot;: {
&quot;address_county&quot;: &quot;南山区&quot;,
&quot;address_detail&quot;: &quot;粤海街道海阔天空雅居B栋16B&quot;,
&quot;address_province&quot;: &quot;广东省&quot;,
&quot;address_all&quot;: &quot;广东省深圳市南山区粤海街道海阔天空雅居B栋16B&quot;,
&quot;address_city&quot;: &quot;深圳市&quot;
},
&quot;settlementColour&quot;: false,
&quot;sgsTaskBindFlag&quot;: true,
&quot;swsChannel&quot;: true,
&quot;takePhotoItems&quot;: [
{
&quot;code&quot;: &quot;takePhotoList_ext1&quot;,
&quot;name&quot;: &quot;体现重量及全部二维码&quot;
}
],
&quot;contactInfo_phone&quot;: &quot;18732193913&quot;,
&quot;sgsTaskType&quot;: &quot;P00&quot;,
&quot;shivaOmsSendFlag&quot;: true,
&quot;irAuditFlag&quot;: &quot;NOY_HAVE&quot;,
&quot;contactInfo_mobile&quot;: &quot;18732193913&quot;,
&quot;isWesign&quot;: false,
&quot;exceptionAuditFieldCodes&quot;: [
&quot;exceptionSubmitLabel&quot;
],
&quot;verifyCode1&quot;: {
&quot;code&quot;: &quot;verifyCode1&quot;,
&quot;type&quot;: &quot;SCAN_VERIFY&quot;,
&quot;verifyCodes&quot;: [
&quot;32.28&quot;
]
},
&quot;orderScene&quot;: &quot;8&quot;
},
&quot;jAddress&quot;: null,
&quot;exceptionCheckCount&quot;: &quot;1&quot;,
&quot;completeTime&quot;: null,
&quot;exportCount&quot;: &quot;0&quot;,
&quot;dCompany&quot;: null,
&quot;merchantOrderNo&quot;: &quot;kdgjtest1713492757&quot;,
&quot;raexMonthlyCardNo&quot;: null,
&quot;packagesNo&quot;: 1,
&quot;sequence&quot;: 1,
&quot;creatorUser&quot;: &quot;13988776633&quot;,
&quot;dAddress&quot;: &quot;南山区粤海街道海阔天空雅居B栋16B&quot;,
&quot;orderCheckCount&quot;: &quot;1&quot;,
&quot;dMobile&quot;: &quot;18732193913&quot;,
&quot;isSelfGet&quot;: null,
&quot;dTel&quot;: &quot;18732193913&quot;,
&quot;verifyCode1&quot;: null,
&quot;modifierUser&quot;: &quot;mq消息修改数据&quot;,
&quot;status&quot;: &quot;待接单&quot;,
&quot;statusCode&quot;: &quot;0&quot;,
&quot;assignDeptName&quot;: &quot;&quot;,
&quot;rewardAmt&quot;: 0.0,
&quot;remark&quot;: &quot;测试单&quot;,
&quot;raexTel&quot;: null,
&quot;mailNo&quot;: &quot;SF1030412238580&quot;,
&quot;printCount&quot;: 0,
&quot;productExtraField&quot;: &quot;{\&quot;businessFrom\&quot;:\&quot;快递+快递管家\&quot;,\&quot;orderScene\&quot;:8,\&quot;settlementColour\&quot;:false,\&quot;settlementChannel\&quot;:\&quot;sws\&quot;}&quot;,
&quot;assignDeptCode&quot;: &quot;&quot;,
&quot;messageVersion&quot;: 1,
&quot;jTel&quot;: null,
&quot;assignerName&quot;: &quot;&quot;,
&quot;verifyCode&quot;: null,
&quot;isPunchIn&quot;: 0,
&quot;fxOrderNo&quot;: &quot;FX24041918912237&quot;,
&quot;isPrint&quot;: &quot;0&quot;,
&quot;printMsg&quot;: {
&quot;modifyTm&quot;: null,
&quot;proCode&quot;: &quot;&quot;,
&quot;orderId&quot;: &quot;&quot;,
&quot;codingMapping&quot;: &quot;&quot;,
&quot;errMsg&quot;: &quot;&quot;,
&quot;destRouteLabel&quot;: &quot;&quot;,
&quot;limitTypeCode&quot;: &quot;&quot;,
&quot;sourceCityCode&quot;: &quot;&quot;,
&quot;destPortCode&quot;: &quot;&quot;,
&quot;destCityCode&quot;: &quot;&quot;,
&quot;newIcon&quot;: &quot;&quot;,
&quot;mailNo&quot;: &quot;&quot;,
&quot;destTeamCode&quot;: &quot;&quot;,
&quot;modifyTime&quot;: null,
&quot;createTm&quot;: null,
&quot;goodsNumber&quot;: &quot;&quot;,
&quot;codingMappingOut&quot;: &quot;&quot;,
&quot;printIcon&quot;: &quot;&quot;,
&quot;id&quot;: 0,
&quot;proName&quot;: &quot;&quot;,
&quot;sourceTeamCode&quot;: &quot;&quot;,
&quot;destDeptCodeMapping&quot;: &quot;&quot;,
&quot;twoDimensionCode&quot;: &quot;&quot;,
&quot;abFlag&quot;: &quot;&quot;,
&quot;printFlag&quot;: &quot;&quot;,
&quot;currencySymbol&quot;: &quot;&quot;,
&quot;goodsValueTotal&quot;: &quot;&quot;,
&quot;sourceDeptCode&quot;: &quot;&quot;,
&quot;cargoTypeCode&quot;: &quot;&quot;,
&quot;destCountry&quot;: &quot;&quot;,
&quot;destDeptCode&quot;: &quot;&quot;,
&quot;createTime&quot;: null,
&quot;creatorUser&quot;: &quot;&quot;,
&quot;sourceTransferCode&quot;: &quot;&quot;,
&quot;destTransferCode&quot;: &quot;&quot;,
&quot;destTeamCodeMapping&quot;: &quot;&quot;,
&quot;expressTypeCode&quot;: &quot;&quot;,
&quot;xbFlag&quot;: &quot;&quot;,
&quot;destPostCode&quot;: &quot;&quot;,
&quot;modifierUser&quot;: &quot;&quot;
},
&quot;raexMobile&quot;: null,
&quot;productCode&quot;: &quot;pre-pickup-01763&quot;,
&quot;createTime&quot;: 1713492758000,
&quot;dContact&quot;: &quot;测试单&quot;,
&quot;sendStatus&quot;: &quot;4&quot;,
&quot;raexAddress&quot;: null,
&quot;orderTip&quot;: null
}
],
&quot;succ&quot;: &quot;ok&quot;,
&quot;msg&quot;: null,
&quot;extendResult&quot;: null
}</code></pre></li>
<li>失败报文-范例1
<pre><code>{
&quot;msg&quot;:&quot;订单不存在&quot;,
&quot;result&quot;: null,
&quot;succ&quot;: &quot;fail&quot;
}</code></pre></li>
<li>失败报文-范例2
<pre><code>{
&quot;msg&quot;:&quot;微派订单信息不存在&quot;,
&quot;result&quot;: null,
&quot;succ&quot;: &quot;fail&quot;
}</code></pre></li>
</ul></li>
</ul>