呼叫系统API


系统设置

<p><strong>简要描述:</strong></p> <ul> <li> <h1>系统设置</h1> </li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>http://xx.com/super_admin/getSettings</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST</li> </ul> <p><strong>参数:</strong></p> <ul> <li>无参</li> </ul> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;concurrency&amp;quot;: 1000, &amp;quot;authorization_seats&amp;quot;: 1000, &amp;quot;use_period&amp;quot;: &amp;quot;2100-01-01&amp;quot;, &amp;quot;service_period&amp;quot;: &amp;quot;2021-09-01&amp;quot;, &amp;quot;auto_restart&amp;quot;: true, &amp;quot;logo&amp;quot;: &amp;quot;PSCC&amp;quot;, &amp;quot;firewall&amp;quot;: true, &amp;quot;max_rows&amp;quot;: 100000, &amp;quot;zip_days&amp;quot;: 2, &amp;quot;callback_url&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;ext_length&amp;quot;: 4, &amp;quot;serial&amp;quot;: &amp;quot;c5a97c483574cad34f6dcc729db36cb1&amp;quot;, &amp;quot;illegal_call&amp;quot;: 5, &amp;quot;register_failure&amp;quot;: 5 } }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>concurrency</td> <td>string</td> <td>系统并发</td> </tr> <tr> <td>authorization_seats</td> <td>int</td> <td>授权坐席数</td> </tr> <tr> <td>use_period</td> <td>string</td> <td>使用期限</td> </tr> <tr> <td>service_period</td> <td>string</td> <td>服务期限</td> </tr> <tr> <td>auto_restart</td> <td>string</td> <td>自动重启:该值为true时,每晚12点服务器将自动重启 ,true,false</td> </tr> <tr> <td>logo</td> <td>string</td> <td>LOGO</td> </tr> <tr> <td>firewall</td> <td>string</td> <td>sip防火墙,true,false</td> </tr> <tr> <td>max_rows</td> <td>string</td> <td>操作条数:批次导入导出数据最大条数</td> </tr> <tr> <td>zip_days</td> <td>int</td> <td>ZIP保存天数:录音下载ZIP文件保存天数</td> </tr> <tr> <td>callback_url</td> <td>string</td> <td>回调地址</td> </tr> <tr> <td>ext_length</td> <td>int</td> <td>工号长度</td> </tr> <tr> <td>serial</td> <td>string</td> <td>序列号</td> </tr> <tr> <td>illegal_call</td> <td>string</td> <td>非法呼叫:次</td> </tr> <tr> <td>register_failure</td> <td>string</td> <td>非法注册:次</td> </tr> </tbody> </table> <p><strong>简要描述:</strong></p> <ul> <li> <h1>更新设置</h1> </li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>http://xx.com/super_admin/editConfig</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> </tr> </thead> <tbody> <tr> <td>auto_restart</td> <td>string</td> <td>自动重启:该值为true时,每晚12点服务器将自动重启 ,true,false</td> </tr> <tr> <td>firewall</td> <td>string</td> <td>sip防火墙,true,false</td> </tr> <tr> <td>max_rows</td> <td>string</td> <td>操作条数:批次导入导出数据最大条数</td> </tr> <tr> <td>zip_days</td> <td>int</td> <td>ZIP保存天数:录音下载ZIP文件保存天数</td> </tr> <tr> <td>illegal_call</td> <td>string</td> <td>非法呼叫:次</td> </tr> <tr> <td>register_failure</td> <td>int</td> <td>非法注册:次</td> </tr> </tbody> </table> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML