员工活码分组创建

最后更新:2024/6/27

企业可通过此接口,创建员工活码分组

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/qrcode/staff/v2/add_group

参数说明:

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

Body参数:

{
  "user_id": "admin",
  "group_name": "员工活码分组一",
  "parent_id": 0,
  "sort_num": 1
}

参数说明:

参数 类型 必填 说明
user_id string 创建人user_id
group_name string 分组名称
parent_id long 父级分组id
sort_num int 排序值

返回值:


{
  "code": 0,
  "msg": "请求成功",
  "data": 100
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data boolean 操作结果 true 成功 false 失败

results matching ""

    No results matching ""