{"base_path":"/","components":null,"consumes":"","definitions":{"BatchAddChildNodeResp":{"properties":{"data":{"description":"**参数解释:**\n\n请求数据。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","items":{"$ref":"#/definitions/TreeableModelViewDTO"},"type":"array"},"errors":{"$ref":"#/definitions/errors"},"result":{"$ref":"#/definitions/result"}},"type":"object"},"BatchOperateChildDTO":{"properties":{"childList":{"description":"**参数解释:**\n\n子节点实例ID列表。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":["616949021809840128"],"items":{"type":"string"},"type":"array"},"parentId":{"description":"**参数解释:**\n\n父节点实例ID。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"616948972547739648","type":"string"}},"required":["childList","parentId"],"type":"object"},"ObjectReferenceViewDTO":{"properties":{"clazz":{"description":"**参数解释:**\n\n类名。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"PersistableModel","type":"string"},"id":{"description":"**参数解释:**\n\n唯一标识。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"548451844855177216","type":"string"}},"required":["id"],"type":"object"},"RDMParamVOBatchOperateChildDTO":{"properties":{"applicationId":{"description":"**参数解释**:\n\n应用ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n由英文字母和数字组成,且长度为32个字符。\n\n**默认取值**:\n\n不涉及。\n","example":"b3f9b7523a6141f4b2d76b92d6595281","type":"string"},"params":{"$ref":"#/definitions/BatchOperateChildDTO","description":"**参数解释:**\n\n请求参数对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"}},"type":"object"},"TenantViewDTO":{"properties":{"className":{"description":"**参数解释:**\n\n类名。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"Tenant","type":"string"},"code":{"description":"**参数解释:**\n\n租户编码。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"basicTenant","type":"string"},"createTime":{"description":"**参数解释:**\n\n创建时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"2023-12-02T03:03:07.695+0000","type":"string"},"creator":{"description":"**参数解释:**\n\n创建者。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"dataSource":{"description":"**参数解释:**\n\n租户使用的数据源名称。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"DefaultDataSource","type":"string"},"description":{"description":"**参数解释:**\n\n描述信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"默认租户","type":"string"},"disableFlag":{"description":"**参数解释:**\n\n失效标识。 \n\n**取值范围:**\n\n- true:失效。 \n- false:未失效。\n\n**默认取值:**\n\nfalse。\n","example":false,"type":"boolean"},"id":{"description":"**参数解释:**\n\n唯一标识。 \n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"-1","type":"string"},"kiaguid":{"description":"**参数解释:**\n\nKIA密级。 \n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"lastUpdateTime":{"description":"**参数解释:**\n\n最后更新时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"modifier":{"description":"**参数解释:**\n\n修改人。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"name":{"description":"**参数解释:**\n\n中文名称。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"basicTenant","type":"string"},"rdmDeleteFlag":{"description":"**参数解释:**\n\n软删除标识。\n\n**取值范围:**\n\n- 0:表示未删除。\n- 1:表示已删除。\n\n**默认取值:**\n\n0。\n","example":0,"format":"int32","type":"integer"},"rdmExtensionType":{"description":"**参数解释:**\n\n扩展类型。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"Tenant","type":"string"},"rdmVersion":{"description":"**参数解释:**\n\n系统版本。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"},"securityLevel":{"description":"**参数解释:**\n\n安全密级。\n\n**取值范围:**\n\n- INTERNAL:内部公开。\n- SECRET:秘密。\n- CONFIDENTIAL:机密。\n- TOP_SECRET:绝密。\n\n**默认取值:**\n\n不涉及。\n","example":"INTERNAL","type":"string"},"tenant":{"$ref":"#/definitions/TenantViewDTO","description":"**参数解释:**\n\n租户信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"}},"required":["code","dataSource"],"type":"object"},"TreeableModelViewDTO":{"properties":{"className":{"description":"**参数解释:**\n\n类名。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"TreeableModel","type":"string"},"createTime":{"description":"**参数解释:**\n\n创建时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"creator":{"description":"**参数解释:**\n\n创建人。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"fullPath":{"description":"**参数解释:**\n\n用于存储当前节点全路径。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"/**/**","type":"string"},"id":{"description":"**参数解释:**\n\n唯一标识。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"lastUpdateTime":{"description":"**参数解释:**\n\n最新更新时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"leafFlag":{"description":"**参数解释:**\n\n是否为叶子节点。\n\n**取值范围:**\n\n- true:是叶子节点。\n- false:不是叶子节点。\n\n**默认取值:**\n\n不涉及。\n","type":"boolean"},"modifier":{"description":"**参数解释:**\n\n修改人。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"parentNode":{"$ref":"#/definitions/ObjectReferenceViewDTO","description":"**参数解释:**\n\n父节点。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"},"rawFullPath":{"description":"**参数解释:**\n\n用于存储当前节点原始全路径。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"/**/**","type":"string"},"rdmDeleteFlag":{"description":"**参数解释:**\n\n软删除标识,参数值为0或1。\n\n**取值范围:**\n\n- 0:表示未删除。\n- 1:表示已删除。\n\n**默认取值:**\n\n0。\n","example":0,"format":"int32","type":"integer"},"rdmExtensionType":{"description":"**参数解释:**\n\n扩展类型。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"ExtendedClass","type":"string"},"rdmVersion":{"description":"**参数解释:**\n\n系统版本。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","format":"int32","type":"integer"},"rootNode":{"$ref":"#/definitions/ObjectReferenceViewDTO","description":"**参数解释:**\n\n根节点。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"},"tenant":{"$ref":"#/definitions/TenantViewDTO","description":"**参数解释:**\n\n租户信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"}},"type":"object"},"errors":{"description":"**参数解释:**\n\n异常信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[],"items":{"type":"string"},"type":"array"},"result":{"description":"**参数解释:**\n\n请求结果。\n\n**取值范围:**\n\n- SUCCESS:请求成功。\n- FAIL:请求失败。\n\n**默认取值:**\n\n不涉及。\n","example":"SUCCESS","type":"string"}},"description":null,"group_id":"ab5eda63b51647d6a950ceef4eccd859","host":"dme.cn-north-4.huaweicloud.com","id":"800259436ee341939350cdb7d2275d34","info_version":"v1","method":"post","name":"BatchAddChildNode","parameters":{"X-Auth-Token":{"description":"**参数解释:**\n\nIAM用户的token。\n\n获取方法请参见[获取IAM用户Token](https://support.huaweicloud.com/api-iam/iam_30_0001.html)。\n\n**约束限制:** \n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:** \n\n不涉及。\n","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX..."},"identifier":{"description":"**参数解释:**\n\n应用唯一标识。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n由英文字母和数字组成,且长度为32个字符。\n\n**默认取值:**\n\n不涉及。\n","in":"path","name":"identifier","required":true,"type":"string","x-example":"b3f9b7523a6141f4b2d76b92d6595281"}},"paths":{"/rdm_{identifier}_app/publicservices/api/{modelName}/batchAddChildNode":{"post":{"consumes":["application/json"],"description":"调用该接口批量为指定数据实例添加子节点。在调用该接口前请确保数据模型具有“树形结构”功能。","operationId":"BatchAddChildNode","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/identifier"},{"description":"**参数解释:**\n\n数据模型的英文名称。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n大写字母开头,只能包含字母、数字、“_”,且长度为[1-60]个字符。\n\n**默认取值:**\n\n不涉及。\n","in":"path","name":"modelName","required":true,"type":"string","x-example":"TreeableModel"},{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/RDMParamVOBatchOperateChildDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"data":[{"className":"TreeableModel","createTime":"2024-04-03T02:55:09.158+0000","creator":"xdmAdmin","fullPath":"616948972547739648/616949021809840128/","id":"616949021809840128","lastUpdateTime":"2024-04-03T02:55:09.158+0000","leafFlag":true,"modifier":"xdmAdmin","parentNode":{"className":"TreeableModel","clazz":"TreeableModel","id":"616948972547739648"},"rawFullPath":"616948972547739648/616949021809840128/","rdmDeleteFlag":0,"rdmExtensionType":"TreeableModel","rdmVersion":3,"rootNode":{"className":"TreeableModel","clazz":"TreeableModel","id":"616948972547739648"},"tenant":{"className":"Tenant","code":"basicTenant","createTime":"2023-12-01T01:25:21.000+0000","creator":"xdmAdmin","dataSource":"DefaultDataSource","description":"默认租户","disableFlag":false,"id":"-1","kiaguid":null,"lastUpdateTime":"2023-12-01T01:25:21.000+0000","modifier":"xdmAdmin","name":"basicTenant","nameEn":null,"rdmDeleteFlag":0,"rdmExtensionType":"Tenant","rdmVersion":1,"securityLevel":"internal","tenant":null}}],"errors":[],"result":"SUCCESS"}},"schema":{"$ref":"#/definitions/BatchAddChildNodeResp"}}},"summary":"批量添加实例的子节点","tags":["树形结构"],"x-constraint":"功能列表勾选了树形结构的模型可以使用该接口。","x-is-registered":"Y","x-request-examples-1":{"params":{"childList":["616949021809840128"],"parentId":"616948972547739648"}},"x-request-examples-text-1":{"params":{"childList":["616949021809840128"],"parentId":"616948972547739648"}},"x-request-examples-url-1":"POST https://dme.cn-north-4.huaweicloud.com/rdm_b3f9b7523a6141f4b2d76b92d6595281_app/publicservices/api/TreeableModel/batchAddChildNode","x-support-sdk":"Y","x-version":"v1"}}},"product_short":"iDMEClassicAPI","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量添加实例的子节点","tags":"树形结构","uri":null,"version":"2.0"}