开天集成工作台 MSSI-更新实体:请求示例

时间:2024-10-22 09:04:08

请求示例

PUT https://{endpoint}/v3/{project_id}/abm/instances/{instance_id}/metadata3/entities/{entity_urn}
{
    "package_id": "Metamodel3",
    "entity_name": "主题域02",
    "entity_type": "Metamodel3-SubjectArea",
    "entity_attributes": [
        {
            "attribute_id": "Metamodel3-SubjectArea-NAME",
            "attribute_value": ""
        },
        {
            "attribute_id": "Metamodel3-SubjectArea-PermissionCode",
            "attribute_value": ""
        },
        {
            "attribute_id": "Metamodel3-SubjectArea-OrderNumber",
            "attribute_value": ""
        },
        {
            "attribute_id": "entity_name",
            "attribute_value": "主题域02"
        }
    ],
    "signatures": [
        {
            "signature_name": "测试",
            "signature_type": "Metamodel3-descriptionInfo",
            "signature_attributes": [
                {
                    "attribute_id": "Metamodel3-descriptionInfo-NAME",
                    "attribute_value": "测试"
                },
                {
                    "attribute_id": "Metamodel3-descriptionInfo-description",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-descriptionInfo-nameEn",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-descriptionInfo-nameCn",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-descriptionInfo-dataAssetNumber",
                    "attribute_value": ""
                }
            ]
        },
        {
            "signature_name": "",
            "signature_type": "Metamodel3-maintenanceInfo",
            "signature_attributes": [
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-NAME",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-createdBy",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-createTime",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-updatedBy",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-updateTime",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-creatorAccount",
                    "attribute_value": ""
                },
                {
                    "attribute_id": "Metamodel3-maintenanceInfo-updaterAccount",
                    "attribute_value": ""
                }
            ]
        }
    ]
}
support.huaweicloud.com/api-mssi/mssi_03_008657.html