简要描述:

节点信息详情:即将作废

推荐使用:“成员信息详情”接口

接口说明:

请求方式 接口地址 Content-Type
POST {baseURL}/works/user_info application/json

请求参数说明:

参数名 必填 类型 说明
userId string 成员ID
showUserQrcode boolean 是否返回名片二维码
showUserHead boolean 是否返回头像图片

请求参数示例:

{
    "userId" : "xxxxxxxxxxxxxxxxx",
    "showUserQrcode" : true,
    "showUserHead" : true
}

返回参数说明:

参数名 必填 类型 说明
errcode int 错误码(0表示成功)
errmsg string 描述信息
datas array 数据集合
userId string 成员ID
userNickname string 成员昵称
userAlias string 成员别名
enterCertified boolean 企业是否认证
enterName string 企业名称
userState string 成员状态:
timeLastUserQrcode long 最后获取名片码的时间(时间戳)
timeLastCustList long 最后刷新客户列表的时间(时间戳)
disableFriend boolean 是否禁封好友
disableLoginViolation boolean 是否禁封违规登录
nodeId string 节点ID
timeLastOffline long 最后上线时间(时间戳)
timeLastOffline long 最后下线时间(时间戳)
version string 版本号
hostAddress string 主机地址
nodeState string 节点状态(状态枚举与节点列表一致)
nodeMemo string 备注说明
timeLastLoginQrcode long 登录二维码最后获取时间
imgBase64UserQrcode string 名片二维码的数据
imgBase64UserHead string 成员头像图片数据

返回示例:

正确时返回

{
    "errcode": 0,
    "errmsg": "ok",
    "datas": {
        "userId": "xxxxxxxxxxxxxxxx",
        "userNickname": "虚拟成员A",
        "userAlias": null,
        "enterCertified": false,
        "enterName": "虚拟企业A",
        "userState": "online",
        "timeLastCustList": 1684057529583,
        "timeLastUserQrcode": 1684055202512,
        "disableFriend": null,
        "disableLoginViolation": null,
        "nodeId": "8980f569-e31c-4357-8f37-2ec9ad9fe605",
        "timeLastOnline": 1684076405413,
        "timeLastOffline": 1684062596545,
        "version": "0.1.0429.x",
        "hostAddress": "127.0.0.1",
        "nodeState": "working",
        "nodeMemo": "工作中可操作",
        "timeLastLoginQrcode": null,
        "imgBase64UserQrcode": "iVBORw0KGgoAAAANSUhEUg...AAAYwAAAuQmCC",
        "imgBase64UserHead": "iVBORw0KGgoAAAANSUhEUgA...BJRU5ErkJggg==",
    }
}

错误时返回

{
    "errcode": 100,
    "errmsg": "系统错误"
}

备注:

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2023-09-06 20:49   作者:副官