获取订单详情
<h1>获取订单详情接口</h1>
<ul>
<li>请求接口: POST /getOrderInfo</li>
</ul>
<h1>请求参数</h1>
<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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">cNum</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;">icid</td>
<td style="text-align: center;">number</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">用户icid</td>
</tr>
<tr>
<td style="text-align: center;">timeStamp</td>
<td style="text-align: center;">number</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">13位时间戳</td>
</tr>
<tr>
<td style="text-align: center;">MD5</td>
<td style="text-align: center;">string</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">MD5</td>
</tr>
</tbody>
</table>
<p>*注释:MD5生成参考全局说明</p>
<h4>返回结果</h4>
<p>> 返回示例</p>
<p>> 200 Response</p>
<pre><code class="language-json">正确:
{
&quot;code&quot;: 2000,
&quot;data&quot;: {
&quot;baoguan&quot;: false,
&quot;cAddrFrom&quot;: &quot;CS&quot;,
&quot;cCNo&quot;: &quot;&quot;,
&quot;cDepart&quot;: &quot;SMQJ&quot;,
&quot;cDes&quot;: &quot;USXB&quot;,
&quot;cDesCN&quot;: &quot;美国西部&quot;,
&quot;cMark&quot;: &quot;&quot;,
&quot;cMess&quot;: &quot;&quot;,
&quot;cNo&quot;: &quot;COSXJ731069101-B&quot;,
&quot;cNum&quot;: &quot;COSXJ731069101-B&quot;,
&quot;cPacking&quot;: &quot;&quot;,
&quot;cRAddr&quot;: &quot;6835 West Buckeye Road&quot;,
&quot;cRCity&quot;: &quot;Phoenix&quot;,
&quot;cRCountry&quot;: &quot;USXB&quot;,
&quot;cREMail&quot;: &quot;&quot;,
&quot;cRHouseNumber&quot;: &quot;&quot;,
&quot;cRIDCard&quot;: &quot;&quot;,
&quot;cRNo&quot;: &quot;COSXJ731069101-B&quot;,
&quot;cRPhone&quot;: &quot;6262652412&quot;,
&quot;cRPostcode&quot;: &quot;123456&quot;,
&quot;cRProvince&quot;: &quot;AZ&quot;,
&quot;cRSms&quot;: &quot;&quot;,
&quot;cRTaxNoType&quot;: &quot;&quot;,
&quot;cRUnit&quot;: &quot;Amazon.com Services, Inc.&quot;,
&quot;cReceiver&quot;: &quot;PHX3&quot;,
&quot;cSAddr&quot;: &quot;&quot;,
&quot;cSCity&quot;: &quot;&quot;,
&quot;cSCountry&quot;: &quot;&quot;,
&quot;cSEMail&quot;: &quot;&quot;,
&quot;cSIDCard&quot;: &quot;&quot;,
&quot;cSPhone&quot;: &quot;&quot;,
&quot;cSPostcode&quot;: &quot;&quot;,
&quot;cSProvince&quot;: &quot;&quot;,
&quot;cSSms&quot;: &quot;&quot;,
&quot;cSTaxNoType&quot;: &quot;&quot;,
&quot;cSUnit&quot;: &quot;&quot;,
&quot;cSender&quot;: &quot;1&quot;,
&quot;charged&quot;: &quot;&quot;,
&quot;cnkd&quot;: &quot;&quot;,
&quot;cnnum&quot;: &quot;&quot;,
&quot;cosexGoodsList&quot;: [],
&quot;cosexItemList&quot;: [
{
&quot;upsNumber&quot;:&quot;COSXJ731069101-B&quot;,
&quot;fxWeight&quot;:&quot;12.121&quot;,
&quot;ixLong&quot;:&quot;12.121&quot;,
&quot;ixWidth&quot;:&quot;12.121&quot;,
&quot;ixHeight&quot;:&quot;12.121&quot;,
&quot;cosexFxWeight&quot;:&quot;12.121&quot;,
&quot;cosexIxLong&quot;:&quot;12.121&quot;,
&quot;cosexIxWidth&quot;:&quot;12.121&quot;,
&quot;cosexIxHeight&quot;:&quot;12.121&quot;
}
],
&quot;cremark&quot;: &quot;&quot;,
&quot;cunitName&quot;: &quot;&quot;,
&quot;emsKindUser&quot;: &quot;美国海派UPS-W&quot;,
&quot;fIValue&quot;: 0,
&quot;fbaid&quot;: &quot;COSXJ731069101-B&quot;,
&quot;fbapostcode&quot;: &quot;PHX3&quot;,
&quot;iItem&quot;: 1,
&quot;isfbacan&quot;: true,
&quot;magnetic&quot;: &quot;&quot;,
&quot;nItemType&quot;: 1,
&quot;net&quot;: &quot;海运加派送&quot;,
&quot;orderStatic&quot;: 101,
&quot;orderTime&quot;: &quot;1692775073442&quot;,
&quot;ordercosttype&quot;: 1,
&quot;ordertype&quot;: 2,
&quot;sfAmount&quot;: 0,
&quot;sfWeight&quot;: 1,
&quot;sfcubicValue&quot;: 1,
&quot;zssite&quot;: &quot;&quot;
},
&quot;msg&quot;: &quot;处理成功&quot;
}
错误:
{
&quot;code&quot;: 1000,
&quot;data&quot;: null,
&quot;msg&quot;: &quot;MD5校验失败!icID 错误,未提供或小于1&quot;
}</code></pre>
<h3>属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>integer(int32)</td>
<td>false</td>
<td>none</td>
<td></td>
<td>2000是正确返回 其他均为错误</td>
</tr>
<tr>
<td>data</td>
<td><a href="#schemaorderreturn">CosexIndexOrderMsg</a></td>
<td>false</td>
<td>none</td>
<td></td>
<td>返回参数</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>提示消息</td>
</tr>
</tbody>
</table>
<h3>CosexIndexOrderMsg属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>net</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>运输方式</td>
</tr>
<tr>
<td>cunitName</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>客户名称</td>
</tr>
<tr>
<td>cNum</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>内单号,记录在系统内部的运单号,唯一</td>
</tr>
<tr>
<td>cRNo</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>参考号</td>
</tr>
<tr>
<td>cNo</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>转单号</td>
</tr>
<tr>
<td>cCNo</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>报关号</td>
</tr>
<tr>
<td>nItemType</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>快件类型 0-文件 1-包裹 2-防水袋</td>
</tr>
<tr>
<td>emsKindUser</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>渠道</td>
</tr>
<tr>
<td>cAddrFrom</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>出发地</td>
</tr>
<tr>
<td>cDes</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>目的地 如:US</td>
</tr>
<tr>
<td>cDesCN</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>目的地中文</td>
</tr>
<tr>
<td>iItem</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>件数</td>
</tr>
<tr>
<td>sfAmount</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>实际费用 保留2位小数</td>
</tr>
<tr>
<td>cRHouseNumber</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>收件门牌号 1-63个字符</td>
</tr>
<tr>
<td>cREMail</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>收件电邮 0-63个字符</td>
</tr>
<tr>
<td>cRSms</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>收件短信 0-63个字符</td>
</tr>
<tr>
<td>cRAddr</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件地址 非空 1-254个字符</td>
</tr>
<tr>
<td>cRCity</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件城市 非空 1-126个字符</td>
</tr>
<tr>
<td>cRUnit</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>收件单位 1-254个字符</td>
</tr>
<tr>
<td>cRProvince</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件省州 非空 1-63个字符</td>
</tr>
<tr>
<td>cRCountry</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件国家 1-126个字符</td>
</tr>
<tr>
<td>cRPostcode</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件邮编 非空 1-15个字符</td>
</tr>
<tr>
<td>cRPhone</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件电话 1-63个字符</td>
</tr>
<tr>
<td>cReceiver</td>
<td>String</td>
<td>是</td>
<td>none</td>
<td></td>
<td>收件人 非空 1-63个字符</td>
</tr>
<tr>
<td>cSender</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件人 非空 1-30个字符</td>
</tr>
<tr>
<td>cSUnit</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件单位 非空 1-127个字符</td>
</tr>
<tr>
<td>cSAddr</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件详细地址 非空 1-127个字符</td>
</tr>
<tr>
<td>cSCity</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件城市 非空 1-63个字符</td>
</tr>
<tr>
<td>cSPostcode</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件邮编 非空 1-15个字符</td>
</tr>
<tr>
<td>cSProvince</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件省州 非空 1-30个字符</td>
</tr>
<tr>
<td>cSCountry</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件国家 1-63个字符</td>
</tr>
<tr>
<td>cSPhone</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件电话 非空 1-63个字符</td>
</tr>
<tr>
<td>cSEMail</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件电邮,0-63个字符</td>
</tr>
<tr>
<td>cSSms</td>
<td>String</td>
<td>否</td>
<td>none</td>
<td></td>
<td>发件短信,0-63个字符</td>
</tr>
<tr>
<td>cDepart</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>交货方式(快递:KD 上门取件:SMQJ 自送:ZS)</td>
</tr>
<tr>
<td>cnkd</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>快递方式</td>
</tr>
<tr>
<td>zssite</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>自送站点</td>
</tr>
<tr>
<td>cnnum</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>快递单号</td>
</tr>
<tr>
<td>cMark</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>标签</td>
</tr>
<tr>
<td>cPacking</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>包装 (木箱:"001" 纸箱:"002" 木架:"003" 托盘:"020" 金属箱:"021" 集装箱:"025" 其他:"99")</td>
</tr>
<tr>
<td>orderTime</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>业务时间(13位时间戳)</td>
</tr>
<tr>
<td>orderStatic</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>订单状态 (<em>见全局说明</em>)</td>
</tr>
<tr>
<td>fbaid</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>fba号码</td>
</tr>
<tr>
<td>fbapostcode</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>fba仓库代码</td>
</tr>
<tr>
<td>isfbacan</td>
<td>布尔值</td>
<td>false</td>
<td>none</td>
<td></td>
<td>是否fba</td>
</tr>
<tr>
<td>ordertype</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>订单类型 1快递 2FBA 3小包</td>
</tr>
<tr>
<td>baoguan</td>
<td>布尔值</td>
<td>false</td>
<td>none</td>
<td></td>
<td>是否报关</td>
</tr>
<tr>
<td>charged</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>是否带电 空代表不带电</td>
</tr>
<tr>
<td>magnetic</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>是否带磁 空代表不带磁</td>
</tr>
<tr>
<td>sfcubicValue</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>立方数</td>
</tr>
<tr>
<td>sfWeight</td>
<td>number</td>
<td>false</td>
<td>none</td>
<td></td>
<td>重量 保留3位小数</td>
</tr>
<tr>
<td>cremark</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>客户备注</td>
</tr>
<tr>
<td>cMess</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>信息</td>
</tr>
<tr>
<td>cosexItemList</td>
<td>List<CosexOrderGoodsItem></td>
<td>false</td>
<td>none</td>
<td></td>
<td>箱子信息</td>
</tr>
</tbody>
</table>
<h3>CosexOrderGoodsItem属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
</tr>
</thead>
<tbody>
<tr>
<td>upsNumber</td>
<td>String</td>
<td>false</td>
<td>none</td>
<td>箱子单号(子转单号)</td>
</tr>
<tr>
<td>fxWeight</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>客户箱子重 (kg)</td>
</tr>
<tr>
<td>ixLong</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>客户箱子长(cm)</td>
</tr>
<tr>
<td>ixWidth</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>客户箱子宽(cm)</td>
</tr>
<tr>
<td>ixHeight</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>客户箱子高(cm)</td>
</tr>
<tr>
<td>cosexFxWeight</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>系统箱子重 (kg)</td>
</tr>
<tr>
<td>cosexIxLong</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>系统箱子长(cm)</td>
</tr>
<tr>
<td>cosexIxWidth</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>系统箱子宽(cm)</td>
</tr>
<tr>
<td>cosexIxHeight</td>
<td>decimal</td>
<td>false</td>
<td>(11,3)</td>
<td>系统箱子高(cm)</td>
</tr>
</tbody>
</table>