企学院修改学员

拥有此API的权限集
学员管理-增删改(限企学院)

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.college.employee.update/1.0.0
  • 频率限制:10秒500次

在线调试工具

请求

响应

请求参数

参数名 必选 类型 说明
access_token string 专属token
user_name string 用户名
employee_id string 账号
user_id string 用户id
password string 密码
departments array 部门id
is_auth boolean 是否授权,true授权,false不授权,默认false
alias string 别名
gender string 性别:1男,0女
mobile string 手机号码
email string 邮箱
id_card string 身份证
position string 职位
entry_time string 入职时间
avatar string 头像

请求示例

{
    "access_token": "xe_xxxx",
    "employee_id":"",
    "user_name":"",
    "is_auth":true,
    "entry_time":"2021-10-20",
    "password":"xxxx",
    "departments":["1"]
}

返回参数

参数名 类型 说明
code int 错误码
msg string 错误描述
data object 返回值
data.user_id string 用户id

返回示例

{
    "code": "0",
    "msg": "OK",
    "data":{
        user_id: "u_wework_60debc0758022_uhI0istfKOgXflx9"
    }
}

results matching ""

    No results matching ""