用户详细信息


接口地址:/api/user/user-detail/
Http请求方式:POST
内容格式:application/json
权限:export_users
参数:
参数 参数名 类型 是否必须 说明
user id user_id int 用户唯一标识id
timestamp timestamp string 时间戳
sign sign string 签名
返回值:
  • ee_no: 员工号
  • email: 邮箱地址(可能为空)
  • mobile: 手机号
  • user_id: 员工唯一标识id
  • name: 员工姓名
  • national_id: 身份证号
  • national_id_type: 身份证类型
  • status: 用户状态
    • created:初始化
    • validated:已验证
    • code_sent:已发送邀请码
    • active:已注册
    • cancel:已取消
    • deleted:已删除
    • init

用户处于code_sent,init和active时应认为有效

请求示例:
{
    "user_id": 416199
}
返回示例:
{
    "result_code": "user_detail",
    "result_messages": "",
    "result": {
        "ee_no": "22bp29505",
        "org_code": "boe00010018",
        "username": "boe22bp29505",
        "mobile": "15831283360",
        "email": "",
        "national_id": "130623198907161877",
        "national_id_type": "ID",
        "status":"active"
    },
    "success": true
}