首页 - 产品动态 - 新闻详情
云呼叫中心:获取队列信息
发布日期:
2020-08-24

功能描述:获取指定队列或所有队列的详细信息。

接口地址:http://www.mixcall.cn/admin/?m=interface&c=api&a=queueinfo

调用方式:GET请求。

接口参数:

u  queue:队列号码,不传递该参数时将获取所有队列信息。

调用实例:

http://www.mixcall.cn/admin/?m=interface&c=api&a=queueinfo&queue=90

返回值:操作成功: {"result":"1","data":{"90":{"queue":"90","name":"sales","ringtype":"\u8bb0\u5fc6\u632f\u94c3","max":"unlimited","wait":"0","maxwaittime":"00:00","maxwaittimetag":"0","holdtime":"3","weight":"0","abandoned":"3","completed":"3","servicelevel":"60","servicelevelperf":"100.0%","agents":{"6103":{"exten":"6103","dnd":"-1","status":"0"},"6107":{"exten":"6107","dnd":"-1","status":"0"},"6106":{"exten":"6106","dnd":"-1","status":"0"}}}},"error":0},data值转换成数组如下:

Array

(

    [90] => Array                                                    ----队列号码

        (

            [queue] => 90                                    ----队列号码

            [name] => sales                                 ----队列名称

            [ringtype] => 记忆振铃                   ----振铃策略

            [max] => unlimited                            ----最大等待人数

            [wait] => 0                                         ----当前等待人数

            [maxwaittime] => 00:00                    ----当前等待人数

            [maxwaittimetag] => 0                      ----队列中是否有人在等待

            [holdtime] => 3                                 ----平均等待时间

            [weight] => 0                                     ----队列权重

            [abandoned] => 3                              ----未接来电

            [completed] => 3               ----已接来电

            [servicelevel] => 60                          ----服务级别时间

            [servicelevelperf] => 100.0%      ----服务级别时间内接通率

            [agents] => Array                              ----表示里面为队列成员信息

                (

                    [6103] => Array                ----队列成员分机号码

                        (

                            [exten] => 6103 ----分机号码

                            [dnd] => -1        ----示忙状态,-1为示闲,其余为示忙

                            [status] => 0      ----分机状态,0为空闲

                        )

 

                    [6107] => Array

                        (

                            [exten] => 6107

                            [dnd] => -1

                            [status] => 0

                        )

 

                    [6106] => Array

                        (

                            [exten] => 6106

                            [dnd] => -1

                            [status] => 0

                        )

 

                )

 

        )

 

)

操作失败:{"result":"0","data":"","error":0}

 

 

       关于米糠云(Mixcom)

       深圳市米糠云科技有限公司是一家专注15年智能通讯服务商,提供全行业智能化云通讯解决方案,产品包含:智能呼叫中心、智能语音机器人、在线客服系统、云通讯(号码隐私保护、一键呼叫、语音SDK),已提供呼叫中心系统服务坐席超过50000+,客户超过3000+的呼叫中心系统方案,专业提供政府、地产、医疗、保险、金融、互联网、教育等行业呼叫中心解决方案

       咨询热线:4008-360-788

申请试用,即刻畅享顶级云通信产品和全方位服务

预约演示