轻流OA icon

轻流OA

轻流OA API集成,支持通讯录、任务委托、应用管理、数据操作等功能

通讯录 - 部门 → 更新部门

AI-generated

Summary

Update a department in the Qingflow OA address book by specifying its department ID and details in a JSON request body.

Inputs

  • Dept ID (required) — The unique identifier of the department to update; can be obtained via the department list operation.
  • Body (required) — The JSON-formatted request body including mandatory fields deptId (int) and name (string), and optional fields parentId (int), deptLeader (array), and ordinal (int, 0-2^30).
  • Options — Optional settings including batching (to perform concurrent requests with batch size and interval) and timeout (in milliseconds) to limit server response wait time.

Output shape

a single execution data item containing the API response after updating the specified department

Supports optional parallel execution via batching settings. On error, includes error message in the output unless continueOnFail is disabled, which will stop execution with an error.

Links

Discussion