工业数字模型驱动引擎-管理员更新M-V模型数据实例:响应示例

时间:2024-11-13 16:39:36

响应示例

状态码: 200

OK

{
  "result" : "SUC CES S",
  "data" : [ {
    "id" : "601060080745455616",
    "creator" : "test1",
    "modifier" : "test1",
    "createTime" : "2024-02-19T06:38:10.406+0000",
    "lastUpdateTime" : "2024-02-19T06:56:43.319+0000",
    "rdmVersion" : 4,
    "rdmDeleteFlag" : 0,
    "rdmExtensionType" : "VersionModel",
    "tenant" : {
      "id" : "-1",
      "creator" : "xdmAdmin",
      "modifier" : "xdmAdmin",
      "createTime" : "2023-12-01T01:25:21.000+0000",
      "lastUpdateTime" : "2023-12-01T01:25:21.000+0000",
      "rdmVersion" : 1,
      "rdmDeleteFlag" : 0,
      "rdmExtensionType" : "Tenant",
      "tenant" : null,
      "className" : "Tenant",
      "name" : "basicTenant",
      "description" : "默认租户",
      "kiaguid" : null,
      "securityLevel" : "internal",
      "nameEn" : null,
      "code" : "basicTenant",
      "disableFlag" : false,
      "dataSource" : "DefaultDataSource"
    },
    "className" : "VersionModel",
    "name" : "modifier name",
    "description" : "modifier description",
    "kiaguid" : "18409de0386546f8af4bb6c1dc5cf50f",
    "securityLevel" : "internal",
    "master" : {
      "id" : "601060080779010048",
      "creator" : "test1",
      "modifier" : "test1",
      "createTime" : "2024-02-19T06:38:10.419+0000",
      "lastUpdateTime" : "2024-02-19T06:56:43.319+0000",
      "rdmVersion" : 4,
      "rdmDeleteFlag" : 0,
      "rdmExtensionType" : "VersionModelMaster",
      "tenant" : {
        "id" : "-1",
        "creator" : "xdmAdmin",
        "modifier" : "xdmAdmin",
        "createTime" : "2023-12-01T01:25:21.000+0000",
        "lastUpdateTime" : "2023-12-01T01:25:21.000+0000",
        "rdmVersion" : 1,
        "rdmDeleteFlag" : 0,
        "rdmExtensionType" : "Tenant",
        "tenant" : null,
        "className" : "Tenant",
        "name" : "basicTenant",
        "description" : "默认租户",
        "kiaguid" : null,
        "securityLevel" : "internal",
        "nameEn" : null,
        "code" : "basicTenant",
        "disableFlag" : false,
        "dataSource" : "DefaultDataSource"
      },
      "className" : "VersionModelMaster"
    },
    "branch" : {
      "id" : "601060080799981568",
      "creator" : "test1",
      "modifier" : "test1",
      "createTime" : "2024-02-19T06:38:10.464+0000",
      "lastUpdateTime" : "2024-02-19T06:56:43.319+0000",
      "rdmVersion" : 4,
      "rdmDeleteFlag" : 0,
      "rdmExtensionType" : "VersionModelBranch",
      "tenant" : {
        "id" : "-1",
        "creator" : "xdmAdmin",
        "modifier" : "xdmAdmin",
        "createTime" : "2023-12-01T01:25:21.000+0000",
        "lastUpdateTime" : "2023-12-01T01:25:21.000+0000",
        "rdmVersion" : 1,
        "rdmDeleteFlag" : 0,
        "rdmExtensionType" : "Tenant",
        "tenant" : null,
        "className" : "Tenant",
        "name" : "basicTenant",
        "description" : "默认租户",
        "kiaguid" : null,
        "securityLevel" : "internal",
        "nameEn" : null,
        "code" : "basicTenant",
        "disableFlag" : false,
        "dataSource" : "DefaultDataSource"
      },
      "className" : "VersionModelBranch",
      "version" : "A"
    },
    "latest" : true,
    "latestIteration" : true,
    "versionCode" : 1,
    "iteration" : 1,
    "version" : "A",
    "latestVersion" : true,
    "workingCopy" : false,
    "workingState" : {
      "code" : "CHECKED_IN",
      "cnName" : "已检入",
      "enName" : "checked in",
      "alias" : "CHECKED_IN"
    },
    "checkOutUserName" : null,
    "checkOutTime" : null,
    "preVersionId" : null
  } ],
  "errors" : [ ]
}
support.huaweicloud.com/api-idme/UpdateByAdmin.html