坐席组坐席列表
<h4>接口说明:</h4>
<h5>创建预测式外呼任务前所需要的任务组创建。</h5>
<h4>请求方式:POST,form-data格式</h4>
<h4>请求参数</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>是否必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>service</td>
<td>string</td>
<td>是</td>
<td>App.Sip_Extgroup.GetGroupExt</td>
</tr>
<tr>
<td>token</td>
<td>string</td>
<td>是</td>
<td>通过授权接口获取的token</td>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>是</td>
<td>群组名称</td>
</tr>
<tr>
<td>extnumber</td>
<td>string</td>
<td>否</td>
<td>分机号</td>
</tr>
</tbody>
</table>
<h4>接口请求示例(PHP)</h4>
<pre><code>&lt;?php
    $apiUrl = &#039;http://127.0.0.1:8080&#039;;
    $postFields = [
        &#039;service&#039;   =&gt; &#039;App.Sip_Extgroup.GetGroupExt&#039;,
        &#039;token&#039;     =&gt; &#039;ABCDEFG&#039;,
        &#039;name&#039;     =&gt; &#039;queue-1&#039;,
    ];
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, $apiUrl);
    curl_setopt($curl, CURLOPT_POST, 1);
    curl_setopt($curl, CURLOPT_POSTFIELDS, $postFields);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    $response = curl_exec($curl);
    $curlError = curl_error($curl);
    curl_close($curl);
    var_dump($response);
?&gt;</code></pre>
<h4>返回数据结构示例</h4>
<pre><code>{
    &quot;ret&quot;: 200,
    &quot;data&quot;: [
        {
            &quot;name&quot;: &quot;test2&quot;,
            &quot;extnumber&quot;: &quot;20070006&quot;,
            &quot;status&quot;: &quot;hangup&quot;, // hangup=空闲,answer=通话,ring=响铃
            &quot;weight&quot;: null,  //权重
            &quot;linkcount&quot;: null, //呼叫次数
            &quot;date&quot;: null,  //呼叫日期
            &quot;state&quot;: &quot;idle&quot;, // idle=空闲,busy=忙
        }
    ],
    &quot;msg&quot;: &quot;&quot;,
}</code></pre>
<h4>返回参数说明</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>desc</td>
<td>string</td>
<td>结果描述</td>
</tr>
</tbody>
</table>