2.1.1子账号列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>子账号列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/aiUserDatasapi</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>user_sn</td>
<td>是</td>
<td>string</td>
<td>公共参数</td>
</tr>
<tr>
<td>api_key</td>
<td>是</td>
<td>string</td>
<td>公共参数</td>
</tr>
<tr>
<td>pageIndex</td>
<td>否</td>
<td>int</td>
<td>分页:起始条索引(从0开始,0表示第一页,默认0)</td>
</tr>
<tr>
<td>pageSize</td>
<td>否</td>
<td>int</td>
<td>分页:条数(默认5)</td>
</tr>
<tr>
<td>user_name</td>
<td>否</td>
<td>string</td>
<td>子账号名 (用于筛选)</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
&quot;api_key&quot;: &quot;3nyXOMQg&quot;,
&quot;user_sn&quot;: &quot;SYSUSER|b3397882e26ba9e7fb8f01f1af345bde&quot;,
&quot;pageIndex&quot;: 0,
&quot;pageSize&quot;: 5,
&quot;user_name&quot;: &quot;&quot;
}
</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;current_page&quot;: 1,
&quot;data&quot;: [
{
&quot;job&quot;: &quot;客服部管理员&quot;,
&quot;user_sn&quot;: &quot;SYSUSER|317da5abbe44a067eddf653df3689e14&quot;,
&quot;user_name&quot;: &quot;zzh1&quot;,
&quot;parent_sn&quot;: &quot;zzh&quot;,
&quot;wangwang&quot;: &quot;/uploads/2021-05-10-17-51-52-6099023832f6f.jpg&quot;,
&quot;contact&quot;: &quot;客服主管&quot;,
&quot;max_call_count&quot;: 20,
&quot;callin_project_sn&quot;: &quot;projects|7c6c95a20d43f1aadfa75b3f3a494343&quot;,
&quot;skillgroup_sn&quot;: &quot;huan1&quot;,
&quot;project_sn&quot;: &quot;projects|31b3e218c18c78f98cb8545900d95817,projects|1e99759eee92f3f8f0cd3649b4ffda96&quot;,
&quot;yd_display_phone&quot;: &quot;vos:200050#vos:900002#vos:200550&quot;,
&quot;display_phone&quot;: &quot;970085&quot;,
&quot;expired&quot;: &quot;2029-12-31&quot;,
&quot;last_login_time&quot;: &quot;2024-11-05 17:12:41&quot;,
&quot;ext&quot;: &quot;1&quot;,
&quot;linkext&quot;: &quot;1&quot;,
&quot;sipname&quot;: &quot;zzh1&quot;,
&quot;sdzj_phone&quot;: &quot;900002&quot;,
&quot;organization_id&quot;: 239
}
],
&quot;first_page_url&quot;: &quot;https://xxx.com/api/aiUserDatasapi?page=1&quot;,
&quot;from&quot;: 1,
&quot;last_page&quot;: 1,
&quot;last_page_url&quot;: &quot;https://xxx.com/api/aiUserDatasapi?page=1&quot;,
&quot;next_page_url&quot;: null,
&quot;path&quot;: &quot;https://xxx.com/api/aiUserDatasapi&quot;,
&quot;per_page&quot;: 5,
&quot;prev_page_url&quot;: null,
&quot;to&quot;: 1,
&quot;total&quot;: 1
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
<tr>
<td style="text-align: left;">job</td>
<td style="text-align: left;">string</td>
<td>用户角色(岗位)</td>
</tr>
<tr>
<td style="text-align: left;">user_sn</td>
<td style="text-align: left;">string</td>
<td>账号编码</td>
</tr>
<tr>
<td style="text-align: left;">user_name</td>
<td style="text-align: left;">string</td>
<td>登录账号</td>
</tr>
<tr>
<td style="text-align: left;">parent_sn</td>
<td style="text-align: left;">string</td>
<td>主账号</td>
</tr>
<tr>
<td style="text-align: left;">wangwang</td>
<td style="text-align: left;">string</td>
<td>头像</td>
</tr>
<tr>
<td style="text-align: left;">contact</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
<tr>
<td style="text-align: left;">max_call_count</td>
<td style="text-align: left;">string</td>
<td>子账号ai数</td>
</tr>
<tr>
<td style="text-align: left;">callin_project_sn</td>
<td style="text-align: left;">string</td>
<td>呼入话术</td>
</tr>
<tr>
<td style="text-align: left;">skillgroup_sn</td>
<td style="text-align: left;">string</td>
<td>技能组编号</td>
</tr>
<tr>
<td style="text-align: left;">project_sn</td>
<td style="text-align: left;">string</td>
<td>项目编号,逗号分隔</td>
</tr>
<tr>
<td style="text-align: left;">yd_display_phone</td>
<td style="text-align: left;">string</td>
<td>子账号主叫号码</td>
</tr>
<tr>
<td style="text-align: left;">display_phone</td>
<td style="text-align: left;">string</td>
<td>子账号呼入号码</td>
</tr>
<tr>
<td style="text-align: left;">sdzj_phone</td>
<td style="text-align: left;">string</td>
<td>手动外呼主叫号码</td>
</tr>
<tr>
<td style="text-align: left;">organization_id</td>
<td style="text-align: left;">int</td>
<td>组织架构ID</td>
</tr>
<tr>
<td style="text-align: left;">expired</td>
<td style="text-align: left;">datetime</td>
<td>过期时间</td>
</tr>
<tr>
<td style="text-align: left;">last_login_time</td>
<td style="text-align: left;">datetime</td>
<td>最后登录时间</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>