6.3获得分段录音播放源接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>获得分段录音播放源接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>{BaseUrl}/api/cdrFragmentDownload</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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;">recordfile</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>录音文件地址(录音命名可在系统设置调整可选格式“完整手机号码”或“显示尾号”)</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong>
<a href="https://xxxx.com/api/cdrFragmentDownload?user_sn=SYSUSER|7Cb3397882e26ba9e7fb8f01f1af345bde&api_key=ACjhLRSp&recordfile=/mnt/record/20241022/segmental_record/0935/subsection_question20221028142020Ga2_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_2.wav">https://xxxx.com/api/cdrFragmentDownload?user_sn=SYSUSER|7Cb3397882e26ba9e7fb8f01f1af345bde&api_key=ACjhLRSp&recordfile=/mnt/record/20241022/segmental_record/0935/subsection_question20221028142020Ga2_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_2.wav</a></p>
<p><strong>返回示例</strong></p>
<ul>
<li>
<p>直接下载文件,可用于html的媒体播放标签。</p>
<p><strong>备注</strong> </p>
</li>
<li>
<p>需要把公共参数也传过来。get方式接口url是拼装json数据进行加密,加密示例:(注意:要对反斜杆进行专义,json示例的参数顺序必须跟get参数的顺序一致,否则返回100001)</p>
<pre><code>{
&quot;user_sn&quot;:&quot;SYSUSER|7Cb3397882e26ba9e7fb8f01f1af345bde&quot;,
&quot;api_key&quot;:&quot;ACjhLRSp&quot;,
&quot;recordfile&quot;:&quot;\/mnt\/record\/20200317\/fenduan_20200317162421_18340862080_b983960a_0.wav&quot;
}</code></pre>
</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>