轻流OA icon

轻流OA

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

通讯录 - 部门 → 增加部门成员

AI-generated

Summary

Add one or more members to a specified department in the Qingflow OA address book by specifying the department ID and user IDs.

Inputs

  • Dept ID (required) — The ID of the department to which members will be added; can be obtained by retrieving the department list.
  • Body (required) — A JSON object including 'deptId' (integer) indicating the target department and 'userIds' (array) listing the user IDs of members to add.
  • Options — Optional configuration parameters including batching (to control concurrency and intervals of requests) and timeout for the API call.

Output shape

a list of items containing the API response for each input item

Supports optional batching to perform concurrent requests in specified batch sizes with optional intervals. If batching is disabled, handles requests serially. Errors can be managed with 'continue on fail' option. The operation returns the JSON responses from the Qingflow OA API corresponding to the addition of department members.

Links

Discussion