GET city/v3/DataChangeWeb/GetSourceFields?sourceDataTypeId={sourceDataTypeId}&sourceDataField={sourceDataField}
获取数据源字段 【n4.3】【n4.4】【k3.3】【k3.4】【k3.64】
Request
URI Params
字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
sourceDataTypeId |
数据类型ID |
integer |
Required |
sourceDataField |
数据字段ID |
integer |
Default value is 0 |
Body Params
None.
Response
APITResultOfIEnumerableOfSourceDataFieldWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Data | Collection of SourceDataFieldWebModel |
None. |
|
Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
ErrCode |
错误代码,因功能而异 |
integer |
None. |
Msg |
返回信息 |
string |
None. |
SeqId |
请求序列 |
integer |
None. |
InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{ "Data": [ { "SourceDataFieldId": "1", "SourceDataTypeId": "2", "SourceDataTypeName": "sample string 3", "SourceModelFieldName": "sample string 4", "SourceModelFieldDesc": "sample string 5", "AliasFieldDesc": "sample string 6", "IsPrimarykey": true, "IsForeignkey": true, "ForeignkeySourceDataTypeId": 9, "IsMatchGrid": true, "CleanEntityFieldName": "sample string 11", "CleanEntityFieldDataType": "sample string 12", "IsMatchSysCode": true, "SysCodeId": "14", "SysCodeName": "sample string 15", "IsRequired": true, "LengthRange": [ 1, 2 ], "LengthRangeDes": "sample string 17", "FormatCheck": 0, "FormatCheckDes": "无", "CleanRuleDes": "sample string 18", "SysCodePairs": [ { "Code": "sample string 1", "Name": "sample string 2", "Customizes": [ "sample string 1", "sample string 2" ] }, { "Code": "sample string 1", "Name": "sample string 2", "Customizes": [ "sample string 1", "sample string 2" ] } ], "PName": "sample string 19", "Width": 20 }, { "SourceDataFieldId": "1", "SourceDataTypeId": "2", "SourceDataTypeName": "sample string 3", "SourceModelFieldName": "sample string 4", "SourceModelFieldDesc": "sample string 5", "AliasFieldDesc": "sample string 6", "IsPrimarykey": true, "IsForeignkey": true, "ForeignkeySourceDataTypeId": 9, "IsMatchGrid": true, "CleanEntityFieldName": "sample string 11", "CleanEntityFieldDataType": "sample string 12", "IsMatchSysCode": true, "SysCodeId": "14", "SysCodeName": "sample string 15", "IsRequired": true, "LengthRange": [ 1, 2 ], "LengthRangeDes": "sample string 17", "FormatCheck": 0, "FormatCheckDes": "无", "CleanRuleDes": "sample string 18", "SysCodePairs": [ { "Code": "sample string 1", "Name": "sample string 2", "Customizes": [ "sample string 1", "sample string 2" ] }, { "Code": "sample string 1", "Name": "sample string 2", "Customizes": [ "sample string 1", "sample string 2" ] } ], "PName": "sample string 19", "Width": 20 } ], "Ret": 1, "ErrCode": 2, "Msg": "sample string 3", "SeqId": 4, "InfoMsg": "sample string 5" }