{"base_path":"/","components":null,"consumes":"","definitions":{"ObjectReferenceParamDTO":{"properties":{"clazz":{"description":"**参数解释:**\n\n类名。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"tenant","type":"string"},"id":{"description":"**参数解释:**\n\n数据实例ID。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":-1,"type":"string"}},"required":["id"],"type":"object"},"PersistableModelSaveDTO":{"properties":{"createTime":{"description":"**参数解释:**\n\n创建时间。\n\n**约束限制:**\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\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"id":{"description":"**参数解释:**\n\n唯一标识。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":1,"type":"string"},"lastUpdateTime":{"description":"**参数解释:**\n\n最后更新时间。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"2023-12-02T03:03:07.695+0000","type":"string"},"modifier":{"description":"**参数解释:**\n\n更新者。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"needSetNullAttrs":{"description":"**参数解释:**\n\n将自定义属性(包括基本属性、扩展属性和分类属性)设置为空值,其长度不能超过1000个字符。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[],"items":{"type":"string"},"type":"array"},"rdmExtensionType":{"description":"**参数解释:**\n\n扩展类型。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"PersistableModel","type":"string"},"tenant":{"$ref":"#/definitions/ObjectReferenceParamDTO","description":"**参数解释:**\n\n租户信息。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"},"uniqueKey":{"description":"**参数解释:**\n\n示例模型的唯一键属性。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"save接口通过唯一键更新值","type":"string"}},"type":"object"},"RDMParamVOListPersistableModelSaveDTO":{"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":{"description":"**参数解释:**\n\n请求参数对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","items":{"$ref":"#/definitions/PersistableModelSaveDTO"},"type":"array"}},"type":"object"},"SaveResp":{"properties":{"data":{"description":"**参数解释:**\n\n请求数据。\n\n**约束限制:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[1],"items":{"format":"int64","type":"integer"},"type":"array"},"errors":{"$ref":"#/definitions/errors"},"result":{"$ref":"#/definitions/result"}},"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":"2e737b21540141a2b0e245cca5f8f91f","info_version":"v1","method":"post","name":"SaveUsingPost","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}/save":{"post":{"consumes":["application/json"],"description":"当数据模型中存在“唯一键”为“是”的属性时,可根据该属性的英文名称更新该数据模型中实例的指定字段数据。\n\n如果更新的实例不存在,系统将自动创建该实例数据。","operationId":"SaveUsingPost","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":"PersistableModel"},{"description":"请求参数对象。","in":"body","name":"paramVO","required":true,"schema":{"$ref":"#/definitions/RDMParamVOListPersistableModelSaveDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"data":[1],"errors":[],"result":"SUCCESS"}},"schema":{"$ref":"#/definitions/SaveResp"}}},"summary":"根据唯一键为“是”的属性更新实例的指定字段","tags":["基础数据服务"],"x-constraint":"不涉及。","x-is-registered":"Y","x-order":12,"x-request-examples-1":{"applicationId":"b3f9b7523a6141f4b2d76b92d6595281","params":[{"creator":"test1","id":"1","modifier":"test1","rdmExtensionType":"PersistableModel","tenant":{"clazz":"Tenant","id":"-1"},"uniqueKey":"save接口通过唯一键更新值"}]},"x-request-examples-text-1":{"applicationId":"b3f9b7523a6141f4b2d76b92d6595281","params":[{"creator":"test1","id":"1","modifier":"test1","rdmExtensionType":"PersistableModel","tenant":{"clazz":"Tenant","id":"-1"},"uniqueKey":"save接口通过唯一键更新值"}]},"x-request-examples-url-1":"POST https://dme.cn-north-4.huaweicloud.com/rdm_b3f9b7523a6141f4b2d76b92d6595281_app/publicservices/api/PersistableModel/save","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"}