获取员工信息 rest.bnAPI.common.getCompanyUsers

描述

获取公司员工信息

输入参数

返回结果

id 字段名 类型 描述
1 code Number 结果代码:0 成功
2 error_message String 错误信息
3 users List<Map<String, Object>> 员工信息

返回示例:

{
    "response":{
        "code":0,
        "map":{
            "userDoList":"[{"id":949.0,"userName":"******@wangjubao.com","password":"*********","mobile":"949","tel":"","email":"beita@wangjubao.com","section":"普通员工","realName":"","memo":"","role":0.0,"roleIds":"1737,1730,1723,1682,1639,1627,972,943,885,730,716,22","status":0.0,"createTime":"2013-07-19 00:00:00","updateTime":"2018-03-26 15:01:37","createUserId":1412.0,"remindCutoffDate":"2014-04-29 00:00:00","sellerServicerId":0.0,"gender":"","loginType":"0","qqNick":"","qqNo":"","tbNick":"","tbNo":"","workNick":"beita","companyId":"36","roleIdsV5":"-1","defaultSys":0.0,"crmSys":5.0,"workSys":1.0,"biSys":0.0,"jifenSys":0.0,"isAdmin":0.0,"sellerIds":"120055122","roleIdsWork":"-1","shortNamePinyin":"bt","fullNamePinyin":"beita","subAccountSid":"subaccountsid3","subToken":"","dateCreated":"datecreated3","voipAccount":"voipaccount3","voipPwd":"","deviceNo":"","deviceName":"","warnDate":"","openId":"0","lastLoginTime":"2018-03-26 15:01:37","taobaoMsg":"","isRemind":0.0,"supervisorId":1603.0,"nimId":"0","userIcon":"http://usericon.wangjubao.com/36_949_1509330280536png?OSSAccessKeyId\u003dbbumRUGlVWhB66Td\u0026Signature\u003dZqNQqjB8AOi97SFmLAlLdJt7OuM%3D\u0026Expires\u003d2140482280"}]",
            "result":"success"
        }
    }
}