部门创建

创建部门信息

请求方式:POST
请求URL:/v3/department/create
参数说明:

参数 类型 必传(Y/N) 说明
name String Y 部门名称
code String Y 部门编码
parentId String N 上级部门ID
type integer N 部门类型,默认0,0-部门,1-事业部,2-事业群,3-组,4-中心,5-子公司
adminId String N 管理员ID
city String N 所属城市
remark String N 备注

出参说明:

参数 类型 必传(Y/N) 说明
errcode Integer Y 0成功,其他失败
errmsg String Y 结果描述
id String Y 部门id

样例:

{
  "errcode": 0,
  "errmsg": "created",
  "id": "3c2142ac6c134bd2a44231a835f39f2f"
}
2020 © 企家有道网络技术(北京)有限公司版权所有@京ICP备15035315号 all right reserved,powered by Gitbookupdate by: 2020-12-16 14:23:56

results matching ""

    No results matching ""