6.4获取单个通话对话内容
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取单个通话对话内容</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/cdrshow</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;">accounts_sn</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>通话流水返回的唯一标识符(sn)号</td>
</tr>
<tr>
<td style="text-align: left;">connected_at</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 class="language-json">{
&quot;api_key&quot;: &quot;slnt33EE&quot;,
&quot;user_sn&quot;: &quot;SYSUSER|aae67d860415a125e3eb397b9c9bb847&quot;,
&quot;accounts_sn&quot;: &quot;account|101405a98acaae36e2b72fea39e11fe2&quot;,
&quot;connected_at&quot;: &quot;2024-10-22 09:35:38&quot;
}
</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;fragment&quot;: [
[
{
&quot;vocfile&quot;: &quot;/usr/local/freeswitch/sounds/zh/cn/20240903093618sIr/question20200921093330LcC.wav&quot;,
&quot;caption&quot;: &quot;喂,您好!我这边是时代财税的,我们公司主要是为企业提供代理记账、报税、商标注册、劳务派遣、退税扶持等各类服务的,还可以为客户制定合理的节税方案。请问您有兴趣了解一下吗?&quot;,
&quot;title&quot;: &quot;01问候语+开场白&quot;,
&quot;answer&quot;: &quot;&quot;,
&quot;fenduanluyin&quot;: &quot;&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 0,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;question20221028142020Ga2&quot;,
&quot;talk_info_sn&quot;: &quot;&quot;,
&quot;seating_info&quot;: &quot;&quot;,
&quot;talk_datetime&quot;: &quot;09:35:38&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;主干&quot;,
&quot;trigger_process_title&quot;: &quot;01问候语+开场白&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;trigger_jump_type&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;listen&quot;,
&quot;caption&quot;: &quot;listen&quot;,
&quot;title&quot;: &quot;listen&quot;,
&quot;answer&quot;: &quot;可以呀,嗯嗯。&quot;,
&quot;fenduanluyin&quot;: &quot;/mnt/record/20241022/segmental_record/0935/subsection_question20221028142020Ga2_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_2.wav&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 1,
&quot;score&quot;: &quot;10&quot;,
&quot;labelling&quot;: &quot;有兴趣&quot;,
&quot;process_code&quot;: &quot;question20221028142020jTx&quot;,
&quot;talk_info_sn&quot;: &quot;talk_info_sn|24cf69f4392e394c1453439634b098d1&quot;,
&quot;seating_info&quot;: false,
&quot;talk_datetime&quot;: &quot;09:35:56&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;主干&quot;,
&quot;trigger_process_title&quot;: &quot;02优势介绍&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;match_type&quot;: 2,
&quot;trigger_word&quot;: &quot;可以呀,嗯嗯。&quot;,
&quot;trigger_jump_type&quot;: &quot;肯定&quot;
},
{
&quot;vocfile&quot;: &quot;/usr/local/freeswitch/sounds/zh/cn/20240903093618sIr/question20200921093344Dde.wav&quot;,
&quot;caption&quot;: &quot;我们时代财税,是专门为企业提供财税服务的,已经成立了12年了,有30多位专职的会计师给您提供专业的服务,各个省市都有分公司,规模非常大,而且业界口碑也是非常好的,要不我加一下您的微信,把相关的资料发送给你看看?&quot;,
&quot;title&quot;: &quot;02优势介绍&quot;,
&quot;answer&quot;: &quot;&quot;,
&quot;fenduanluyin&quot;: &quot;&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 0,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;question20221028142020jTx&quot;,
&quot;talk_info_sn&quot;: &quot;&quot;,
&quot;seating_info&quot;: &quot;&quot;,
&quot;talk_datetime&quot;: &quot;09:35:56&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;主干&quot;,
&quot;trigger_process_title&quot;: &quot;02优势介绍&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;trigger_jump_type&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;listen&quot;,
&quot;caption&quot;: &quot;listen&quot;,
&quot;title&quot;: &quot;listen&quot;,
&quot;answer&quot;: &quot;嗯嗯。&quot;,
&quot;fenduanluyin&quot;: &quot;/mnt/record/20241022/segmental_record/0935/subsection_question20221028142020jTx_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_3.wav&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 1,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;&quot;,
&quot;talk_info_sn&quot;: &quot;fcdc16e2-9015-11ef-b6f3-d39081f6a486&quot;,
&quot;seating_info&quot;: false,
&quot;talk_datetime&quot;: &quot;09:35:58&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;&quot;,
&quot;trigger_process_title&quot;: &quot;&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;trigger_word&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;listen&quot;,
&quot;caption&quot;: &quot;listen&quot;,
&quot;title&quot;: &quot;listen&quot;,
&quot;answer&quot;: &quot;嗯,什么?&quot;,
&quot;fenduanluyin&quot;: &quot;/mnt/record/20241022/segmental_record/0935/subsection_question20221028142020jTx_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_34.wav&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 1,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;&quot;,
&quot;talk_info_sn&quot;: &quot;05c3c066-9016-11ef-b734-d39081f6a486&quot;,
&quot;seating_info&quot;: false,
&quot;talk_datetime&quot;: &quot;09:36:13&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;&quot;,
&quot;trigger_process_title&quot;: &quot;&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;trigger_word&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;listen&quot;,
&quot;caption&quot;: &quot;listen&quot;,
&quot;title&quot;: &quot;listen&quot;,
&quot;answer&quot;: &quot;没有。&quot;,
&quot;fenduanluyin&quot;: &quot;/mnt/record/20241022/segmental_record/0936/subsection_question20221028142020jTx_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_4.wav&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 1,
&quot;score&quot;: &quot;10&quot;,
&quot;labelling&quot;: &quot;有兴趣&quot;,
&quot;process_code&quot;: &quot;question202210281420209rA&quot;,
&quot;talk_info_sn&quot;: &quot;talk_info_sn|21a1b8121d2a2e501d58e4152be22153&quot;,
&quot;seating_info&quot;: false,
&quot;talk_datetime&quot;: &quot;09:36:18&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;主干&quot;,
&quot;trigger_process_title&quot;: &quot;03加微信1&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;match_type&quot;: 2,
&quot;trigger_word&quot;: &quot;有。&quot;,
&quot;trigger_jump_type&quot;: &quot;肯定&quot;
},
{
&quot;vocfile&quot;: &quot;/usr/local/freeswitch/sounds/zh/cn/20240903093618sIr/question20200921093355q5L.wav&quot;,
&quot;caption&quot;: &quot;好的,那请问这个手机号码是您的微信号吗?&quot;,
&quot;title&quot;: &quot;03加微信1&quot;,
&quot;answer&quot;: &quot;&quot;,
&quot;fenduanluyin&quot;: &quot;&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 0,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;question202210281420209rA&quot;,
&quot;talk_info_sn&quot;: &quot;&quot;,
&quot;seating_info&quot;: &quot;&quot;,
&quot;talk_datetime&quot;: &quot;09:36:18&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;主干&quot;,
&quot;trigger_process_title&quot;: &quot;03加微信1&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;trigger_jump_type&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;listen&quot;,
&quot;caption&quot;: &quot;listen&quot;,
&quot;title&quot;: &quot;listen&quot;,
&quot;answer&quot;: &quot;noinput&quot;,
&quot;fenduanluyin&quot;: &quot;/mnt/record/20241022/segmental_record/0936/subsection_question202210281420209rA_20241022093538_zzh_zzh1_ec0fdf06-9015-11ef-b667-d39081f6a486_0637_6.wav&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 1,
&quot;score&quot;: &quot;0&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;asks20221028142020TQg&quot;,
&quot;talk_info_sn&quot;: &quot;talk_info_sn|b9ab29abb8426c9f14d74ddc5d736350&quot;,
&quot;seating_info&quot;: false,
&quot;talk_datetime&quot;: &quot;09:36:27&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;常规问题&quot;,
&quot;trigger_process_title&quot;: &quot;没说话1&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null,
&quot;match_type&quot;: 2,
&quot;trigger_word&quot;: &quot;没说话&quot;,
&quot;trigger_jump_type&quot;: &quot;&quot;
},
{
&quot;vocfile&quot;: &quot;/usr/local/freeswitch/sounds/zh/cn/20240903093618sIr/asks20200921145407fs110.wav&quot;,
&quot;caption&quot;: &quot;你好,能听到吗?&quot;,
&quot;title&quot;: &quot;没说话1&quot;,
&quot;answer&quot;: &quot;&quot;,
&quot;fenduanluyin&quot;: &quot;&quot;,
&quot;outType&quot;: null,
&quot;is_answer&quot;: 0,
&quot;score&quot;: &quot;&quot;,
&quot;labelling&quot;: &quot;&quot;,
&quot;process_code&quot;: &quot;&quot;,
&quot;talk_info_sn&quot;: &quot;&quot;,
&quot;seating_info&quot;: &quot;&quot;,
&quot;talk_datetime&quot;: &quot;09:36:27&quot;,
&quot;trigger_special&quot;: 0,
&quot;trigger_process_type&quot;: &quot;&quot;,
&quot;trigger_process_title&quot;: &quot;&quot;,
&quot;recognition_status&quot;: 0,
&quot;questions_status&quot;: 0,
&quot;recognitionInfo&quot;: [],
&quot;agent_name&quot;: null
}
]
]
},
&quot;msg&quot;: &quot;SUCCESS&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;">vocfile</td>
<td style="text-align: left;">string</td>
<td>分段录音文件地址(为tips是介入提示,为listen是客户对话)</td>
</tr>
<tr>
<td style="text-align: left;">caption</td>
<td style="text-align: left;">string</td>
<td>机器人文本(为tips是介入提示,为listen是客户对话)</td>
</tr>
<tr>
<td style="text-align: left;">title</td>
<td style="text-align: left;">string</td>
<td>序号和标题(为tips是介入提示,为listen是客户对话)</td>
</tr>
<tr>
<td style="text-align: left;">answer</td>
<td style="text-align: left;">string</td>
<td>回应文本(nomatch :未识别,noinput:没输入)</td>
</tr>
<tr>
<td style="text-align: left;">fenduanluyin</td>
<td style="text-align: left;">string</td>
<td>回应录音</td>
</tr>
<tr>
<td style="text-align: left;">outType</td>
<td style="text-align: left;">string</td>
<td>对话标记类型</td>
</tr>
<tr>
<td style="text-align: left;">is_answer</td>
<td style="text-align: left;">string</td>
<td>是否是回答</td>
</tr>
<tr>
<td style="text-align: left;">score</td>
<td style="text-align: left;">string</td>
<td>分值</td>
</tr>
<tr>
<td style="text-align: left;">labelling</td>
<td style="text-align: left;">string</td>
<td>标签</td>
</tr>
<tr>
<td style="text-align: left;">process_code</td>
<td style="text-align: left;">string</td>
<td>流程编码</td>
</tr>
<tr>
<td style="text-align: left;">talk_info_sn</td>
<td style="text-align: left;">string</td>
<td>对话唯一sn</td>
</tr>
<tr>
<td style="text-align: left;">seating_info</td>
<td style="text-align: left;">string</td>
<td>坐席信息,情绪1、敏感词2、语速3、话术规范4、静默超时5、话术推荐6、抢话7</td>
</tr>
<tr>
<td style="text-align: left;">talk_datetime</td>
<td style="text-align: left;">string</td>
<td>对话时间</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>