saveCategory
Add a SOP category. If a parent category ID is provided, the new category will be placed under it; otherwise, it becomes a root category.
Instructions
新增 SOP 分类。调用前应先使用 selectCategoryTreeList 查询分类树,让用户选择父分类;将选择数据中的 id 作为 parentId。未传 parentId 时默认创建到 ROOT。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 新分类名称。 | |
| parentId | No | 父分类ID,来自 selectCategoryTreeList 返回的 Work Buddy 分类选择数据;不传则默认 ROOT。 |