GET api/AgrTech/Data/QueryWithPage?pageindex={pageindex}&pagesize={pagesize}&dataid={dataid}&dataname={dataname}
以分页的方式,查询系统可以支持的物理量清单(T_AgrTec_Data)的数据。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageindex |
页序号,为空表示首页。 |
integer |
Default value is 0 |
| pagesize |
页大小,默认为20。 |
integer |
Default value is 20 |
| dataid |
物理量的ID,0或不输入表示不限。 |
integer |
Default value is -1 |
| dataname |
物理量名称,包含,如“温度”。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
以分页的方式,查询系统可以支持的物理量清单(T_AgrTec_Data)的数据。
CommonOperationResultWithTagOfSimplePageDataResultOfAgrTec_DataTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | SimplePageDataResultOfAgrTec_DataTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"totalreccount": 1,
"pageIndex": 2,
"pageSize": 3,
"pageCount": 4,
"records": [
{
"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:
<CommonOperationResultWithTagOfSimplePageDataResultOfAgrTec_DataTableItemnMA5lUgerCdCJ3eC 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>
<pageCount>4</pageCount>
<pageIndex>2</pageIndex>
<pageSize>3</pageSize>
<records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer">
<d3p1:AgrTec_DataTableItem>
<d3p1:DataId>1</d3p1:DataId>
<d3p1:DataName>sample string 2</d3p1:DataName>
<d3p1:Memory>sample string 3</d3p1:Memory>
</d3p1:AgrTec_DataTableItem>
<d3p1:AgrTec_DataTableItem>
<d3p1:DataId>1</d3p1:DataId>
<d3p1:DataName>sample string 2</d3p1:DataName>
<d3p1:Memory>sample string 3</d3p1:Memory>
</d3p1:AgrTec_DataTableItem>
</records>
<totalreccount>1</totalreccount>
</tag>
</CommonOperationResultWithTagOfSimplePageDataResultOfAgrTec_DataTableItemnMA5lUgerCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.