WorkPro Manual

搜索部门

[Api Test]

Url

[接口服务器地址]/api/orgs/dept_search.html

Method

POST

Request Headers

Name 必选 Type Description
Content-Type true string application/json; charset=UTF-8
authen true string Authen 什么是认证码
appid true string AppID 什么是接入ID
timestamp true string Timestamp
uid true string UID
lang true string Language zh-cn,en-us

Request Body

Name 必选 Type Description
org_id false string 组织ID
key true string 查询类型 关键字

Debug Tool

Test

Return

            {"status":1,"code":0,"msg":"","data":{"list":[{"gid":"74211e58a9f511e98ba588d7f697be9a","name":"人事部","pid":"","code":"0005","sort":1000,"user_count":2,"type":"dept"},{"gid":"78d5759ea78d11e9957f88d7f697be9a","name":"研发部","pid":"","code":"0002","sort":1000,"user_count":2,"type":"dept"}]}}