GetMasterDataTableStructure
>=
4.9.5
接口功能
获取 Master Data 一个表的表结构
请求参数
参数 | 类型 | 说明 |
---|---|---|
TableName | string | Master Data 表名 |
返回数据类型
public List<MasterDataTableStructureColumn> Columns { get; set; }
MasterDataTableStructureColumn:
public string ColumnName { get; set; }
public string ColumnType { get; set; }
public bool Required { get; set; }
输入示例
{
"TableName": "TestTable"
}
返回示例
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": {
"Columns": [
{
"ColumnName": "ColName1",
"ColumnType": "System.String",
"Required": true
},
{
"ColumnName": "ColName2",
"ColumnType": "System.Int32",
"Required": false
},
{
"ColumnName": "ColName3",
"ColumnType": "System.Boolean",
"Required": false
},
{
"ColumnName": "ColName4",
"ColumnType": "System.DateTime",
"Required": false
}
]
}
}