来电弹屏

  • 来电弹屏接口、采用主动查询的方式获取、建议3 秒钟查询1 次

接口地址

GET/webAPI/webHttpAPI.php

参数:

参数名 是否必须 类型 参数值 说明
userName string 公司账号名 公司账号名
passWord string 密码 通过获取密钥接口生成
model string popEvent 调用方法
agent string 分机号 需要获取该分机的来电号码记录

请求示例

http://xxx.xxx.xxx.xxx/webAPI/webHttpAPI.php?model=popEvent&agent=801&userName=xxx&passWord=xxx

返回信息

{
    "status": true,
    "msg": {
        "calla": "810",
        "callb": "18123676919",
        "uid": "1566799335.7853",
        "status": "callout"
    }
}
参数名 类型 参数值
status boolean true false
msg string json字符串
calla string 主叫
callb string 被叫
uid string 通话唯一标识
status string callout 呼出 callin 呼入

根据上返回的信息,我们可构建出自己业务所需要的弹屏页面,如下图: 弹屏界面