渠道数据
<p><strong>简要描述:</strong> </p>
<ul>
<li>数据BI:渠道数据</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/xtwl_read_interface/cmd</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">custId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">startDate</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>开始日期</td>
</tr>
<tr>
<td style="text-align: left;">endDate</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>结束日期</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
&quot;version&quot;: &quot;1.0&quot;,
&quot;modular&quot;:&quot;readMyt&quot;,
&quot;requestname&quot;:&quot;queryMBiChannelData&quot;,
&quot;param&quot;: {
&quot;timeStamp&quot;: &quot;1506415038551&quot;,
&quot;timeStamp&quot;: &quot;1506415038551&quot;,
&quot;uuid&quot;: &quot;dd0bf721-da04-4761-b247-3d6ecd9d9127&quot;,
&quot;authKey&quot;: &quot;0&quot;,
&quot;secretKey&quot;: &quot;48EAF3777B978B3542EC09FA3AB4DC38&quot;,
&quot;dtype&quot;: 2,
&quot;userKey&quot;: &quot;86B334248A4B0A53E0532E1E1FACECC0&quot;,
&quot;custId&quot;:&quot;D03A302450C3444BA583860C97B5E896&quot;,
&quot;startDate&quot;:&quot;2023-05-06&quot;,
&quot;endDate&quot;:&quot;2023-05-10&quot;
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">Integer</td>
<td>麦芽田总订单数</td>
</tr>
<tr>
<td style="text-align: left;">list</td>
<td style="text-align: left;">String</td>
<td>各渠道列表</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>渠道名称</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">Integer</td>
<td>订单数</td>
</tr>
<tr>
<td style="text-align: left;">ratio</td>
<td style="text-align: left;">String</td>
<td>占比</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;result&quot;: {
&quot;count&quot;: 2,
&quot;list&quot;: [
{
&quot;count&quot;: 1,
&quot;name&quot;: &quot;渠道名称&quot;,
&quot;ratio&quot;: &quot;50&quot;
},
{
&quot;count&quot;: 1,
&quot;name&quot;: &quot;傻了么&quot;,
&quot;ratio&quot;: &quot;50&quot;
}
]
},
&quot;resultcode&quot;: &quot;0&quot;,
&quot;resultdesc&quot;: &quot;success&quot;
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>