查询员工所在权限组列表的权限身份接口文档

最后更新:2022/11/03

企业可通过此接口查询指定员工的权限身份,如果是管理员可获取在权限组

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/authgroup/get_user_auth_group_list_detail

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "user_id": "fake_data"
}
参数 类型 必填 说明
user_id string 员工ID

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": [
    {
      "auth_group_id": 39,
      "auth_group_name": "fake_data",
      "type": 0,
      "user_type": 2
    },
    {
      "auth_group_id": 391,
      "auth_group_name": "fake_data",
      "type": 1,
      "user_type": 1
    }
  ]
}

参数说明:

参数 类型 说明
code int 返回码,0-请求成功,
msg string 对返回码的文本描述内容
data array[] 结果
auth_group_id int 权限组ID
auth_group_name string 权限组名称
type int 类型:0为超级管理组,1为自定义管理组
user_type int 类型:0为超级管理员,1:分级管理员 2:普通员工

results matching ""

    No results matching ""