Actions105
- 知识库 Actions
- 群组管理 Actions
- 通讯录 Actions
- 组织架构 Actions
- 任务 Actions
- 云文档 Actions
- 多维表格 Actions
- 多维表格 - Delete row(s)
- 多维表格 - Get row(s)
- 多维表格 - If row exists
- 多维表格 - If row does not exist
- 多维表格 - Insert row
- 多维表格 - Update row(s)
- 多维表格 - Upsert row(s)
- 多维表格 - Create a Data Table
- 解析多维表格地址
- 创建多维表格
- 复制多维表格
- 获取多维表格元数据
- 更新多维表格元数据
- 列出数据表
- 新增数据表
- 更新数据表
- 删除数据表
- 列出视图
- 获取视图
- 新增视图
- 更新视图
- 删除视图
- 查询记录
- 查询记录-通过记录ID
- 新增记录
- 更新记录
- 删除记录
- 批量新增记录
- 批量更新记录
- 批量删除记录
- 列出字段
- 新增字段
- 更新字段
- 删除字段
- 消息 Actions
组织架构 → 批量获取员工列表
AI-generatedSummary
Retrieve a list of employees in bulk from the organizational directory in Feishu, with support for filtering, specifying employee and department ID types, selecting fields to return, and controlling pagination and batching options.
Inputs
- 凭证类型 (required) — Selects the credential type: user-level or application-level credentials.
- 筛选条件 — Define up to 10 filter conditions combined with AND logic; department ID and employment status must be used together.
- 员工 ID 类型 (required) — Specifies the type of employee ID to use for the query, e.g., Open ID, Union ID, or Employee ID.
- 部门 ID 类型 (required) — Defines the type of department ID used in the call, e.g., Open Department ID or Department ID.
- 查询字段 (required) — Multi-select list of employee data fields to retrieve; controls which fields are returned in the response.
- Return All (required) — Whether to return all matching employees or limit the number of results.
- Limit — Maximum number of employee records to return if Return All is false.
- Options — Additional options such as batching parameters (items per batch and batch interval in milliseconds) and request timeout.
Output shape
a list of employee records matching the filters and options specified
The returned data includes only the fields specified in the selected fields input, and respects pagination or the Return All setting. When batching is enabled, requests are made concurrently in specified batch sizes with optional intervals.
Examples
Example 1: Fetch 50 employees from department with ID 'dept_123' who are currently employed, returning their employee IDs and names.
Set filter to department ID = 'dept_123' and employment status = 1, select employee_id and name for query fields, set Return All to false and Limit to 50.