
# 在不同分支或者迭代下批量修改用例 - BatchUpdateTestCasesInDiffVersion
#### 功能介绍
此接口用于在不同分支或者迭代下批量修改用例,传入用例信息集合进行修改
#### 调用方法
请参见[如何调用API](https://support.huaweicloud.com/api-testman/cloudtest_03_2000.html)。
#### URI
PUT /v4/batch/update/testcases
#### 请求参数
表1请求Body参数 
| 参数       | 是否必选 | 参数类型                                                                                      | 描述   |
|:---|:---|:---|:---|
| \[数组元素\] | 是    | Array of [TestCaseInfo] objects | 用例信息 |
   
 表2TestCaseInfo 
| 参数                     | 是否必选 | 参数类型                                                                                                          | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|:---|:---|:---|:---|
| case_uri               | 否    | String                                                                                                        | **参数解释** 用例的主键 **约束限制** 长度限制32字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| attachments            | 否    | Array of [TestCaseAttachmentInfo] objects | **参数解释**: 对外附件 **约束限制**: 不涉及 **取值范围**: 不涉及 **默认取值**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| steps                  | 否    | Array of [TestCaseStepInfo] objects             | **参数解释**: 测试步骤 **约束限制**: 不涉及 **取值范围**: 0-100 **默认取值**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| author                 | 否    | String                                                                                                        | **参数解释** 创建人 **约束限制** 1-32个英文或者数字 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| name                   | 是    | String                                                                                                        | **参数解释** 名称 **约束限制** 长度限制128字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| rank                   | 是    | Integer                                                                                                       | **参数解释** 用例等级 **约束限制** 不涉及 **取值范围** 取值范围：0,1,2,3,4 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| owner                  | 否    | String                                                                                                        | **参数解释** 处理人 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| preparation            | 否    | String                                                                                                        | **参数解释** 前置条件 **约束限制** 长度限制3000字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| remark                 | 否    | String                                                                                                        | **参数解释** 备注 **约束限制** 不涉及 **取值范围** 不超过20000字符 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| stage                  | 否    | String                                                                                                        | **参数解释** 测试阶段 **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| activity               | 否    | String                                                                                                        | **参数解释** 测试类型 **约束限制** 长度限制64字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| keywords               | 否    | String                                                                                                        | **参数解释** 关键词 **约束限制** 长度限制512字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| market                 | 否    | String                                                                                                        | **参数解释** apitest标记是否代码已提交 **约束限制** 长度限制1024字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| designer               | 否    | String                                                                                                        | **参数解释** 设计者 **约束限制** 长度限制64字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| tags                   | 否    | String                                                                                                        | **参数解释** 标签 **约束限制** 长度限制512字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| region                 | 否    | String                                                                                                        | **参数解释** 逻辑region，外部使用公有云实际区域，内部使用默认值 **约束限制** 长度限制32字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| relate_type            | 否    | String                                                                                                        | **参数解释**: 关联关系类型 **约束限制**: 不涉及 **取值范围**: - bug，缺陷。   - requirement，需求。    **默认取值**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| service_type           | 是    | Integer                                                                                                       | **参数解释**: 服务类型 **约束限制**: 不涉及 **取值范围**: - -1，全量用例。   - 0，手工测试。   - 1，接口自动化。   - 7，功能自动化。   - 8，WebUI自动化。   - 100，自定义自动化(工厂)。   - 11，性能自动化。    **默认取值**: 不涉及 |
| only_change_script     | 否    | String                                                                                                        | **参数解释** 更新接口用例的java脚本路径标识 **约束限制** 长度限制32字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| add_to_iterator        | 否    | String                                                                                                        | **参数解释** 需求添加到迭代标识 **约束限制** 长度限制5字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| need_update_relation   | 否    | String                                                                                                        | **参数解释** 是否修改关联关系 **约束限制** 长度限制5字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| creation_version_uri   | 否    | String                                                                                                        | **参数解释** 创建版本Uri **约束限制** 11到34位英文或数字 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| number                 | 否    | String                                                                                                        | **参数解释** 用例编号 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| case_type              | 否    | Integer                                                                                                       | **参数解释**: 用例类型 **约束限制**: 不涉及 **取值范围**: - 0，手工测试。   - 1，接口自动化。   - 2，性能用例。    **默认取值**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| platform_type          | 否    | Integer                                                                                                       | **参数解释** 执行平台类型 **约束限制** 不涉及 **取值范围** 取值范围：-128-127 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| test_type              | 否    | Integer                                                                                                       | **参数解释**: 测试类型 **取值范围**: - 1，功能性测试。   - 2，兼容性测试。   - 4，性能测试。   - 15，易用性测试。   - 22，可靠性测试。   - 14，安全性测试。   - 21，可服务性测试。                                                                                                                                                                                                     |
| design_note            | 否    | String                                                                                                        | **参数解释** 设计描述 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| test_step              | 否    | String                                                                                                        | **参数解释** 测试步骤 **约束限制** 长度限制250000字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| expect_output          | 否    | String                                                                                                        | **参数解释** 期望结果 **约束限制** 长度限制250000字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| env_type               | 否    | String                                                                                                        | **参数解释** 测试环境类型 **约束限制** 长度限制512字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| exe_platform           | 否    | String                                                                                                        | **参数解释** 执行平台 **约束限制** 长度限制200字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| testcase_project       | 否    | String                                                                                                        | **参数解释** 测试工程 **约束限制** 长度限制1024字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| svn_script_path        | 否    | String                                                                                                        | **参数解释** 脚本路径 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| map_restrict           | 否    | String                                                                                                        | **参数解释** 约束条件 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| network_script_name    | 否    | String                                                                                                        | **参数解释** 网络脚本名 **约束限制** 长度限制500字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| auto_type              | 否    | Integer                                                                                                       | **参数解释**: 自动化类型 **约束限制**: 不涉及 **取值范围**: - 0，非自动化。   - 1，是自动化。    **默认取值**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| to_be_auto_exec        | 否    | Integer                                                                                                       | **参数解释** 被自动化执行 **约束限制** 不涉及 **取值范围** -128-127 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| last_result            | 否    | String                                                                                                        | **参数解释** 最后一次结果 **约束限制** 长度限制16字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| last_result_uri        | 否    | String                                                                                                        | **参数解释** 最后一次结果Uri **约束限制** 不涉及 **取值范围** 11-34位数字或英文 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| feature_uri            | 否    | String                                                                                                        | **参数解释** 目录Uri **约束限制** 不涉及 **取值范围** 11-34位数字或英文 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| interface_name         | 否    | String                                                                                                        | **参数解释** 测试接口名 **约束限制** 长度限制200字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| snp_no                 | 否    | String                                                                                                        | **参数解释** 网络问题ID **约束限制** 长度限制500字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| dr_relation_id         | 否    | String                                                                                                        | **参数解释** 关联需求编号 **约束限制** 不涉及 **取值范围** 1-32位数字 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| test_base_num          | 否    | String                                                                                                        | **参数解释** 测试基数 **约束限制** 长度限制200字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| automatically_executed | 否    | Integer                                                                                                       | **参数解释** 是否被自动化执行 **约束限制** 不涉及 **取值范围** -128-127 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| first_execute_time     | 否    | String                                                                                                        | **参数解释** 第一次执行时间 **约束限制** d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2} **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| detect_type            | 否    | String                                                                                                        | **参数解释** 检测类型 **约束限制** 长度限制100字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| execute_param          | 否    | String                                                                                                        | **参数解释** 执行参数 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| test_feature           | 否    | String                                                                                                        | **参数解释** 分析领域 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| is_contract_testcase   | 否    | Integer                                                                                                       | **参数解释** 是否是契约用例，0:表示非契约用例, 1：表示契约用例 **约束限制** 不涉及 **取值范围** 0,1 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| time_cost              | 否    | Double                                                                                                        | **参数解释** 总共耗时 **约束限制** 不涉及 **取值范围** 2147483648.44-2147483647.44 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| custom_field_1         | 否    | String                                                                                                        | **参数解释** 自定义字段1 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_2         | 否    | String                                                                                                        | **参数解释** 自定义字段2 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_3         | 否    | String                                                                                                        | **参数解释** 自定义字段3 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_4         | 否    | String                                                                                                        | **参数解释** 自定义字段4 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_5         | 否    | String                                                                                                        | **参数解释** 自定义字段5 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_6         | 否    | String                                                                                                        | **参数解释** 自定义字段6 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_7         | 否    | String                                                                                                        | **参数解释** 自定义字段7 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_8         | 否    | String                                                                                                        | **参数解释** 自定义字段8 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_9         | 否    | String                                                                                                        | **参数解释** 自定义字段9 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| custom_field_10        | 否    | String                                                                                                        | **参数解释** 自定义字段10 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_11        | 否    | String                                                                                                        | **参数解释** 自定义字段11 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_12        | 否    | String                                                                                                        | **参数解释** 自定义字段12 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_13        | 否    | String                                                                                                        | **参数解释** 自定义字段13 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_14        | 否    | String                                                                                                        | **参数解释** 自定义字段14 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_15        | 否    | String                                                                                                        | **参数解释** 自定义字段15 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_16        | 否    | String                                                                                                        | **参数解释** 自定义字段16 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_17        | 否    | String                                                                                                        | **参数解释** 自定义字段17 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_18        | 否    | String                                                                                                        | **参数解释** 自定义字段18 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_19        | 否    | String                                                                                                        | **参数解释** 自定义字段19 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_20        | 否    | String                                                                                                        | **参数解释** 自定义字段20 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_21        | 否    | String                                                                                                        | **参数解释** 自定义字段21 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_22        | 否    | String                                                                                                        | **参数解释** 自定义字段22 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_23        | 否    | String                                                                                                        | **参数解释** 自定义字段23 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_24        | 否    | String                                                                                                        | **参数解释** 自定义字段24 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| custom_field_25        | 否    | String                                                                                                        | **参数解释** 自定义字段25 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| be_auto_type_time      | 否    | String                                                                                                        | **参数解释** 记录用例由非自动化变为自动化类型的时间 **约束限制** d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2} **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| compare_number         | 否    | String                                                                                                        | **参数解释** 配对用例编号 **约束限制** 长度限制100字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| scene_flag             | 否    | String                                                                                                        | **参数解释** 场景标识 **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| base_flag              | 否    | String                                                                                                        | **参数解释** 场景标识 **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| para_validator         | 否    | String                                                                                                        | **参数解释** 区别是否从yaml中生成的用例，默认false **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** false                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| knet_node_id           | 否    | String                                                                                                        | **参数解释** knet节点id **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| last_exe_author        | 否    | String                                                                                                        | **参数解释** 最后一次执行用户 **约束限制** 长度限制50字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| cloud_carrier          | 否    | String                                                                                                        | **参数解释** 运营商 **约束限制** 长度限制100字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| market_place           | 否    | String                                                                                                        | **参数解释** 应用市场 **约束限制** 长度限制1024字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| test_mind_id           | 否    | String                                                                                                        | **参数解释** 脑图id **约束限制** 长度限制256字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| test_mind_url          | 否    | String                                                                                                        | **参数解释** 脑图url **约束限制** 长度限制1024字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| commit_url             | 否    | String                                                                                                        | **参数解释** git提交url **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| test_pattern_number    | 否    | String                                                                                                        | **参数解释** 测试模式编号 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| test_factor_number     | 否    | String                                                                                                        | **参数解释** 测试因子编号 **约束限制** 长度限制65535字符 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| status_code            | 否    | String                                                                                                        | **参数解释** 状态Code **约束限制** \[-\]?\[0-9\]{1,5} **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| result_code            | 否    | String                                                                                                        | **参数解释** 测试因子编号 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| release_id             | 否    | String                                                                                                        | **参数解释** 迭代ID **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| label_id               | 否    | String                                                                                                        | **参数解释** 标签ID **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| label_names            | 否    | Array of strings                                                                                              | **参数解释** 用例操作时，标签名列表 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| module_id              | 否    | String                                                                                                        | **参数解释** 模块ID **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| execute_latest_time    | 否    | String                                                                                                        | **参数解释** 最后执行时间 **约束限制** 不涉及 **取值范围** 格式为yyyy-MM-dd HH:mm:ss **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| execute_duration       | 否    | String                                                                                                        | **参数解释** 执行时长 **约束限制** 不涉及 **取值范围** 单位（毫秒） **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| is_keyword             | 否    | Integer                                                                                                       | **参数解释** 是否关键用例 **约束限制** 不涉及 **取值范围** -128-127 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| release_dev            | 否    | String                                                                                                        | **参数解释** 测试版本号 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| new_created            | 否    | Integer                                                                                                       | **参数解释** 是否用户新增用例 **约束限制** 不涉及 **取值范围** -128-127 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| execute_parameter      | 否    | String                                                                                                        | **参数解释** 执行参数 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| project_uuid           | 是    | String                                                                                                        | **参数解释** 项目UUID，项目唯一标识，固定长度32位字符（字母和数字）。获取方式请参见[获取项目ID](https://support.huaweicloud.com/api-testman/cloudtest_03_4003.html) **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| version_uri            | 否    | String                                                                                                        | **参数解释** 分支或者迭代uri **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
   
 表3TestCaseAttachmentInfo 
| 参数              | 是否必选 | 参数类型    | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|:---|:---|:---|:---|
| override        | 否    | Boolean | **参数解释** 附件是否要被覆盖 **约束限制** 不涉及 **取值范围** true\|false **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| doc_id          | 否    | String  | **参数解释** 文档id **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| file_name       | 是    | String  | **参数解释** 文件名 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| file_path       | 否    | String  | **参数解释** 文件路径 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| file_type       | 否    | String  | **参数解释**: 文件类型 **约束限制**: 根据文件后缀扩展名填入 **取值范围**: - txt，文本文件。   - img，图片文件。    等等 **默认取值**: 不涉及 |
| file_size       | 否    | String  | **参数解释** 文件大小 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| override_id     | 否    | String  | **参数解释** 重复用例ID **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| related_type    | 否    | String  | **参数解释**: 相关类型 **约束限制**: 不涉及 **取值范围**: - 0，本地上传。   - 1，关联文档。    **默认取值**: 不涉及                                                                     |
| store_file_name | 否    | String  | **参数解释** 保存文件名 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| system_type     | 否    | String  | **参数解释**: 系统类型 **约束限制**: 根据系统类型传入对应的值 **取值范围**: - docman，docman系统。   - testman，testman系统。    **默认取值**: 不涉及                                        |
| storage_system  | 否    | String  | **参数解释** 区分文件存储系统 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
   
 表4TestCaseStepInfo 
| 参数            | 是否必选 | 参数类型   | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|:---|:---|:---|:---|
| test_step     | 否    | String | **参数解释** 测试步骤 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及    |
| expect_result | 否    | String | **参数解释** 预期结果 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及    |
| step_actual   | 否    | String | **参数解释** 步骤的实际结果 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及 |
| step_result   | 否    | String | **参数解释** 步骤结果 **约束限制** 不涉及 **取值范围** 不涉及 **默认取值** 不涉及    |
   
#### 响应参数
**状态码：200**
表5响应Body参数 
| 参数    | 参数类型                                                                                                                           | 描述      |
|:---|:---|:---|
| value | Array of [BatchCreateUpdateApiTestCaseVo] objects | 请求返回的数据 |
   
 表6BatchCreateUpdateApiTestCaseVo 
| 参数                      | 参数类型                                                                                       | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|:---|:---|:---|
| uri                     | String                                                                                     | 资源URI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| type                    | String                                                                                     | **参数解释**: 资源类型 **取值范围**: - TestCase，用例。   - Task，任务。   - TestVersion，分支。   - IteratorTestCase，迭代用例。    |
| author                  | String                                                                                     | 创建人                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| name                    | String                                                                                     | 名称                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| rank                    | Integer                                                                                    | 级别                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| last_modifier           | String                                                                                     | 最后修改人                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| last_modified           | String                                                                                     | 最后修改时间                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| last_modified_timestamp | Long                                                                                       | 修改时间时间戳                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| last_change_time        | String                                                                                     | 最后变更时间                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| version_uri             | String                                                                                     | 版本URI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| origin_uri              | String                                                                                     | 源资源URI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| parent_uri              | String                                                                                     | 父资源URI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| parent_path             | String                                                                                     | 父资源路径                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| creation_version_uri    | String                                                                                     | 创建版本URI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| creation_date           | String                                                                                     | 创建时间                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| creation_date_timestamp | Long                                                                                       | 创建时间时间戳                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| author_name             | String                                                                                     | 创建人名称                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| comment                 | String                                                                                     | 备注                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| number                  | String                                                                                     | 编号                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| success_list            | Array of [TestCaseVo] objects     | 创建成功的用例列表                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| failed_list             | Array of [TestCaseInfo] objects | 创建失败的用例列表                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
   
 表7TestCaseVo 
| 参数                      | 参数类型                                                                                 | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|:---|:---|:---|
| uri                     | String                                                                               | **参数解释** 用例URI **取值范围** 11-34位字母及数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| type                    | String                                                                               | **参数解释**: 资源类型 **取值范围**: - TestCase，用例。   - Task，任务。   - TestVersion，分支。   - IteratorTestCase，迭代用例。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| author                  | String                                                                               | **参数解释** 创建人 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| name                    | String                                                                               | **参数解释** 名称 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| rank                    | Integer                                                                              | **参数解释** 用例等级 **取值范围** - 0，Priority 0。   - 1，Priority 1。   - 2，Priority 2。   - 3，Priority 3。   - 4，Priority 4。                                                                                                                                                                                                                                                                                                                                                                                   |
| preparation             | String                                                                               | **参数解释** 前置条件 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| remark                  | String                                                                               | **参数解释** 备注 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| stage                   | String                                                                               | **参数解释** 测试阶段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| activity                | String                                                                               | **参数解释** 测试类型 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| keywords                | String                                                                               | **参数解释** 关键词 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| market                  | String                                                                               | **参数解释** apitest标记是否代码已提交 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| designer                | String                                                                               | **参数解释** 设计者 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| tags                    | String                                                                               | **参数解释** 标签 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| execute_parameter       | String                                                                               | **参数解释** 执行参数 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| region                  | String                                                                               | **参数解释** 逻辑region **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| owner                   | String                                                                               | **参数解释** 处理人id，IteratorTestCase字段 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| last_modifier           | String                                                                               | **参数解释** 最后修改人 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| last_modified           | String                                                                               | **参数解释** 最后修改时间 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| last_modified_timestamp | Long                                                                                 | **参数解释** 修改时间时间戳 **取值范围** 时间戳格式，单位为毫秒                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| last_change_time        | String                                                                               | **参数解释** 最后变更时间 **取值范围** 时间格式为"yyyy-MM-dd HH:mm:ss"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| version_uri             | String                                                                               | **参数解释** 版本URI **取值范围** 11-34位字母及数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| origin_uri              | String                                                                               | **参数解释** 源资源URI **取值范围** 11-34位字母及数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| parent_uri              | String                                                                               | **参数解释** 父资源URI **取值范围** 11-34位字母及数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| parent_path             | String                                                                               | **参数解释** 父资源路径 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| creation_version_uri    | String                                                                               | **参数解释** 创建版本URI **取值范围** 11-34位字母及数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| creation_date           | String                                                                               | **参数解释** 创建时间 **取值范围** 时间格式为"yyyy-MM-dd HH:mm:ss"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| creation_date_timestamp | Long                                                                                 | **参数解释** 创建时间时间戳 **取值范围** 时间戳格式，单位为毫秒                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| author_id               | String                                                                               | **参数解释** 创建人ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| author_name             | String                                                                               | **参数解释** 创建人名称 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| comment                 | String                                                                               | **参数解释** 备注 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| number                  | String                                                                               | **参数解释** 编号 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| case_type               | Integer                                                                              | **参数解释**: 用例类型 **取值范围**: - 0，手工测试。   - 1，接口自动化。   - 2，性能用例。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| platform_type           | Integer                                                                              | **参数解释** 执行平台类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| service_type            | Integer                                                                              | **参数解释**: 服务类型 **取值范围**: - -1，全量用例。   - 0，手工测试。   - 1，接口自动化。   - 7，功能自动化。   - 8，WebUI自动化。   - 100，自定义自动化(工厂)。   - 11，性能自动化。    |
| service_type_name       | String                                                                               | **参数解释** 服务类型名称 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| test_type               | Integer                                                                              | **参数解释**: 测试类型 **取值范围**: - 1，性能。   - 2，安全。   - 3，功能。   - 4，韧性可靠性。   - 5，过载场景。                                                                                                                                                                                                                                                                                                                                                                                                                    |
| test_type_name          | String                                                                               | **参数解释** 测试类型名称 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| design_note             | String                                                                               | **参数解释** 设计描述 **取值范围** 长度1-128字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| test_step               | String                                                                               | **参数解释** 测试步骤 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| expect_output           | String                                                                               | **参数解释** 期望结果 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| env_type                | String                                                                               | **参数解释** 测试环境类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| exe_platform            | String                                                                               | **参数解释** 执行平台 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| testcase_project        | String                                                                               | **参数解释** 测试工程 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| svn_script_path         | String                                                                               | **参数解释** 脚本路径 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| map_restrict            | String                                                                               | **参数解释** 约束条件 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| network_script_name     | String                                                                               | **参数解释** 网络脚本名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| auto_type               | Integer                                                                              | **参数解释**: 自动化类型 **取值范围**: - 0，非自动化。   - 1，是自动化。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| to_be_auto_exec         | Integer                                                                              | **参数解释** 被自动化执行 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| last_result             | String                                                                               | **参数解释** 最后一次结果 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| last_result_uri         | String                                                                               | **参数解释** 最后一次结果Uri **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| feature_uri             | String                                                                               | **参数解释** 目录Uri **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| feature_name            | String                                                                               | **参数解释** 目录名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| interface_name          | String                                                                               | **参数解释** 测试接口名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| snp_no                  | String                                                                               | **参数解释** 网络问题ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| dr_relation_id          | String                                                                               | **参数解释** 关联需求编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| issue_id                | String                                                                               | **参数解释** 工作项id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| issue_tracker_id        | String                                                                               | **参数解释** 工作项类型id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| issue_assign_status     | String                                                                               | **参数解释** 工作项分配状态 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| issue_name              | String                                                                               | **参数解释** 需求名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| issue_design_owner      | String                                                                               | **参数解释** 工作项设计责任人 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| issue_design_owner_d    | String                                                                               | **参数解释** 工作项设计责任人id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| tracker_name            | String                                                                               | **参数解释** 工作项类型名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| defect_list             | Array of [NameAndId] objects | **参数解释** 缺陷列表 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| result_name             | String                                                                               | **参数解释** 结果名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_base_num           | String                                                                               | **参数解释** 测试基数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| automatically_executed  | Integer                                                                              | **参数解释** 是否被自动化执行 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| first_execute_time      | String                                                                               | **参数解释** 第一次执行时间 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| detect_type             | String                                                                               | **参数解释** 检测类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| execute_param           | String                                                                               | **参数解释** 执行参数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_feature            | String                                                                               | **参数解释** 分析领域 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| is_contract_testcase    | Integer                                                                              | **参数解释** 是否是契约用例 **取值范围** 0:表示非契约用例, 1：表示契约用例                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| time_cost               | Double                                                                               | **参数解释** 总共耗时 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| be_auto_type_time       | String                                                                               | **参数解释** 记录用例由非自动化变为自动化类型的时间 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| compare_number          | String                                                                               | **参数解释** 配对用例编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| scene_flag              | String                                                                               | **参数解释** 场景标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| base_flag               | String                                                                               | **参数解释** 场景标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| para_validator          | String                                                                               | **参数解释** 区别是否从yaml中生成的用例 **取值范围** 默认false                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| knet_node_id            | String                                                                               | **参数解释** knet节点id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| last_exe_author         | String                                                                               | **参数解释** 最后一次执行用户 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| cloud_carrier           | String                                                                               | **参数解释** 运营商 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| market_place            | String                                                                               | **参数解释** 应用市场 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_mind_id            | String                                                                               | **参数解释** 脑图id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_mind_url           | String                                                                               | **参数解释** 脑图url **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| commit_url              | String                                                                               | **参数解释** git提交url **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| test_pattern_number     | String                                                                               | **参数解释** 测试模式编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| test_factor_number      | String                                                                               | **参数解释** 测试因子编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| status_code             | String                                                                               | **参数解释** 状态Code **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| result_code             | String                                                                               | **参数解释** 结果Code **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| release_id              | String                                                                               | **参数解释** 迭代ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| label_id                | String                                                                               | **参数解释** 标签ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| labels                  | String                                                                               | **参数解释** 用例标签名称列表 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| status_name             | String                                                                               | **参数解释** 状态名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| module_id               | String                                                                               | **参数解释** 模块ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| module_name             | String                                                                               | **参数解释** 模块名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| module_path             | String                                                                               | **参数解释** 模块path **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| module_path_name        | String                                                                               | **参数解释** 模块路径名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| execute_latest_time     | String                                                                               | **参数解释** 最后执行时间 **取值范围** 格式为yyyy-MM-dd HH:mm:ss                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| execute_duration        | String                                                                               | **参数解释** 执行时长，单位（毫秒） **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| execute_times           | Integer                                                                              | **参数解释** 执行次数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| is_keyword              | Integer                                                                              | **参数解释** 是否关键用例 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| release_dev             | String                                                                               | **参数解释** 测试版本号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| new_created             | String                                                                               | **参数解释** 是否用户新增用例 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| project_uuid            | String                                                                               | **参数解释** 项目UUID，项目唯一标识，固定长度32位字符（字母和数字）。获取方式请参见[获取项目ID](https://support.huaweicloud.com/api-testman/cloudtest_03_4003.html) **取值范围** 长度等于32位，包含大小写字母、数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| creation_version_name   | String                                                                               | **参数解释** 创建版本名称，原逻辑marshall添加字段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| feature_path            | String                                                                               | **参数解释** 特性路径，原逻辑marshall添加字段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| testcase_uri            | String                                                                               | **参数解释** 实体用例Uri，IteratorTestCase字段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| owner_name              | String                                                                               | **参数解释** 处理人名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| iterator_case_uri       | String                                                                               | **参数解释** 迭代用例Uri，IteratorTestCase字段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| script_link             | String                                                                               | **参数解释** 脚本链接scriptLink **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| test_step_model         | String                                                                               | **参数解释** 测试步骤模式 **取值范围** text: 文本模式; table: 表格模式                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| custom_field_1          | String                                                                               | **参数解释** 自定义字段1 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_2          | String                                                                               | **参数解释** 自定义字段2 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_3          | String                                                                               | **参数解释** 自定义字段3 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_4          | String                                                                               | **参数解释** 自定义字段4 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_5          | String                                                                               | **参数解释** 自定义字段5 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_6          | String                                                                               | **参数解释** 自定义字段6 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_7          | String                                                                               | **参数解释** 自定义字段7 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_8          | String                                                                               | **参数解释** 自定义字段8 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_9          | String                                                                               | **参数解释** 自定义字段9 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_10         | String                                                                               | **参数解释** 自定义字段10 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_11         | String                                                                               | **参数解释** 自定义字段11 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_12         | String                                                                               | **参数解释** 自定义字段12 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_13         | String                                                                               | **参数解释** 自定义字段13 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_14         | String                                                                               | **参数解释** 自定义字段14 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_15         | String                                                                               | **参数解释** 自定义字段15 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_16         | String                                                                               | **参数解释** 自定义字段16 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_17         | String                                                                               | **参数解释** 自定义字段17 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_18         | String                                                                               | **参数解释** 自定义字段18 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_19         | String                                                                               | **参数解释** 自定义字段19 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_20         | String                                                                               | **参数解释** 自定义字段20 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_21         | String                                                                               | **参数解释** 自定义字段21 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_22         | String                                                                               | **参数解释** 自定义字段22 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_23         | String                                                                               | **参数解释** 自定义字段23 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_24         | String                                                                               | **参数解释** 自定义字段24 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_25         | String                                                                               | **参数解释** 自定义字段25 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
   
 表8NameAndId 
| 参数   | 参数类型   | 描述                                                                                                                                                                                                        |
|:---|:---|:---|
| id   | String | **参数解释**: 对象编号 **取值范围**: 11-34位的字母及数字（字符串） |
| name | String | **参数解释**: 对象名称 **取值范围**: 不涉及               |
   
 表9TestCaseInfo 
| 参数                     | 参数类型                                                                                                           | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|:---|:---|:---|
| case_uri               | String                                                                                                         | **参数解释** 用例的主键 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| attachments            | Array of [TestCaseAttachmentInfo] objects | **参数解释**: 对外附件 **取值范围**: 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| steps                  | Array of [TestCaseStepInfo] objects             | **参数解释**: 测试步骤 **取值范围**: 0-100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| author                 | String                                                                                                         | **参数解释** 创建人 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| name                   | String                                                                                                         | **参数解释** 名称 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| rank                   | Integer                                                                                                        | **参数解释** 用例等级 **取值范围** 取值范围：0,1,2,3,4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| owner                  | String                                                                                                         | **参数解释** 处理人 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| preparation            | String                                                                                                         | **参数解释** 前置条件 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| remark                 | String                                                                                                         | **参数解释** 备注 **取值范围** 不超过20000字符                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| stage                  | String                                                                                                         | **参数解释** 测试阶段 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| activity               | String                                                                                                         | **参数解释** 测试类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| keywords               | String                                                                                                         | **参数解释** 关键词 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| market                 | String                                                                                                         | **参数解释** apitest标记是否代码已提交 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| designer               | String                                                                                                         | **参数解释** 设计者 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| tags                   | String                                                                                                         | **参数解释** 标签 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| region                 | String                                                                                                         | **参数解释** 逻辑region，外部使用公有云实际区域，内部使用默认值 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| relate_type            | String                                                                                                         | **参数解释**: 关联关系类型 **取值范围**: - bug，缺陷。   - requirement，需求。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| service_type           | Integer                                                                                                        | **参数解释**: 服务类型 **取值范围**: - -1，全量用例。   - 0，手工测试。   - 1，接口自动化。   - 7，功能自动化。   - 8，WebUI自动化。   - 100，自定义自动化(工厂)。   - 11，性能自动化。    |
| only_change_script     | String                                                                                                         | **参数解释** 更新接口用例的java脚本路径标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| add_to_iterator        | String                                                                                                         | **参数解释** 需求添加到迭代标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| need_update_relation   | String                                                                                                         | **参数解释** 是否修改关联关系 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| creation_version_uri   | String                                                                                                         | **参数解释** 创建版本Uri **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| number                 | String                                                                                                         | **参数解释** 用例编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| case_type              | Integer                                                                                                        | **参数解释**: 用例类型 **取值范围**: - 0，手工测试。   - 1，接口自动化。   - 2，性能用例。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| platform_type          | Integer                                                                                                        | **参数解释** 执行平台类型 **取值范围** 取值范围：-128-127                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| test_type              | Integer                                                                                                        | **参数解释**: 测试类型 **取值范围**: - 1，功能性测试。   - 2，兼容性测试。   - 4，性能测试。   - 15，易用性测试。   - 22，可靠性测试。   - 14，安全性测试。   - 21，可服务性测试。          |
| design_note            | String                                                                                                         | **参数解释** 设计描述 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_step              | String                                                                                                         | **参数解释** 测试步骤 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| expect_output          | String                                                                                                         | **参数解释** 期望结果 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| env_type               | String                                                                                                         | **参数解释** 测试环境类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| exe_platform           | String                                                                                                         | **参数解释** 执行平台 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| testcase_project       | String                                                                                                         | **参数解释** 测试工程 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| svn_script_path        | String                                                                                                         | **参数解释** 脚本路径 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| map_restrict           | String                                                                                                         | **参数解释** 约束条件 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| network_script_name    | String                                                                                                         | **参数解释** 网络脚本名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| auto_type              | Integer                                                                                                        | **参数解释**: 自动化类型 **取值范围**: - 0，非自动化。   - 1，是自动化。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| to_be_auto_exec        | Integer                                                                                                        | **参数解释** 被自动化执行 **取值范围** -128-127                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| last_result            | String                                                                                                         | **参数解释** 最后一次结果 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| last_result_uri        | String                                                                                                         | **参数解释** 最后一次结果Uri **取值范围** 11-34位数字或英文                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| feature_uri            | String                                                                                                         | **参数解释** 目录Uri **取值范围** 11-34位数字或英文                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| interface_name         | String                                                                                                         | **参数解释** 测试接口名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| snp_no                 | String                                                                                                         | **参数解释** 网络问题ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| dr_relation_id         | String                                                                                                         | **参数解释** 关联需求编号 **取值范围** 1-32位数字                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| test_base_num          | String                                                                                                         | **参数解释** 测试基数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| automatically_executed | Integer                                                                                                        | **参数解释** 是否被自动化执行 **取值范围** -128-127                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| first_execute_time     | String                                                                                                         | **参数解释** 第一次执行时间 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| detect_type            | String                                                                                                         | **参数解释** 检测类型 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| execute_param          | String                                                                                                         | **参数解释** 执行参数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_feature           | String                                                                                                         | **参数解释** 分析领域 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| is_contract_testcase   | Integer                                                                                                        | **参数解释** 是否是契约用例，0:表示非契约用例, 1：表示契约用例 **取值范围** 0,1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| time_cost              | Double                                                                                                         | **参数解释** 总共耗时 **取值范围** 2147483648.44-2147483647.44                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| custom_field_1         | String                                                                                                         | **参数解释** 自定义字段1 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_2         | String                                                                                                         | **参数解释** 自定义字段2 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_3         | String                                                                                                         | **参数解释** 自定义字段3 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_4         | String                                                                                                         | **参数解释** 自定义字段4 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_5         | String                                                                                                         | **参数解释** 自定义字段5 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_6         | String                                                                                                         | **参数解释** 自定义字段6 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_7         | String                                                                                                         | **参数解释** 自定义字段7 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_8         | String                                                                                                         | **参数解释** 自定义字段8 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_9         | String                                                                                                         | **参数解释** 自定义字段9 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| custom_field_10        | String                                                                                                         | **参数解释** 自定义字段10 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_11        | String                                                                                                         | **参数解释** 自定义字段11 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_12        | String                                                                                                         | **参数解释** 自定义字段12 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_13        | String                                                                                                         | **参数解释** 自定义字段13 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_14        | String                                                                                                         | **参数解释** 自定义字段14 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_15        | String                                                                                                         | **参数解释** 自定义字段15 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_16        | String                                                                                                         | **参数解释** 自定义字段16 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_17        | String                                                                                                         | **参数解释** 自定义字段17 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_18        | String                                                                                                         | **参数解释** 自定义字段18 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_19        | String                                                                                                         | **参数解释** 自定义字段19 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_20        | String                                                                                                         | **参数解释** 自定义字段20 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_21        | String                                                                                                         | **参数解释** 自定义字段21 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_22        | String                                                                                                         | **参数解释** 自定义字段22 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_23        | String                                                                                                         | **参数解释** 自定义字段23 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_24        | String                                                                                                         | **参数解释** 自定义字段24 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| custom_field_25        | String                                                                                                         | **参数解释** 自定义字段25 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| be_auto_type_time      | String                                                                                                         | **参数解释** 记录用例由非自动化变为自动化类型的时间 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| compare_number         | String                                                                                                         | **参数解释** 配对用例编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| scene_flag             | String                                                                                                         | **参数解释** 场景标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| base_flag              | String                                                                                                         | **参数解释** 场景标识 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| para_validator         | String                                                                                                         | **参数解释** 区别是否从yaml中生成的用例，默认false **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| knet_node_id           | String                                                                                                         | **参数解释** knet节点id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| last_exe_author        | String                                                                                                         | **参数解释** 最后一次执行用户 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| cloud_carrier          | String                                                                                                         | **参数解释** 运营商 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| market_place           | String                                                                                                         | **参数解释** 应用市场 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_mind_id           | String                                                                                                         | **参数解释** 脑图id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| test_mind_url          | String                                                                                                         | **参数解释** 脑图url **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| commit_url             | String                                                                                                         | **参数解释** git提交url **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| test_pattern_number    | String                                                                                                         | **参数解释** 测试模式编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| test_factor_number     | String                                                                                                         | **参数解释** 测试因子编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| status_code            | String                                                                                                         | **参数解释** 状态Code **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| result_code            | String                                                                                                         | **参数解释** 测试因子编号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| release_id             | String                                                                                                         | **参数解释** 迭代ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| label_id               | String                                                                                                         | **参数解释** 标签ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| label_names            | Array of strings                                                                                               | **参数解释** 用例操作时，标签名列表 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| module_id              | String                                                                                                         | **参数解释** 模块ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| execute_latest_time    | String                                                                                                         | **参数解释** 最后执行时间 **取值范围** 格式为yyyy-MM-dd HH:mm:ss                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| execute_duration       | String                                                                                                         | **参数解释** 执行时长 **取值范围** 单位（毫秒）                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| is_keyword             | Integer                                                                                                        | **参数解释** 是否关键用例 **取值范围** -128-127                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| release_dev            | String                                                                                                         | **参数解释** 测试版本号 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| new_created            | Integer                                                                                                        | **参数解释** 是否用户新增用例 **取值范围** -128-127                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| execute_parameter      | String                                                                                                         | **参数解释** 执行参数 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| project_uuid           | String                                                                                                         | **参数解释** 项目UUID，项目唯一标识，固定长度32位字符（字母和数字）。获取方式请参见[获取项目ID](https://support.huaweicloud.com/api-testman/cloudtest_03_4003.html) **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| version_uri            | String                                                                                                         | **参数解释** 分支或者迭代uri **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
   
 表10TestCaseAttachmentInfo 
| 参数              | 参数类型    | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|:---|:---|:---|
| override        | Boolean | **参数解释** 附件是否要被覆盖 **取值范围** true\|false                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| doc_id          | String  | **参数解释** 文档id **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| file_name       | String  | **参数解释** 文件名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| file_path       | String  | **参数解释** 文件路径 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| file_type       | String  | **参数解释**: 文件类型 **取值范围**: - txt，文本文件。   - img，图片文件。    等等              |
| file_size       | String  | **参数解释** 文件大小 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| override_id     | String  | **参数解释** 重复用例ID **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| related_type    | String  | **参数解释**: 相关类型 **取值范围**: - 0，本地上传。   - 1，关联文档。                        |
| store_file_name | String  | **参数解释** 保存文件名 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| system_type     | String  | **参数解释**: 系统类型 **取值范围**: - docman，docman系统。   - testman，testman系统。    |
| storage_system  | String  | **参数解释** 区分文件存储系统 **取值范围** 不涉及                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   
 表11TestCaseStepInfo 
| 参数            | 参数类型   | 描述                                                                                                                                                                                           |
|:---|:---|:---|
| test_step     | String | **参数解释** 测试步骤 **取值范围** 不涉及    |
| expect_result | String | **参数解释** 预期结果 **取值范围** 不涉及    |
| step_actual   | String | **参数解释** 步骤的实际结果 **取值范围** 不涉及 |
| step_result   | String | **参数解释** 步骤结果 **取值范围** 不涉及    |
   
**状态码：400**
表12响应Body参数 
| 参数         | 参数类型   | 描述                                                                                                                                                                                                |
|:---|:---|:---|
| error_code | String | **参数解释**: 接口调用失败错误码 **取值范围**: 不涉及  |
| error_msg  | String | **参数解释**: 接口调用失败错误信息 **取值范围**: 不涉及 |
   
**状态码：401**
表13响应Body参数 
| 参数         | 参数类型   | 描述                                                                                                                                                                                                |
|:---|:---|:---|
| error_code | String | **参数解释**: 接口调用失败错误码 **取值范围**: 不涉及  |
| error_msg  | String | **参数解释**: 接口调用失败错误信息 **取值范围**: 不涉及 |
   
**状态码：404**
表14响应Body参数 
| 参数         | 参数类型   | 描述                                                                                                                                                                                                |
|:---|:---|:---|
| error_code | String | **参数解释**: 接口调用失败错误码 **取值范围**: 不涉及  |
| error_msg  | String | **参数解释**: 接口调用失败错误信息 **取值范围**: 不涉及 |
   
**状态码：500**
表15响应Body参数 
| 参数         | 参数类型   | 描述                                                                                                                                                                                                |
|:---|:---|:---|
| error_code | String | **参数解释**: 接口调用失败错误码 **取值范围**: 不涉及  |
| error_msg  | String | **参数解释**: 接口调用失败错误信息 **取值范围**: 不涉及 |
   
#### 请求示例
```
put https://{endpoint}/v4/batch/update/testcases
[ {
  "steps" : [ { } ],
  "attachments" : [ { } ],
  "author" : "张三",
  "name" : "用例",
  "rank" : 2,
  "owner" : "zhaoxu001",
  "preparation" : "拥有测试权限",
  "remark" : "3",
  "stage" : "3",
  "activity" : "1",
  "keywords" : "用例",
  "market" : "1",
  "designer" : "张三",
  "tags" : "aa,bb",
  "region" : "cn-north-7",
  "relate_type" : "requirement",
  "service_type" : 3,
  "only_change_script" : "true",
  "add_to_iterator" : "true",
  "need_update_relation" : "true",
  "creation_version_uri" : "001rvc8k178",
  "number" : "用例编号:-Copy-bbe028df",
  "case_type" : 0,
  "platform_type" : 0,
  "test_type" : 0,
  "design_note" : "市场",
  "test_step" : "1、点击自动化测试",
  "expect_output" : "用例结果为pass",
  "env_type" : "API_h8eXDPryNiOsEBGvSG32",
  "exe_platform" : "apitest",
  "testcase_project" : "1",
  "svn_script_path" : "ApiTest/Test(API)_Alpha/src/scripts/user/script.java",
  "map_restrict" : "api",
  "network_script_name" : "scripts.runs.CheckTestHomePage.java",
  "auto_type" : 1,
  "to_be_auto_exec" : 0,
  "last_result" : "Unavailable",
  "last_result_uri" : "001snptba6m1",
  "feature_uri" : "004sobn0n0t1",
  "interface_name" : "DtsInfoByNoPOST",
  "snp_no" : "DTS999999AAAA9999",
  "dr_relation_id" : "20830062657;20830062217;DTS999999AAAA9999",
  "test_base_num" : "12",
  "automatically_executed" : 1,
  "first_execute_time" : "2025-06-19T08:58:34.162Z",
  "detect_type" : "15",
  "execute_param" : "6",
  "test_feature" : "市场",
  "is_contract_testcase" : 1,
  "time_cost" : 5000,
  "custom_field_1" : "自定义字段1",
  "custom_field_2" : "自定义字段2",
  "custom_field_3" : "自定义字段3",
  "custom_field_4" : "自定义字段4",
  "custom_field_5" : "自定义字段5",
  "custom_field_6" : "自定义字段6",
  "custom_field_7" : "自定义字段7",
  "custom_field_8" : "自定义字段8",
  "custom_field_9" : "自定义字段9",
  "custom_field_10" : "自定义字段10",
  "custom_field_11" : "自定义字段11",
  "custom_field_12" : "自定义字段12",
  "custom_field_13" : "自定义字段13",
  "custom_field_14" : "自定义字段14",
  "custom_field_15" : "自定义字段15",
  "custom_field_16" : "自定义字段16",
  "custom_field_17" : "自定义字段17",
  "custom_field_18" : "自定义字段18",
  "custom_field_19" : "自定义字段19",
  "custom_field_20" : "自定义字段20",
  "custom_field_21" : "自定义字段21",
  "custom_field_22" : "自定义字段22",
  "custom_field_23" : "自定义字段23",
  "custom_field_24" : "自定义字段24",
  "custom_field_25" : "自定义字段25",
  "be_auto_type_time" : "2020-01-01 10:10:10",
  "compare_number" : "api",
  "scene_flag" : "Debugging Case",
  "base_flag" : "true",
  "para_validator" : "true",
  "knet_node_id" : "id",
  "last_exe_author" : "李四",
  "cloud_carrier" : "市场",
  "market_place" : "marketplace",
  "test_mind_id" : "402882e172c12ee60172c1b4642900c99",
  "test_mind_url" : "www.xxx.com",
  "commit_url" : "www.xxx.com",
  "test_pattern_number" : "402882e",
  "test_factor_number" : "4sfsd82e",
  "status_code" : "4sfsd82e",
  "result_code" : "4sfsd82e",
  "release_id" : "9374510",
  "label_id" : "46a5dbfd770f445da87b1a50ee37a86b",
  "label_names" : [ "46a5dbfd770f445da87b1a50ee37a86b" ],
  "module_id" : "60ace553eaf7c955f8cf1615",
  "execute_latest_time" : "2020-01-01 10:10:10",
  "execute_duration" : "00:00:09",
  "is_keyword" : 1,
  "release_dev" : "fd89a8d9dce64c54ade3d7fc9d6cd2dd",
  "new_created" : 1,
  "execute_parameter" : "{a:123,b:456,c:'edit'}",
  "project_uuid" : "0000dbab7df44231a72bfa25a1259c73",
  "version_uri" : "932opbu6aaf"
} ]
```
#### 响应示例
**状态码：200**
OK
```
{
  "value" : [ {
    "uri" : "001s16gt6q5",
    "type" : "TestVersion",
    "author" : "efdb403066474ab08836b9eeaaa23bca",
    "name" : "名称",
    "rank" : 1,
    "last_modifier" : "efdb403066474ab08836b9eeaaa23bca",
    "last_modified" : "2025-06-19T08:58:53.074Z",
    "last_modified_timestamp" : 1660617231016,
    "last_change_time" : "2025-06-19T08:58:53.074Z",
    "version_uri" : "001s16gt68e",
    "origin_uri" : "001rv5i9u14",
    "parent_uri" : "001s16gt68e",
    "parent_path" : "/b6c4288728234a2e804b6df9465d7b5b/001s16gt68e",
    "creation_version_uri" : "001s16gt68e",
    "creation_date" : "2025-06-19T08:58:53.074Z",
    "creation_date_timestamp" : 1660617231016,
    "author_name" : "tester",
    "comment" : "备注",
    "number" : "编号",
    "success_list" : [ ],
    "failed_list" : [ ]
  } ]
}
```
#### SDK代码示例
SDK代码示例如下。
#### Java
```
package com.huaweicloud.sdk.test;
import com.huaweicloud.sdk.core.auth.ICredential;
import com.huaweicloud.sdk.core.auth.BasicCredentials;
import com.huaweicloud.sdk.core.exception.ConnectionException;
import com.huaweicloud.sdk.core.exception.RequestTimeoutException;
import com.huaweicloud.sdk.core.exception.ServiceResponseException;
import com.huaweicloud.sdk.cloudtest.v1.region.CloudtestRegion;
import com.huaweicloud.sdk.cloudtest.v1.*;
import com.huaweicloud.sdk.cloudtest.v1.model.*;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.ArrayList;
public class BatchUpdateTestCasesInDiffVersionSolution {
    public static void main(String[] args) {
        // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
        // In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
        String ak = System.getenv("CLOUD_SDK_AK");
        String sk = System.getenv("CLOUD_SDK_SK");
        ICredential auth = new BasicCredentials()
                .withAk(ak)
                .withSk(sk);
        CloudtestClient client = CloudtestClient.newBuilder()
                .withCredential(auth)
                .withRegion(CloudtestRegion.valueOf("<YOUR REGION>"))
                .build();
        BatchUpdateTestCasesInDiffVersionRequest request = new BatchUpdateTestCasesInDiffVersionRequest();
        List<String> listBodyLabelNames = new ArrayList<>();
        listBodyLabelNames.add("46a5dbfd770f445da87b1a50ee37a86b");
        List<TestCaseAttachmentInfo> listBodyAttachments = new ArrayList<>();
        List<TestCaseStepInfo> listBodySteps = new ArrayList<>();
        List<TestCaseInfo> listbodyBody = new ArrayList<>();
        listbodyBody.add(
            new TestCaseInfo()
                .withSteps(listBodySteps)
                .withAttachments(listBodyAttachments)
                .withAuthor("张三")
                .withName("用例")
                .withRank(2)
                .withOwner("zhaoxu001")
                .withPreparation("拥有测试权限")
                .withRemark("3")
                .withStage("3")
                .withActivity("1")
                .withKeywords("用例")
                .withMarket("1")
                .withDesigner("张三")
                .withTags("aa,bb")
                .withRegion("cn-north-7")
                .withRelateType("requirement")
                .withServiceType(3)
                .withOnlyChangeScript("true")
                .withAddToIterator("true")
                .withNeedUpdateRelation("true")
                .withCreationVersionUri("001rvc8k178")
                .withNumber("用例编号:-Copy-bbe028df")
                .withCaseType(0)
                .withPlatformType(0)
                .withTestType(0)
                .withDesignNote("市场")
                .withTestStep("1、点击自动化测试")
                .withExpectOutput("用例结果为pass")
                .withEnvType("API_h8eXDPryNiOsEBGvSG32")
                .withExePlatform("apitest")
                .withTestcaseProject("1")
                .withSvnScriptPath("ApiTest/Test(API)_Alpha/src/scripts/user/script.java")
                .withMapRestrict("api")
                .withNetworkScriptName("scripts.runs.CheckTestHomePage.java")
                .withAutoType(1)
                .withToBeAutoExec(0)
                .withLastResult("Unavailable")
                .withLastResultUri("001snptba6m1")
                .withFeatureUri("004sobn0n0t1")
                .withInterfaceName("DtsInfoByNoPOST")
                .withSnpNo("DTS999999AAAA9999")
                .withDrRelationId("20830062657;20830062217;DTS999999AAAA9999")
                .withTestBaseNum("12")
                .withAutomaticallyExecuted(1)
                .withFirstExecuteTime(OffsetDateTime.parse("2025-06-19T08:58:34.162Z", DateTimeFormatter.ISO_OFFSET_DATE_TIME))
                .withDetectType("15")
                .withExecuteParam("6")
                .withTestFeature("市场")
                .withIsContractTestcase(1)
                .withTimeCost((double)5000)
                .withCustomField1("自定义字段1")
                .withCustomField2("自定义字段2")
                .withCustomField3("自定义字段3")
                .withCustomField4("自定义字段4")
                .withCustomField5("自定义字段5")
                .withCustomField6("自定义字段6")
                .withCustomField7("自定义字段7")
                .withCustomField8("自定义字段8")
                .withCustomField9("自定义字段9")
                .withCustomField10("自定义字段10")
                .withCustomField11("自定义字段11")
                .withCustomField12("自定义字段12")
                .withCustomField13("自定义字段13")
                .withCustomField14("自定义字段14")
                .withCustomField15("自定义字段15")
                .withCustomField16("自定义字段16")
                .withCustomField17("自定义字段17")
                .withCustomField18("自定义字段18")
                .withCustomField19("自定义字段19")
                .withCustomField20("自定义字段20")
                .withCustomField21("自定义字段21")
                .withCustomField22("自定义字段22")
                .withCustomField23("自定义字段23")
                .withCustomField24("自定义字段24")
                .withCustomField25("自定义字段25")
                .withBeAutoTypeTime(OffsetDateTime.parse("2020-01-01 10:10:10", DateTimeFormatter.ISO_OFFSET_DATE_TIME))
                .withCompareNumber("api")
                .withSceneFlag("Debugging Case")
                .withBaseFlag("true")
                .withParaValidator("true")
                .withKnetNodeId("id")
                .withLastExeAuthor("李四")
                .withCloudCarrier("市场")
                .withMarketPlace("marketplace")
                .withTestMindId("402882e172c12ee60172c1b4642900c99")
                .withTestMindUrl("www.xxx.com")
                .withCommitUrl("www.xxx.com")
                .withTestPatternNumber("402882e")
                .withTestFactorNumber("4sfsd82e")
                .withStatusCode("4sfsd82e")
                .withResultCode("4sfsd82e")
                .withReleaseId("9374510")
                .withLabelId("46a5dbfd770f445da87b1a50ee37a86b")
                .withLabelNames(listBodyLabelNames)
                .withModuleId("60ace553eaf7c955f8cf1615")
                .withExecuteLatestTime(OffsetDateTime.parse("2020-01-01 10:10:10", DateTimeFormatter.ISO_OFFSET_DATE_TIME))
                .withExecuteDuration("00:00:09")
                .withIsKeyword(1)
                .withReleaseDev("fd89a8d9dce64c54ade3d7fc9d6cd2dd")
                .withNewCreated(1)
                .withExecuteParameter("{a:123,b:456,c:'edit'}")
                .withProjectUuid("0000dbab7df44231a72bfa25a1259c73")
                .withVersionUri("932opbu6aaf")
        );
        request.withBody(listbodyBody);
        try {
            BatchUpdateTestCasesInDiffVersionResponse response = client.batchUpdateTestCasesInDiffVersion(request);
            System.out.println(response.toString());
        } catch (ConnectionException e) {
            e.printStackTrace();
        } catch (RequestTimeoutException e) {
            e.printStackTrace();
        } catch (ServiceResponseException e) {
            e.printStackTrace();
            System.out.println(e.getHttpStatusCode());
            System.out.println(e.getRequestId());
            System.out.println(e.getErrorCode());
            System.out.println(e.getErrorMsg());
        }
    }
}
```
#### Python
```
# coding: utf-8
import os
from huaweicloudsdkcore.auth.credentials import BasicCredentials
from huaweicloudsdkcloudtest.v1.region.cloudtest_region import CloudtestRegion
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcloudtest.v1 import *
if __name__ == "__main__":
    # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
    # In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
    ak = os.environ["CLOUD_SDK_AK"]
    sk = os.environ["CLOUD_SDK_SK"]
    credentials = BasicCredentials(ak, sk)
    client = CloudtestClient.new_builder() \
        .with_credentials(credentials) \
        .with_region(CloudtestRegion.value_of("<YOUR REGION>")) \
        .build()
    try:
        request = BatchUpdateTestCasesInDiffVersionRequest()
        listLabelNamesBody = [
            "46a5dbfd770f445da87b1a50ee37a86b"
        ]
        listAttachmentsBody = []
        listStepsBody = []
        listBodybody = [
            TestCaseInfo(
                steps=listStepsBody,
                attachments=listAttachmentsBody,
                author="张三",
                name="用例",
                rank=2,
                owner="zhaoxu001",
                preparation="拥有测试权限",
                remark="3",
                stage="3",
                activity="1",
                keywords="用例",
                market="1",
                designer="张三",
                tags="aa,bb",
                region="cn-north-7",
                relate_type="requirement",
                service_type=3,
                only_change_script="true",
                add_to_iterator="true",
                need_update_relation="true",
                creation_version_uri="001rvc8k178",
                number="用例编号:-Copy-bbe028df",
                case_type=0,
                platform_type=0,
                test_type=0,
                design_note="市场",
                test_step="1、点击自动化测试",
                expect_output="用例结果为pass",
                env_type="API_h8eXDPryNiOsEBGvSG32",
                exe_platform="apitest",
                testcase_project="1",
                svn_script_path="ApiTest/Test(API)_Alpha/src/scripts/user/script.java",
                map_restrict="api",
                network_script_name="scripts.runs.CheckTestHomePage.java",
                auto_type=1,
                to_be_auto_exec=0,
                last_result="Unavailable",
                last_result_uri="001snptba6m1",
                feature_uri="004sobn0n0t1",
                interface_name="DtsInfoByNoPOST",
                snp_no="DTS999999AAAA9999",
                dr_relation_id="20830062657;20830062217;DTS999999AAAA9999",
                test_base_num="12",
                automatically_executed=1,
                first_execute_time="2025-06-19T08:58:34.162Z",
                detect_type="15",
                execute_param="6",
                test_feature="市场",
                is_contract_testcase=1,
                time_cost=5000,
                custom_field_1="自定义字段1",
                custom_field_2="自定义字段2",
                custom_field_3="自定义字段3",
                custom_field_4="自定义字段4",
                custom_field_5="自定义字段5",
                custom_field_6="自定义字段6",
                custom_field_7="自定义字段7",
                custom_field_8="自定义字段8",
                custom_field_9="自定义字段9",
                custom_field_10="自定义字段10",
                custom_field_11="自定义字段11",
                custom_field_12="自定义字段12",
                custom_field_13="自定义字段13",
                custom_field_14="自定义字段14",
                custom_field_15="自定义字段15",
                custom_field_16="自定义字段16",
                custom_field_17="自定义字段17",
                custom_field_18="自定义字段18",
                custom_field_19="自定义字段19",
                custom_field_20="自定义字段20",
                custom_field_21="自定义字段21",
                custom_field_22="自定义字段22",
                custom_field_23="自定义字段23",
                custom_field_24="自定义字段24",
                custom_field_25="自定义字段25",
                be_auto_type_time="2020-01-01 10:10:10",
                compare_number="api",
                scene_flag="Debugging Case",
                base_flag="true",
                para_validator="true",
                knet_node_id="id",
                last_exe_author="李四",
                cloud_carrier="市场",
                market_place="marketplace",
                test_mind_id="402882e172c12ee60172c1b4642900c99",
                test_mind_url="www.xxx.com",
                commit_url="www.xxx.com",
                test_pattern_number="402882e",
                test_factor_number="4sfsd82e",
                status_code="4sfsd82e",
                result_code="4sfsd82e",
                release_id="9374510",
                label_id="46a5dbfd770f445da87b1a50ee37a86b",
                label_names=listLabelNamesBody,
                module_id="60ace553eaf7c955f8cf1615",
                execute_latest_time="2020-01-01 10:10:10",
                execute_duration="00:00:09",
                is_keyword=1,
                release_dev="fd89a8d9dce64c54ade3d7fc9d6cd2dd",
                new_created=1,
                execute_parameter="{a:123,b:456,c:'edit'}",
                project_uuid="0000dbab7df44231a72bfa25a1259c73",
                version_uri="932opbu6aaf"
            )
        ]
        request.body = listBodybody
        response = client.batch_update_test_cases_in_diff_version(request)
        print(response)
    except exceptions.ClientRequestException as e:
        print(e.status_code)
        print(e.request_id)
        print(e.error_code)
        print(e.error_msg)
```
#### Go
```
package main
import (
"fmt"
"time"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/sdktime"
    cloudtest "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cloudtest/v1"
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cloudtest/v1/model"
    region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cloudtest/v1/region"
)
func main() {
    // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security.
    // In this example, AK and SK are stored in environment variables for authentication. Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment
    ak := os.Getenv("CLOUD_SDK_AK")
    sk := os.Getenv("CLOUD_SDK_SK")
    auth, err := basic.NewCredentialsBuilder().
        WithAk(ak).
        WithSk(sk).
        SafeBuild()
    if err != nil {
        fmt.Println(err)
        return
    }
    hcClient, err := cloudtest.CloudtestClientBuilder().
         WithRegion(region.ValueOf("<YOUR REGION>")).
         WithCredential(auth).
         SafeBuild()
    if err != nil {
        fmt.Println(err)
        return
    }
    client := cloudtest.NewCloudtestClient(hcClient)
    request := &model.BatchUpdateTestCasesInDiffVersionRequest{}
var listLabelNamesBody = []string{
        "46a5dbfd770f445da87b1a50ee37a86b",
    }
    }
    }
authorBody:= "张三"
rankBody:= int32(2)
ownerBody:= "zhaoxu001"
preparationBody:= "拥有测试权限"
remarkBody:= "3"
stageBody:= "3"
activityBody:= "1"
keywordsBody:= "用例"
marketBody:= "1"
designerBody:= "张三"
tagsBody:= "aa,bb"
regionBody:= "cn-north-7"
relateTypeBody:= "requirement"
serviceTypeBody:= int32(3)
onlyChangeScriptBody:= "true"
addToIteratorBody:= "true"
needUpdateRelationBody:= "true"
creationVersionUriBody:= "001rvc8k178"
numberBody:= "用例编号:-Copy-bbe028df"
caseTypeBody:= int32(0)
platformTypeBody:= int32(0)
testTypeBody:= int32(0)
designNoteBody:= "市场"
testStepBody:= "1、点击自动化测试"
expectOutputBody:= "用例结果为pass"
envTypeBody:= "API_h8eXDPryNiOsEBGvSG32"
exePlatformBody:= "apitest"
testcaseProjectBody:= "1"
svnScriptPathBody:= "ApiTest/Test(API)_Alpha/src/scripts/user/script.java"
mapRestrictBody:= "api"
networkScriptNameBody:= "scripts.runs.CheckTestHomePage.java"
autoTypeBody:= int32(1)
toBeAutoExecBody:= int32(0)
lastResultBody:= "Unavailable"
lastResultUriBody:= "001snptba6m1"
featureUriBody:= "004sobn0n0t1"
interfaceNameBody:= "DtsInfoByNoPOST"
snpNoBody:= "DTS999999AAAA9999"
drRelationIdBody:= "20830062657;20830062217;DTS999999AAAA9999"
testBaseNumBody:= "12"
automaticallyExecutedBody:= int32(1)
dateTimeFirstExecuteTime, _ := time.ParseInLocation("2006-01-02T15:04:05Z", "2025-06-19T08:58:34.162Z", time.UTC)
firstExecuteTimeBody:= sdktime.SdkTime(dateTimeFirstExecuteTime)
detectTypeBody:= "15"
executeParamBody:= "6"
testFeatureBody:= "市场"
isContractTestcaseBody:= int32(1)
timeCostBody:= float64(5000)
customField1Body:= "自定义字段1"
customField2Body:= "自定义字段2"
customField3Body:= "自定义字段3"
customField4Body:= "自定义字段4"
customField5Body:= "自定义字段5"
customField6Body:= "自定义字段6"
customField7Body:= "自定义字段7"
customField8Body:= "自定义字段8"
customField9Body:= "自定义字段9"
customField10Body:= "自定义字段10"
customField11Body:= "自定义字段11"
customField12Body:= "自定义字段12"
customField13Body:= "自定义字段13"
customField14Body:= "自定义字段14"
customField15Body:= "自定义字段15"
customField16Body:= "自定义字段16"
customField17Body:= "自定义字段17"
customField18Body:= "自定义字段18"
customField19Body:= "自定义字段19"
customField20Body:= "自定义字段20"
customField21Body:= "自定义字段21"
customField22Body:= "自定义字段22"
customField23Body:= "自定义字段23"
customField24Body:= "自定义字段24"
customField25Body:= "自定义字段25"
dateTimeBeAutoTypeTime, _ := time.ParseInLocation("2006-01-02T15:04:05Z", "2020-01-01 10:10:10", time.UTC)
beAutoTypeTimeBody:= sdktime.SdkTime(dateTimeBeAutoTypeTime)
compareNumberBody:= "api"
sceneFlagBody:= "Debugging Case"
baseFlagBody:= "true"
paraValidatorBody:= "true"
knetNodeIdBody:= "id"
lastExeAuthorBody:= "李四"
cloudCarrierBody:= "市场"
marketPlaceBody:= "marketplace"
testMindIdBody:= "402882e172c12ee60172c1b4642900c99"
testMindUrlBody:= "www.xxx.com"
commitUrlBody:= "www.xxx.com"
testPatternNumberBody:= "402882e"
testFactorNumberBody:= "4sfsd82e"
statusCodeBody:= "4sfsd82e"
resultCodeBody:= "4sfsd82e"
releaseIdBody:= "9374510"
labelIdBody:= "46a5dbfd770f445da87b1a50ee37a86b"
moduleIdBody:= "60ace553eaf7c955f8cf1615"
dateTimeExecuteLatestTime, _ := time.ParseInLocation("2006-01-02T15:04:05Z", "2020-01-01 10:10:10", time.UTC)
executeLatestTimeBody:= sdktime.SdkTime(dateTimeExecuteLatestTime)
executeDurationBody:= "00:00:09"
isKeywordBody:= int32(1)
releaseDevBody:= "fd89a8d9dce64c54ade3d7fc9d6cd2dd"
newCreatedBody:= int32(1)
executeParameterBody:= "{a:123,b:456,c:'edit'}"
projectUuidBody:= "0000dbab7df44231a72bfa25a1259c73"
versionUriBody:= "932opbu6aaf"
var listBodybody = []model.TestCaseInfo{
        {
            Steps: &listStepsBody,
            Attachments: &listAttachmentsBody,
            Author: &authorBody,
            Name: "用例",
            Rank: &rankBody,
            Owner: &ownerBody,
            Preparation: &preparationBody,
            Remark: &remarkBody,
            Stage: &stageBody,
            Activity: &activityBody,
            Keywords: &keywordsBody,
            Market: &marketBody,
            Designer: &designerBody,
            Tags: &tagsBody,
            Region: &regionBody,
            RelateType: &relateTypeBody,
            ServiceType: &serviceTypeBody,
            OnlyChangeScript: &onlyChangeScriptBody,
            AddToIterator: &addToIteratorBody,
            NeedUpdateRelation: &needUpdateRelationBody,
            CreationVersionUri: &creationVersionUriBody,
            Number: &numberBody,
            CaseType: &caseTypeBody,
            PlatformType: &platformTypeBody,
            TestType: &testTypeBody,
            DesignNote: &designNoteBody,
            TestStep: &testStepBody,
            ExpectOutput: &expectOutputBody,
            EnvType: &envTypeBody,
            ExePlatform: &exePlatformBody,
            TestcaseProject: &testcaseProjectBody,
            SvnScriptPath: &svnScriptPathBody,
            MapRestrict: &mapRestrictBody,
            NetworkScriptName: &networkScriptNameBody,
            AutoType: &autoTypeBody,
            ToBeAutoExec: &toBeAutoExecBody,
            LastResult: &lastResultBody,
            LastResultUri: &lastResultUriBody,
            FeatureUri: &featureUriBody,
            InterfaceName: &interfaceNameBody,
            SnpNo: &snpNoBody,
            DrRelationId: &drRelationIdBody,
            TestBaseNum: &testBaseNumBody,
            AutomaticallyExecuted: &automaticallyExecutedBody,
            FirstExecuteTime: &firstExecuteTimeBody,
            DetectType: &detectTypeBody,
            ExecuteParam: &executeParamBody,
            TestFeature: &testFeatureBody,
            IsContractTestcase: &isContractTestcaseBody,
            TimeCost: &timeCostBody,
            CustomField1: &customField1Body,
            CustomField2: &customField2Body,
            CustomField3: &customField3Body,
            CustomField4: &customField4Body,
            CustomField5: &customField5Body,
            CustomField6: &customField6Body,
            CustomField7: &customField7Body,
            CustomField8: &customField8Body,
            CustomField9: &customField9Body,
            CustomField10: &customField10Body,
            CustomField11: &customField11Body,
            CustomField12: &customField12Body,
            CustomField13: &customField13Body,
            CustomField14: &customField14Body,
            CustomField15: &customField15Body,
            CustomField16: &customField16Body,
            CustomField17: &customField17Body,
            CustomField18: &customField18Body,
            CustomField19: &customField19Body,
            CustomField20: &customField20Body,
            CustomField21: &customField21Body,
            CustomField22: &customField22Body,
            CustomField23: &customField23Body,
            CustomField24: &customField24Body,
            CustomField25: &customField25Body,
            BeAutoTypeTime: &beAutoTypeTimeBody,
            CompareNumber: &compareNumberBody,
            SceneFlag: &sceneFlagBody,
            BaseFlag: &baseFlagBody,
            ParaValidator: &paraValidatorBody,
            KnetNodeId: &knetNodeIdBody,
            LastExeAuthor: &lastExeAuthorBody,
            CloudCarrier: &cloudCarrierBody,
            MarketPlace: &marketPlaceBody,
            TestMindId: &testMindIdBody,
            TestMindUrl: &testMindUrlBody,
            CommitUrl: &commitUrlBody,
            TestPatternNumber: &testPatternNumberBody,
            TestFactorNumber: &testFactorNumberBody,
            StatusCode: &statusCodeBody,
            ResultCode: &resultCodeBody,
            ReleaseId: &releaseIdBody,
            LabelId: &labelIdBody,
            LabelNames: &listLabelNamesBody,
            ModuleId: &moduleIdBody,
            ExecuteLatestTime: &executeLatestTimeBody,
            ExecuteDuration: &executeDurationBody,
            IsKeyword: &isKeywordBody,
            ReleaseDev: &releaseDevBody,
            NewCreated: &newCreatedBody,
            ExecuteParameter: &executeParameterBody,
            ProjectUuid: &projectUuidBody,
            VersionUri: &versionUriBody,
        },
    }
request.Body = &listBodybody
response, err := client.BatchUpdateTestCasesInDiffVersion(request)
if err == nil {
        fmt.Printf("%+v\n", response)
    } else {
        fmt.Println(err)
    }
}
```
#### 更多
更多编程语言的SDK代码示例，请参见[API Explorer](https://console.huaweicloud.com/apiexplorer/#/openapi/CloudTest/sdk?api=BatchUpdateTestCasesInDiffVersion)的代码示例页签，可生成自动对应的SDK代码示例。
#### 状态码
| 状态码 | 描述                    |
|:---|:---|
| 200 | OK                    |
| 400 | Bad Request           |
| 401 | Unauthorized          |
| 404 | Not Found             |
| 500 | Internal Server Error |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-testman/ErrorCode.html)。
