Actions54
- 通讯录 - 成员 Actions
- 通讯录 - 部门 Actions
- 通讯录 - 角色 Actions
- 通讯录 - 管理员 Actions
- 通讯录 - 子管理员 Actions
- 轻流应用接口 - 应用管理 Actions
- 数据内容 - 应用数据 Actions
- 数据流程接口 - 流程操作 Actions
- 其他 Actions
- 任务委托 Actions
- 高级设置 Actions
通讯录 - 部门 → 获取部门列表
AI-generatedSummary
Retrieve the list of departments from the Qingflow OA address book, optionally scoped to sub-departments of a specified department.
Inputs
- Dept ID — Specify a department ID to fetch its sub-department list. If omitted, fetches top-level departments.
- Options — Configure additional request options including batching (concurrent requests) and timeout settings.
Output shape
a list of department records with details as provided by the Qingflow OA API
Supports batching where multiple requests can be made concurrently to improve performance. Timeout can be set to abort slow requests. Errors are returned as item-specific messages if 'continue on fail' is enabled.
Examples
Example 1: Retrieve all top-level departments
Leave 'Dept ID' empty, optionally configure batching to retrieve in parallel.
Example 2: Retrieve sub-departments of a specific department
Set 'Dept ID' to the desired department's ID to fetch its child departments.