GET api/Far/MicroApp/GHourse/DataSet/DataItem?dataid={dataid}&dataname={dataname}
以不分页的方式,查询T_AgrTech_Data表的数据,主要用于刷新下拉列表框。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dataid |
型号的ID。 |
integer |
Default value is 0 |
| dataname |
物理量的ID,0或不输入表示不限。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
以不分页的方式,查询T_AgrTech_Data表的数据,主要用于刷新下拉列表框。
CommonOperationResultWithTagOfIEnumerableOfAgrTec_DataTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of AgrTec_DataTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"DataId": 1,
"DataName": "sample string 2",
"Memory": "sample string 3"
},
{
"DataId": 1,
"DataName": "sample string 2",
"Memory": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfAgrTec_DataTableItemnMA5lUge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer">
<d2p1:AgrTec_DataTableItem>
<d2p1:DataId>1</d2p1:DataId>
<d2p1:DataName>sample string 2</d2p1:DataName>
<d2p1:Memory>sample string 3</d2p1:Memory>
</d2p1:AgrTec_DataTableItem>
<d2p1:AgrTec_DataTableItem>
<d2p1:DataId>1</d2p1:DataId>
<d2p1:DataName>sample string 2</d2p1:DataName>
<d2p1:Memory>sample string 3</d2p1:Memory>
</d2p1:AgrTec_DataTableItem>
</tag>
</CommonOperationResultWithTagOfArrayOfAgrTec_DataTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.