Actions45
- 部门与成员 Actions
- Wi-Fi Actions
- 终端管理 Actions
- 软件管理 Actions
部门与成员 → 获取部门列表
AI-generatedSummary
Retrieve the list of departments from 飞连 (Feilian) Open Platform, optionally filtered by a specific department ID.
Inputs
- 部门 ID — Department ID in the format od_xxx. If left empty, the operation fetches the entire organizational structure.
- Options — Additional options including batching parameters and request timeout to control concurrency and request timing.
Output shape
a list of department records returned as JSON objects.
Supports optional batching for concurrent requests where the batch size and interval can be specified. If batching is enabled, multiple requests may be made in parallel. The operation can handle errors per item according to node settings (continueOnFail). Timeout option controls how long to wait for the server response header before aborting the request; 0 disables timeout.
Examples
Example 1: Fetch all departments in the organization
Leave the 部门 ID input empty to retrieve the full organizational structure.
Example 2: Fetch a specific department's details
Set 部门 ID to the target department's od_xxx identifier to get that department's information only.