更新时间:2021-12-17 GMT+08:00
分享

查询模型详情

功能介绍

根据模型ID查询模型详情。

URI

  • URI格式
    GET /softcomai/datalake/dataplan/v1.0/data/model/detail?id={id}
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    id

    String

    模型Id。

请求

  • 请求样例
    GET https://ipaddr:port/softcomai/datalake/dataplan/v1.0/data/model/detail?id=dr-14e56f673fab438485c5bf5956d8ffea
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    id

    String

    模型Id。

响应

  • 响应样例
    {
    	"errorCode": 0,
    	"errorDescription": null,
    	"id": null,
    	"totalProcess": 0,
    	"description": null,
    	"jobId": null,
    	"status": null,
    	"resObj": {
    		"createTime": "2020-03-14T07:21:35.000+00:00",
    		"modifyOper": null,
    		"modifyTime": null,
    		"owner": "fuqiang",
    		"createOper": "06179cf4c080d5bb1faac0035a6a3650",
    		"ldmEntityAttributes": [{
    			"attrId": "dr-8918b672b635445dae9806d631600e75",
    			"attrName": "采集间隔",
    			"attrDesc": null,
    			"attrTag": null,
    			"dataType": "AIINT",
    			"dataLen": null,
    			"dataPrec": 0,
    			"notNull": "0",
    			"sn": 1,
    			"entityId": "dr-14e56f673fab438485c5bf5956d8ffea",
    			"tenantId": "051fb6d19780d5312f41c003c7e7258d",
    			"projectId": null,
    			"dclId": "3",
    			"dclCode": null,
    			"dslId": null,
    			"dslCode": null,
    			"extInfo": null,
    			"status": "1",
    			"pk": "0",
    			"attrCode": "duration"
    		}],
    		"ldmEntityRelations": [],
    		"ldmSource": null,
    		"entityId": "dr-14e56f673fab438485c5bf5956d8ffea",
    		"status": "1",
    		"origin": "DM",
    		"extInfo": null,
    		"classCode": "TABLE",
    		"classId": "01",
    		"businessName": "ATS-数据准备联调",
    		"entityName": "ats_kpi_label",
    		"entityDesc": "水",
    		"entityTag": null,
    		"entityType": "01",
    		"sn": 0,
    		"dclCode": null,
    		"dclId": "3",
    		"projectId": null,
    		"tenantId": "051fb6d19780d5312f41c003c7e7258d",
    		"layerId": "dr-761deda7c97b4595af680b802c1cca5c",
    		"verNo": "1.0",
    		"parentEntity": null,
    		"hasPhysical": "1",
    		"absoluteDirectory": "DataModeling/数据准备/",
    		"notUpdatePdm": false,
    		"pdmNum": 2,
    		"physicalEntities": [{
    			"createTime": "2020-03-14T07:21:35.000+00:00",
    			"modifyOper": "06179cf4c080d5bb1faac0035a6a3650",
    			"modifyTime": "2020-03-14T07:21:36.000+00:00",
    			"owner": null,
    			"createOper": "06179cf4c080d5bb1faac0035a6a3650",
    			"pdmId": "dr-fd47d2f9b4014a0e98119d51b96b5f59",
    			"entityId": "dr-14e56f673fab438485c5bf5956d8ffea",
    			"status": "1",
    			"sn": 0,
    			"extInfo": null,
    			"cyclePrefix": null,
    			"partitionCfg": null,
    			"cycleType": null,
    			"cycleField": null,
    			"cycleFormat": null,
    			"saveCycle": null,
    			"dbSchema": "dws_softcomai_z00284297_03_rt1xj9ia",
    			"dbName": "dws_softcomai_z00284297_03_rt1xj9ia",
    			"dsName": null,
    			"dsType": "DWS",
    			"dsId": "dwsbcfdb26808864f96af08bad6231b466c",
    			"saveType": "0",
    			"pdmDesc": null,
    			"pdmName": "ats_kpi_label",
    			"connectionInfo": null,
    			"pdmAttrs": null,
    			"pdmTables": null,
    			"pdmParams": null
    		}]
    	},
    	"additionalObj": null
    }
  • 要素说明

    参数名

    参数类型

    备注

    errorCode

    int

    响应码。

    resObj

    JSON

    返回体。

    status

    String

    状态。

    jobId

    String

    任务id。

状态码

具体请参考状态码

相关文档