轻流OA icon

轻流OA

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

通讯录 - 子管理员 → 更新子管理员

AI-generated

Summary

Update the details of a specific Sub Manager in the Qingflow OA Address Book by providing the Sub Manager ID and the updated properties as a JSON body.

Inputs

  • Sub Manager ID (required) — The unique ID of the Sub Manager to update.
  • Body (required) — A JSON object containing the fields to update for the Sub Manager, including subManagerName (string), subManagerDisplayName (object), months (array), years (array), deptIds (array), boolean flags like beingSubDept, includeSubDepts, and other configuration objects and properties as specified.
  • Options — Additional options such as batching parameters (items per batch, batch interval) to enable concurrent updates, and a timeout for the request.

Output shape

a list of updated Sub Manager records in JSON format, or error information for failed updates.

Supports processing multiple inputs either sequentially or in batches if batching is enabled. Errors can be returned per item if 'Continue On Fail' is set; otherwise errors will stop execution.

Examples

Example 1: Update a single Sub Manager’s name and department IDs.

Provide Sub Manager ID in 'Sub Manager ID' field and in 'Body' JSON set 'subManagerName' and 'deptIds' with updated values.

Links

Discussion