- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
获取部门成员详情
GET
http://127.0.0.1/cgi-bin/school/user/list
第三方应用开发/家校沟通/学生与家长管理
最后修改时间:2022-08-30 03:03:36
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/90001/90143/92043
https://open.work.weixin.qq.com/api/doc/90000/90135/92338
请求参数
Query 参数
department_id
string
获取的部门id
示例值:
{{department_id}}
fetch_child
string
可选
示例值:
{{fetch_child}}
access_token
string
调用接口凭证
示例值:
{{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://127.0.0.1/cgi-bin/school/user/list?department_id={{department_id}}&access_token={{access_token}}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
errmsg
string
可选
students
array [object {4}]
学生列表
student_userid
string
可选
name
string
可选
department
array[integer <int32>]
可选
parents
array [object {5}]
可选
示例
{
"errcode": 0,
"errmsg": "string",
"students": [
{
"student_userid": "string",
"name": "string",
"department": [
0
],
"parents": [
{
"external_userid": "string",
"parent_userid": "string",
"mobile": "string",
"is_subscribe": 0,
"relation": "string"
}
]
}
]
}

修改于 2022-08-30 03:03:36