导入组织
接口地址
[接口服务器地址]/api/orgs/import.html
请求方法
POST
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 | 
| import_type | true | string | 导入类型 0 增量 1 全量 | 
| file | true | file | 文件 | 
注意事项
示例文件 import_usertemplate.json
dept_path:部门路径,account:帐号,name:姓名,pwd:密码,pwd_type:加密方式 3 sha256,sex:性别 0未知 1男 2女,position:职位,job_number:工号,email:邮箱,mobile:手机号码,phone:固定电话
调用样例及调试工具
测试接口返回结果(成功)
            {"status":1,"code":0,"msg":"","data":""}