接口地址
[接口服务器地址]/api/orgs/dept_set.html
Request Headers
名称 |
必选 |
类型 |
说明 |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
认证码 什么是认证码
|
appid |
true |
string |
接入ID 什么是接入ID
|
timestamp |
true |
string |
时间戳
|
uid |
true |
string |
当前帐号
|
lang |
true |
string |
语言 zh-cn,en-us
|
Request Body
名称 |
必选 |
类型 |
说明 |
org_id |
true |
string |
组织ID |
dept_id |
true |
string |
部门ID |
dept_name |
true |
string |
部门名称 |
dept_pid |
false |
string |
上级部门ID |
dept_sort |
false |
integer |
排序号 |
返回结果(成功)
{"status":1,"code":0,"msg":"","data":{"org_id":"33815212addf11e9bc823ea0674a6c29","name":"部门1","pid":"","sort":"","code":"0001","full_name":"部门1","py_first":"bm1","py_full":"bumen1","gid":"01ef24aa725a11eab24e88d7f697be9a","create_time":1585554149}}