本文档由工具直接从代码扫描生成,是代码最新变动后的快照文档,仅供开发人员参考,正式文档请阅读更新后的MVB2000 V5接口文档。
文档生成时间: 2025年05月07日 08:39:56。
文件路径: webservice2/report/getusercallsum.php
接口地址: /webservice2/report/getusercallsum.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
获取座席通话情况统计,支持分页。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| agentno | string | 否 | 分机号 |
| direct | string | 否 | 呼叫方向(枚举类型:IN/OUT/INOUT/INNER) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认agentno |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
{ "errcode": 0, "message": "2", "data": [ { "agentno": "610", "callsum": "1", "totaltalktime": "13" }, { "agentno": "602", "callsum": "6", "totaltalktime": "46" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuecallrptdetail.php
接口地址: /webservice2/report/getqueuecallrptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取指定队列明细。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| queueno | string | 否 | 队列号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "成功", "total": 86, "data": [ { "eventtime": "2024-12-02 17:57:46", "queuename": "90", "caller": "603", "dialstatus": "ENTERQUEUE", "uniqueid": "1733133466.39" }, { "eventtime": "2024-12-02 16:17:02", "queuename": "90", "caller": "603", "dialstatus": "ENTERQUEUE", "uniqueid": "1733127422.36" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-05 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getcdrsimple.php
接口地址: /webservice2/report/getcdrsimple.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
查询通话话单记录列表(简化版)。 成功时message字段返回总记录数(可用于分页),失败时返回描述。 注意: 设置onlymonitor有效时,需要比对录音文件是否存在,因此查询效率较低,同时message字段返回的总记录数也会忽略onlymonitor条件,因此 使用message字段作为分页总记录数时,不要使用onlymonitor查询条件。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| caller | string | 否 | 主叫号码 |
| callee | string | 否 | 被叫号码 |
| agentno | string | 否 | 坐席工号(如果传了坐席工号,则按照被叫号码为坐席工号精确查询,并且主叫号码模糊查询,或者 主叫号码为坐席工号并且精确查询,被叫号码模糊匹配来进行查询,) |
| number | string | 否 | 电话号码串(逗号分隔,匹配主叫和被叫号码) |
| disposition | string | 否 | 呼叫状态(枚举类型: ANSWERED/FAILED/NO ANSWER/BUSY) |
| direct | string | 否 | 呼叫方向(枚举类型:IN/OUT/INOUT/INNER) |
| lastdialstatus | string | 否 | 二次拨号结果(枚举类型: 0/1/2) |
| onlymonitor | string | 否 | 只需要有录音记录(枚举类型0/1),效率较低,默认0 |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认calldate |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "6", "data": [ { "newcalldate": "6", "yeardate": "2024", "timesum": "147", "callscount": "25", "avgtime": "6" }, { "newcalldate": "7", "yeardate": "2024", "timesum": "16051", "callscount": "580", "avgtime": "28" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuecallcmp.php
接口地址: /webservice2/report/getqueuecallcmp.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取队列话务量比较记录。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认calldatehour |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "2", "data": [ { "queuename": "90", "totalcalls": "86", "answeredcalls": "25", "callerexit": "68", "calltimeout": "0", "othexit": "0", "maxholdtime": "27", "talktime": "243", "callerhangups": "16", "agenthangups": "7", "agenttrans": "2", "ansrate": "29.07", "avgtalktime": "10", "avgholdtime": "3", "avgringtime": "1" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getareayearreport.php
接口地址: /webservice2/report/getareayearreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取区域年话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| areacode | string | 否 | 区号(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024", "pbxid": 1, "areacode": "0532", "incomingcalls": 3, "incominganswered": 1, "incomingbillsecs": 5, "incomingavgbillsecs": 5, "incomingmaxbillsecs": 5, "incomingrate": 33.33, "incomingqueues": 0, "incomingivrs": 0, "incomingextensions": 1 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentdayreport.php
接口地址: /webservice2/report/getagentdayreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席日话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| agentno | string | 否 | 坐席号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12-02", "agentno": "601", "pbxid": 0, "incomingcalls": 9, "incallanswered": 9, "outboundcalls": 0, "outcallanswered": 0, "transfercalls": 1, "agenthangup": 2, "callerhangup": 6, "pickupcalls": 0, "outboundbillsecs": 0, "incomingbillsecs": 93, "ringsecs": 10, "holdsecs": 11, "maxoutboundbillsec": 0, "maxincomingbillsec": 49, "onlineduration": 0, "logintimes": 0, "pauseduration": 0, "unpauseduration": 0, "pausetimes": 0, "wrappedsecs": 0, "othworksecs": 0, "ringnoanswer": 0, "qmcounts": 2, "qmscore": 2, "musicholdsecs": 9, "musicholdcounts": 2, "maxmusicholdsec": 7, "incominganswerrate": 100, "outboundansweredrate": 0, "outboundavg": 0, "incomingavg": 10, "ringavg": 1, "holdavg": 1, "occupancyrate": 0, "musicholdavg": 5, "qmresult": 100 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getplatformyearreport.php
接口地址: /webservice2/report/getplatformyearreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取平台年话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024", "pbxid": 1, "incomingcalls": 1, "incominganswered": 0, "incomingbillsecs": 0, "incomingavgbillsecs": 0, "incomingmaxbillsecs": 0, "incomingrate": 0, "incomingivrs": 0, "incomingextensions": 0, "incomingqueues": 0, "outboundcalls": 0, "outboundanswered": 0, "outboundrate": 0, "outboundnationalcalls": 0, "outboundnationalanswered": 0, "outboundnationalbillsecs": 0, "outboundnationalavgbillsecs": 0, "outboundinternationalcalls": 0, "outboundinternationalanswered": 0, "outboundinternationalbillsecs": 0, "outboundinternationalavgbillsecs": 0, "outboundbillsecs": 0, "outboundavgbillsecs": 0, "outboundmaxbillsecs": 0, "internalcalls": 3, "internalanswered": 3, "internalbillsecs": 27, "internalavgbillsecs": 9, "internalmaxbillsecs": 10 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueueyearreport.php
接口地址: /webservice2/report/getqueueyearreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取队列年话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| queue | string | 否 | 队列号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024", "queue": "90", "pbxid": 0, "queuecalls": 86, "agentcalls": 70, "agentanswered": 25, "noanswerdcalls": 45, "timeoutcalls": 0, "abandancalls": 68, "otherbadcalls": 0, "answeredin5": 22, "answeredin10": 1, "answeredin15": 0, "answeredin20": 0, "answeredin30": 0, "answeredinup30": 0, "answeredholdtime": 68, "abandanholdtime": 974, "maxholdtime": 27, "qmcounts": 5, "qmscore": 5, "billsecs": 243, "queuerate": 29.07, "agentrate": 35.71, "avgbillsecs": 10, "avgansweredholdtime": 3, "avgabandanholdtime": 1432.35, "qmresult": 100 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/pbxconfig.php
接口地址: /webservice2/report/pbxconfig.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
维护MVB2000平台基本信息。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| item | string | 是 | 动作(枚举类型:add/delete/update/find) |
| pbxid | string | 否 | 平台ID |
| pbxname | string | 否 | 平台名称 |
| remark | string | 否 | 备注 |
xxxxxxxxxx{ "errcode": 9009, "message": "无效的动作 test。", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-08-08 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造,取消base64输入 |
文件路径: webservice2/report/getplatformweekreport.php
接口地址: /webservice2/report/getplatformweekreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取平台周话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024-12-01", "pbxid": 1, "incomingcalls": 1, "incominganswered": 0, "incomingbillsecs": 0, "incomingavgbillsecs": 0, "incomingmaxbillsecs": 0, "incomingrate": 0, "incomingivrs": 0, "incomingextensions": 0, "incomingqueues": 0, "outboundcalls": 0, "outboundanswered": 0, "outboundrate": 0, "outboundnationalcalls": 0, "outboundnationalanswered": 0, "outboundnationalbillsecs": 0, "outboundnationalavgbillsecs": 0, "outboundinternationalcalls": 0, "outboundinternationalanswered": 0, "outboundinternationalbillsecs": 0, "outboundinternationalavgbillsecs": 0, "outboundbillsecs": 0, "outboundavgbillsecs": 0, "outboundmaxbillsecs": 0, "internalcalls": 3, "internalanswered": 3, "internalbillsecs": 27, "internalavgbillsecs": 9, "internalmaxbillsecs": 10 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentmonthreport.php
接口地址: /webservice2/report/getagentmonthreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席月话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| agentno | string | 否 | 坐席号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "12", "data": [ { "rptdate": "2024-12", "agentno": "601", "pbxid": 0, "incomingcalls": 9, "incallanswered": 9, "outboundcalls": 0, "outcallanswered": 0, "transfercalls": 1, "agenthangup": 2, "callerhangup": 6, "pickupcalls": 0, "outboundbillsecs": 0, "incomingbillsecs": 93, "ringsecs": 10, "holdsecs": 11, "maxoutboundbillsec": 0, "maxincomingbillsec": 49, "onlineduration": 0, "logintimes": 0, "pauseduration": 0, "unpauseduration": 0, "pausetimes": 0, "wrappedsecs": 0, "othworksecs": 0, "ringnoanswer": 0, "qmcounts": 2, "qmscore": 2, "musicholdsecs": 9, "musicholdcounts": 2, "maxmusicholdsec": 7, "incominganswerrate": 100, "outboundansweredrate": 0, "outboundavg": 0, "incomingavg": 10, "ringavg": 1, "holdavg": 1, "occupancyrate": 0, "musicholdavg": 5, "qmresult": 100 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentpickuprptdetail.php
接口地址: /webservice2/report/getagentpickuprptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取坐席代接的明细。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认createtime |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "total": 1, "data": [ { "createtime": "2024-10-29 15:48:38", "caller": "601", "callee": "602", "pickup": "602", "billsecs": "8" } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getbadcallreport.php
接口地址: /webservice2/report/getbadcallreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
呼损记录报表,可生成按日、月、队列、处理标志统计的报表。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| createtime1 | string | 否 | 记录时间起始(如:2015-01-01或2015-01-01 01:22:25) |
| createtime2 | string | 否 | 记录时间结束(如:2015-01-01或2015-01-01 01:22:25) |
| processtime1 | string | 否 | 处置时间开始(如:2015-01-01或2015-01-01 01:22:25) |
| processtime2 | string | 否 | 处置时间结束(如:2015-01-01或2015-01-01 01:22:25) |
| reporttype | string | 否 | 统计项目(枚举类型:d/m/q/p 日/月/队列/处理标志) |
| queue | string | 否 | 队列号码 |
| processflag | string | 否 | 处置标记 |
| processapp | string | 否 | 处置应用 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认item |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "item": "2024-11", "callcount": "3", "waittime_sum": "17", "waittime_avg": "6", "times_sum": "3", "times_avg": "1" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentyearreport.php
接口地址: /webservice2/report/getagentyearreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席年话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始月份(如:2015-01) |
| rptdate2 | string | 否 | 开始月份(如:2015-01) |
| agentno | string | 否 | 坐席号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024", "agentno": "601", "pbxid": 0, "incomingcalls": 67, "incallanswered": 24, "outboundcalls": 54, "outcallanswered": 29, "transfercalls": 2, "agenthangup": 6, "callerhangup": 16, "pickupcalls": 1, "outboundbillsecs": 300, "incomingbillsecs": 228, "ringsecs": 34, "holdsecs": 61, "maxoutboundbillsec": 38, "maxincomingbillsec": 49, "onlineduration": 0, "logintimes": 0, "pauseduration": 51, "unpauseduration": 0, "pausetimes": 1, "wrappedsecs": 0, "othworksecs": 0, "ringnoanswer": 43, "qmcounts": 5, "qmscore": 5, "musicholdsecs": 15, "musicholdcounts": 5, "maxmusicholdsec": 7, "incominganswerrate": 35.82, "outboundansweredrate": 53.7, "outboundavg": 10, "incomingavg": 10, "ringavg": 1, "holdavg": 3, "occupancyrate": 0, "musicholdavg": 3, "qmresult": 100 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getcallmonth.php
接口地址: /webservice2/report/getcallmonth.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取通话月流量。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| disposition | string | 否 | 呼叫状态(枚举类型: ANSWERED/FAILED/NO ANSWER/BUSY) |
| lastdialstatus | string | 否 | 二次拨号结果(枚举类型: 0/1/2),查询效率较低 |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认newcalldate |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "6", "data": [ { "newcalldate": "6", "yeardate": "2024", "timesum": "147", "callscount": "25", "avgtime": "6" }, { "newcalldate": "7", "yeardate": "2024", "timesum": "16051", "callscount": "580", "avgtime": "28" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentpauserptdetail.php
接口地址: /webservice2/report/getagentpauserptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席示忙示闲明细,获取坐席示忙次数、示闲时长、示忙时长的明细 示忙动作值范围: 0 示闲 小于60 普通示忙 大于等于60 并小于90 其它工作示忙 等于99 事后处理示忙
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| flag | string | 否 | 查询类型(枚举类型: pauseduration/unpauseduration/pausetimes/wrappedsecs/othworksecs) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "33", "total": 33, "data": [ { "eventtime": "2024-12-04 09:59:50", "agentno": "603", "queuename": "91", "dialstatus": "UNPAUSE", "actiontime": "33", "actiontype": "1" }, { "eventtime": "2024-12-04 09:59:17", "agentno": "603", "queuename": "91", "dialstatus": "PAUSE", "actiontime": "3110", "actiontype": "1" } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentonlinerptdetail.php
接口地址: /webservice2/report/getagentonlinerptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席在线明细报表,获取坐席上线次数、在线时长的明细。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "31", "total": 31, "data": [ { "eventtime": "2024-12-04 09:07:27", "agentno": "603", "queuename": "91", "dialstatus": "LOGIN", "onlinetime": "" }, { "eventtime": "2024-11-25 14:13:58", "agentno": "603", "queuename": "91", "dialstatus": "LOGOFF", "onlinetime": "592" } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuedayreport.php
接口地址: /webservice2/report/getqueuedayreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取队列日话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| queue | string | 否 | 队列号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12-02", "queue": "90", "pbxid": 0, "queuecalls": 9, "agentcalls": 9, "agentanswered": 9, "noanswerdcalls": 0, "timeoutcalls": 0, "abandancalls": 0, "otherbadcalls": 0, "answeredin5": 9, "answeredin10": 0, "answeredin15": 0, "answeredin20": 0, "answeredin30": 0, "answeredinup30": 0, "answeredholdtime": 11, "abandanholdtime": 0, "maxholdtime": 2, "qmcounts": 2, "qmscore": 2, "billsecs": 93, "queuerate": 100, "agentrate": 100, "avgbillsecs": 10, "avgansweredholdtime": 1, "avgabandanholdtime": 0, "qmresult": 100 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/agentlistconfig.php
接口地址: /webservice2/report/agentlistconfig.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
增删改查待统计坐席列表,查询座席配置列表时message字段返回总记录数(可用于分页),失败时返回描述。 参数值传入"empty_string"表示空串,传入"empty_string"表示null
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| item | string | 是 | 增删改查动作(枚举类型:add/delete/update/find/count) |
| pbxid | string | 是 | MVB2000平台编号(见全局设置-->基础参数-->节点编号)(item等于add/delete/update必须) |
| agentno | string | 是 | 坐席号码(item等于add/delete/update必须) |
| agentname | string | 否 | 坐席名称 |
| remark | string | 否 | 备注 |
| offset | string | 否 | 分页偏移量(item等于find有效) |
| rows | string | 否 | 每页行数(item等于find有效) |
| sort | string | 否 | 排序字段,默认agentno(item等于find有效) |
| sens | string | 否 | 排序方法(asc/desc),默认asc(item等于find有效) |
xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。agentname和remark取消base64编码,直接传值。 |
文件路径: webservice2/report/getareamonthreport.php
接口地址: /webservice2/report/getareamonthreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取区域月话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| areacode | string | 否 | 区号(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12", "pbxid": 1, "areacode": "0532", "incomingcalls": 3, "incominganswered": 1, "incomingbillsecs": 5, "incomingavgbillsecs": 5, "incomingmaxbillsecs": 5, "incomingrate": 33.33, "incomingqueues": 0, "incomingivrs": 0, "incomingextensions": 1 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getplatformdayreport.php
接口地址: /webservice2/report/getplatformdayreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取平台日话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024-12-02", "pbxid": 1, "incomingcalls": 1, "incominganswered": 0, "incomingbillsecs": 0, "incomingavgbillsecs": 0, "incomingmaxbillsecs": 0, "incomingrate": 0, "incomingivrs": 0, "incomingextensions": 0, "incomingqueues": 0, "outboundcalls": 0, "outboundanswered": 0, "outboundrate": 0, "outboundnationalcalls": 0, "outboundnationalanswered": 0, "outboundnationalbillsecs": 0, "outboundnationalavgbillsecs": 0, "outboundinternationalcalls": 0, "outboundinternationalanswered": 0, "outboundinternationalbillsecs": 0, "outboundinternationalavgbillsecs": 0, "outboundbillsecs": 0, "outboundavgbillsecs": 0, "outboundmaxbillsecs": 0, "internalcalls": 3, "internalanswered": 3, "internalbillsecs": 27, "internalavgbillsecs": 9, "internalmaxbillsecs": 10 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getplatformhourreport.php
接口地址: /webservice2/report/getplatformhourreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取平台小时话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| rpthour1 | string | 否 | 开始小时(如:1) |
| rpthour2 | string | 否 | 结束小时(如:18) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024-12-02", "pbxid": 1, "rpthour": 14, "incomingcalls": 1, "incominganswered": 0, "incomingbillsecs": 0, "incomingavgbillsecs": 0, "incomingmaxbillsecs": 0, "incomingrate": 0, "incomingivrs": 0, "incomingextensions": 0, "incomingqueues": 0, "outboundcalls": 0, "outboundanswered": 0, "outboundrate": 0, "outboundnationalcalls": 0, "outboundnationalanswered": 0, "outboundnationalbillsecs": 0, "outboundnationalavgbillsecs": 0, "outboundinternationalcalls": 0, "outboundinternationalanswered": 0, "outboundinternationalbillsecs": 0, "outboundinternationalavgbillsecs": 0, "outboundbillsecs": 0, "outboundavgbillsecs": 0, "outboundmaxbillsecs": 0, "internalcalls": 3, "internalanswered": 3, "internalbillsecs": 27, "internalavgbillsecs": 9, "internalmaxbillsecs": 10 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuerptdetail.php
接口地址: /webservice2/report/getqueuerptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
获取队列指定项目明细,支持分页。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| queueno | string | 是 | 队列号 |
| flag | string | 否 | 查询类型(枚举类型:agentcalls/agentanswered/noanswerdcalls/ringcanceldcalls/ringnoanswercalls/agentdumpcalls/answeredin5/answeredin10/answeredin15/answeredin20/answeredin30/answeredholdtime/abandancalls/abandancalls/timeoutcalls/otherbadcalls/billsecs) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "成功", "total": 28, "data": [ { "eventtime": "2024-12-02 17:57:56", "agentno": "601", "queuename": "90", "dialstatus": "BLINDTRANSFER", "uniqueid": "1733133466.39", "caller": "603", "billsecs": "9" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getareadayreport.php
接口地址: /webservice2/report/getareadayreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取区域日话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| areacode | string | 否 | 区号(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12-02", "pbxid": 1, "areacode": "0532", "incomingcalls": 3, "incominganswered": 1, "incomingbillsecs": 5, "incomingavgbillsecs": 5, "incomingmaxbillsecs": 5, "incomingrate": 33.33, "incomingqueues": 0, "incomingivrs": 0, "incomingextensions": 1 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getcallday.php
接口地址: /webservice2/report/getcallday.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取通话日流量。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate | string | 是 | 呼叫日期或日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldatehour | string | 否 | 小时,按照具体的小时进行统计 |
| disposition | string | 否 | 呼叫状态(枚举类型: ANSWERED/FAILED/NO ANSWER/BUSY) |
| lastdialstatus | string | 否 | 二次拨号结果(枚举类型: 0/1/2) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认calldatehour |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "calldatehour": "14", "timesum": "27", "callscount": "4", "avgtime": "7" }, { "calldatehour": "15", "timesum": "27", "callscount": "5", "avgtime": "5" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getplatformmonthreport.php
接口地址: /webservice2/report/getplatformmonthreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取平台月话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024-12", "pbxid": 1, "incomingcalls": 1, "incominganswered": 0, "incomingbillsecs": 0, "incomingavgbillsecs": 0, "incomingmaxbillsecs": 0, "incomingrate": 0, "incomingivrs": 0, "incomingextensions": 0, "incomingqueues": 0, "outboundcalls": 0, "outboundanswered": 0, "outboundrate": 0, "outboundnationalcalls": 0, "outboundnationalanswered": 0, "outboundnationalbillsecs": 0, "outboundnationalavgbillsecs": 0, "outboundinternationalcalls": 0, "outboundinternationalanswered": 0, "outboundinternationalbillsecs": 0, "outboundinternationalavgbillsecs": 0, "outboundbillsecs": 0, "outboundavgbillsecs": 0, "outboundmaxbillsecs": 0, "internalcalls": 3, "internalanswered": 3, "internalbillsecs": 27, "internalavgbillsecs": 9, "internalmaxbillsecs": 10 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/rptcontrol.php
接口地址: /webservice2/report/rptcontrol.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
维护报表运行信息。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| item | string | 是 | 动作(枚举类型:add/delete/update/find) |
| pbxid | string | 否 | 平台ID |
| rpttype | string | 否 | 报表类型(枚举类型:platform/agent/queue/area) |
| rptname | string | 否 | 报表名称 |
| begindate | string | 否 | 开始处理日期 |
| enddate | string | 否 | 截止处理日期(空表示当前日期) |
| enabled | string | 否 | 是否允许(枚举类型:0/1) |
xxxxxxxxxx{ "errcode": 9007, "message": "平台ID 1,队列号 95 的记录已经存在.", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-08-08 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造,取消base64输入 |
文件路径: webservice2/report/getagentcallrptdetail.php
接口地址: /webservice2/report/getagentcallrptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席呼入话务明细,获取坐席呼入量,呼入接通量,呼入接通时长(与呼入接通量相同),坐席拆线 ,用户拆线,振铃时长,排队时长,振铃放弃数,转接的明细
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| flag | string | 否 | 查询类型(枚举类型: incomingcalls/incallanswered/agenthangup/callerhangup/transfercalls/ringsecs/holdsecs/ringnoanswer/incomingbillsecs) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "17", "total": 17, "data": [ { "eventtime": "2024-07-19 14:00:34", "agentno": "601", "queuename": "90", "dialstatus": "COMPLETECALLER", "uniqueid": "1721368823.175", "caller": "603", "billsecs": "9" } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。agentname和remark取消base64编码,直接传值。 |
文件路径: webservice2/report/getqueueweekreport.php
接口地址: /webservice2/report/getqueueweekreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取队列周话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| queue | string | 否 | 队列号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12-01", "queue": "90", "pbxid": 0, "queuecalls": 9, "agentcalls": 9, "agentanswered": 9, "noanswerdcalls": 0, "timeoutcalls": 0, "abandancalls": 0, "otherbadcalls": 0, "answeredin5": 9, "answeredin10": 0, "answeredin15": 0, "answeredin20": 0, "answeredin30": 0, "answeredinup30": 0, "answeredholdtime": 11, "abandanholdtime": 0, "maxholdtime": 2, "qmcounts": 2, "qmscore": 2, "billsecs": 93, "queuerate": 100, "agentrate": 100, "avgbillsecs": 10, "avgansweredholdtime": 1, "avgabandanholdtime": 0, "qmresult": 100 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuecallcount.php
接口地址: /webservice2/report/getqueuecallcount.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
查询队列记录总数。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| queuename | string | 否 | 队列号 |
| queueevent | string | 否 | 状态 |
xxxxxxxxxx{ "errcode": 0, "message": "成功", "data": [ { "result": "366" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentqmrrptdetail.php
接口地址: /webservice2/report/getagentqmrrptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取坐席质检的明细。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认calltime |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "9", "total": 9, "data": [ { "queuename": "90", "caller": "603", "agentno": "601", "calltime": "2024-12-02 16:17:07", "selkey": "2", "uniqueid": "1733127422.36", "score": "1" }, { "queuename": "90", "caller": "603", "agentno": "601", "calltime": "2024-12-02 14:02:42", "selkey": "2", "uniqueid": "1733119350.8", "score": "1" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/qmrconfig.php
接口地址: /webservice2/report/qmrconfig.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
维护质检按键分值。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| item | string | 是 | 动作(枚举类型:update/find) |
| inputkey | string | 是 | 按键 |
| score | string | 否 | 分值 |
| remark | string | 否 | 备注 |
xxxxxxxxxx{ "errcode": 9009, "message": "无效的动作 test。", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-08-08 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造,取消base64输入 |
文件路径: webservice2/report/getcdrcountsimple.php
接口地址: /webservice2/report/getcdrcountsimple.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
查询通话话单记录数(简化版)。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| caller | string | 否 | 主叫号码 |
| callee | string | 否 | 被叫号码 |
| agentno | string | 否 | 坐席工号(如果传了坐席工号,则按照被叫号码为坐席工号精确查询,并且主叫号码模糊查询,或者 主叫号码为坐席工号并且精确查询,被叫号码模糊匹配来进行查询,) |
| number | string | 否 | 电话号码串(逗号分隔,匹配主叫和被叫号码) |
| disposition | string | 否 | 呼叫状态(枚举类型: ANSWERED/FAILED/NO ANSWER/BUSY) |
| direct | string | 否 | 呼叫方向(枚举类型:IN/OUT/INOUT/INNER) |
| lastdialstatus | string | 否 | 二次拨号结果(枚举类型: 0/1/2) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
xxxxxxxxxx{ "errcode": 0, "message": "6", "data": [ { "newcalldate": "6", "yeardate": "2024", "timesum": "147", "callscount": "25", "avgtime": "6" }, { "newcalldate": "7", "yeardate": "2024", "timesum": "16051", "callscount": "580", "avgtime": "28" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getareaweekreport.php
接口地址: /webservice2/report/getareaweekreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取区域周话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| areacode | string | 否 | 区号(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12-01", "pbxid": 1, "areacode": "0532", "incomingcalls": 3, "incominganswered": 1, "incomingbillsecs": 5, "incomingavgbillsecs": 5, "incomingmaxbillsecs": 5, "incomingrate": 33.33, "incomingqueues": 0, "incomingivrs": 0, "incomingextensions": 1 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getagentweekreport.php
接口地址: /webservice2/report/getagentweekreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席周话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| agentno | string | 否 | 坐席号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "49", "data": [ { "rptdate": "2024-08-04", "agentno": "601", "pbxid": 0, "incomingcalls": 36, "incallanswered": 6, "outboundcalls": 11, "outcallanswered": 0, "transfercalls": 0, "agenthangup": 3, "callerhangup": 3, "pickupcalls": 0, "outboundbillsecs": 0, "incomingbillsecs": 34, "ringsecs": 8, "holdsecs": 11, "maxoutboundbillsec": 0, "maxincomingbillsec": 19, "onlineduration": 0, "logintimes": 0, "pauseduration": 0, "unpauseduration": 0, "pausetimes": 0, "wrappedsecs": 0, "othworksecs": 0, "ringnoanswer": 30, "qmcounts": 2, "qmscore": 2, "musicholdsecs": 0, "musicholdcounts": 0, "maxmusicholdsec": 0, "incominganswerrate": 16.67, "outboundansweredrate": 0, "outboundavg": 0, "incomingavg": 6, "ringavg": 1, "holdavg": 2, "occupancyrate": 0, "musicholdavg": 0, "qmresult": 100 } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuehourreport.php
接口地址: /webservice2/report/getqueuehourreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取坐席日话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| rpthour1 | string | 否 | 开始小时(如:1) |
| rpthour2 | string | 否 | 结束小时(如:18) |
| queue | string | 否 | 队列号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "4", "data": [ { "rptdate": "2024-12-02", "queue": "90", "rpthour": 14, "pbxid": 0, "queuecalls": 1, "agentcalls": 1, "agentanswered": 1, "noanswerdcalls": 0, "timeoutcalls": 0, "abandancalls": 0, "otherbadcalls": 0, "answeredin5": 1, "answeredin10": 0, "answeredin15": 0, "answeredin20": 0, "answeredin30": 0, "answeredinup30": 0, "answeredholdtime": 1, "abandanholdtime": 0, "maxholdtime": 1, "qmcounts": 1, "qmscore": 1, "billsecs": 9, "queuerate": 100, "agentrate": 100, "avgbillsecs": 9, "avgansweredholdtime": 1, "avgabandanholdtime": 0, "qmresult": 100 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/getqueuemonthreport.php
接口地址: /webservice2/report/getqueuemonthreport.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-03
获取队列月话务量报表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| rptdate1 | string | 是 | 开始日期(如:2015-01-01) |
| rptdate2 | string | 否 | 结束日期(如:2015-01-01) |
| queue | string | 否 | 队列号码(逗号分隔输入多个值) |
| pbxid | string | 否 | 平台编号 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认rptdate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "1", "data": [ { "rptdate": "2024-12", "queue": "90", "pbxid": 0, "queuecalls": 9, "agentcalls": 9, "agentanswered": 9, "noanswerdcalls": 0, "timeoutcalls": 0, "abandancalls": 0, "otherbadcalls": 0, "answeredin5": 9, "answeredin10": 0, "answeredin15": 0, "answeredin20": 0, "answeredin30": 0, "answeredinup30": 0, "answeredholdtime": 11, "abandanholdtime": 0, "maxholdtime": 2, "qmcounts": 2, "qmscore": 2, "billsecs": 93, "queuerate": 100, "agentrate": 100, "avgbillsecs": 10, "avgansweredholdtime": 1, "avgabandanholdtime": 0, "qmresult": 100 } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-03 | 畅信达 | 信创改造。 |
文件路径: webservice2/report/queuelistconfig.php
接口地址: /webservice2/report/queuelistconfig.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-06
维护参与统计队列。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| item | string | 是 | 动作(枚举类型:add/delete/update/find) |
| pbxid | string | 否 | 平台ID |
| queueno | string | 否 | 队列号码 |
| queuename | string | 否 | 队列名称 |
| remark | string | 否 | 备注 |
xxxxxxxxxx{ "errcode": 9007, "message": "平台ID 1,队列号 95 的记录已经存在.", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-08-08 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-06 | 畅信达 | 信创改造,取消base64输入 |
文件路径: webservice2/report/getqueuecalldetail.php
接口地址: /webservice2/report/getqueuecalldetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-12-04
获取队列记录明细,成功时message字段返回总记录数(可用于分页),失败时返回描述。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| calldate1 | string | 是 | 开始日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期时间(如:2015-01-01或2015-01-01 01:22:25) |
| history | string | 否 | 查询历史数据库记录(枚举类型: 0/1) |
| queuename | string | 否 | 队列号,多个可用逗号分隔 |
| queueevent | string | 否 | 状态,多个可用逗号分隔 |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认eventtime |
| sens | string | 否 | 排序方法(asc/desc),默认desc |
xxxxxxxxxx{ "errcode": 0, "message": "366", "data": [ { "eventtime": "2024-07-02 16:40:47", "callid": "1719909644.82", "queuename": "90", "queuestart": "1719909647", "agent": "NONE", "agentno": "NONE", "event": "ENTERQUEUE", "arg1": "", "arg2": "603", "arg3": "1", "arg4": "" } ]}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-12-04 | 畅信达 | 信创改造。 |
| 1.0.2 | 2025-04-15 | 畅信达 | 队列和事件支持逗号分隔的多个值 |
文件路径: webservice2/report/getagentcdrrptdetail.php
接口地址: /webservice2/report/getagentcdrrptdetail.php?webkey=xxxxxxxx&json=4
版本: 1.0.1 最后更新: 2024-11-28
获取坐席呼出话务明细,获取坐席呼出、呼出接通量、呼出时长(返回接通与呼出接通量相同)的明细
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| agentno | string | 是 | 坐席号码 |
| calldate1 | string | 是 | 开始日期(如:2015-01-01或2015-01-01 01:22:25) |
| calldate2 | string | 是 | 结束日期(如:2015-01-01或2015-01-01 01:22:25) |
| flag | string | 否 | 查询类型(枚举类型: outboundcalls/outcallanswered/outboundbillsecs) |
| offset | string | 否 | 分页偏移量 |
| rows | string | 否 | 每页行数 |
| sort | string | 否 | 排序字段,默认calldate |
| sens | string | 否 | 排序方法(asc/desc),默认asc |
xxxxxxxxxx{ "errcode": 0, "message": "54", "total": 54, "data": [ { "calldate": "2024-08-05 10:44:25", "areacode": "0532", "caller": "601", "callee": "10086", "dnid": "10086", "duration": "3", "billsec": "0", "uniqueid": "1722825865.18", "direct": "OUT", "disposition": "NO ANSWER", "dialstatus": "CANCEL", "userfield": "DIALSTATUS:CANCEL^" } ]}xxxxxxxxxx{ "errcode": 9000, "message": "", "data": []}| 版本 | 日期 | 作者 | 说明 |
|---|---|---|---|
| 1.0.0 | 2016-07-29 | 畅信达 | 新建 |
| 1.0.1 | 2024-11-26 | 畅信达 | 信创改造。 |