获取所有用户

使用流程

接口地址

GET/webAPI/webHttpAPI.php

参数:

参数名 是否必须 类型 参数值 说明
userName string 公司账号名 公司账号名
passWord string 密码 通过获取密钥接口生成
model string getCompanyUsers 调用方法

请求示例

http://xxx.xxx.xxx.xxx/webAPI/webHttpAPI.php?model=getCompanyUsers&userName=xxx&passWord=xxxx

返回信息

{
    "status":true,
    "msg":[
        {
            "username":"wx8036",
            "password":"8efbdfa284eb4c68eac6a5a7d277997e",
            "extension":"8036",
            "dnd":"0",
            "status":"4"
        },
        {
            "username":"wx8037",
            "password":"8efbdfa284eb4c68eac6a5a7d277997e",
            "extension":"8037",
            "dnd":"0",
            "status":"4"
        }
    ]
}
参数名 类型 参数值
status boolean true false
msg string
∟username string 用户名
∟password string 用户密码密文
∟extension string 分机号
∟status string 分机状态 0 空闲 1 通话中 4未注册 8震铃
∟dnd string 示忙状态 1示忙中 0非示忙