Actions54
- 通讯录 - 成员 Actions
- 通讯录 - 部门 Actions
- 通讯录 - 角色 Actions
- 通讯录 - 管理员 Actions
- 通讯录 - 子管理员 Actions
- 轻流应用接口 - 应用管理 Actions
- 数据内容 - 应用数据 Actions
- 数据流程接口 - 流程操作 Actions
- 其他 Actions
- 任务委托 Actions
- 高级设置 Actions
通讯录 - 角色 → 创建角色
AI-generatedSummary
Create a new role in the Qingflow OA address book by specifying the role's name and optionally its ID in JSON format.
Inputs
- Body (required) — A JSON object containing the role details. Must include 'roleName' (string) and can include 'roleId' (integer or null).
- Options — Optional configuration including batching options (items per batch and batch interval in milliseconds) and a timeout for waiting for the server response header.
Output shape
a list of JSON objects representing the created role or error details for each input item
Supports both serial and concurrent execution controlled by batching options. If batching is enabled, multiple create requests are sent concurrently with configurable batch size and interval. Errors can be returned in the output if 'Continue On Fail' is enabled.