GET api/Farmer/MicroApp/WateringDetail/Query?pageindex={pageindex}&yearcode={yearcode}&serialid={serialid}&landgroupid={landgroupid}
以不计页数的分页方式,依据少量条件,查询与当前农户有关的流量计产生的灌溉明细的分页数据。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageindex |
页序号,小于等于1为第1页,页大小固定为5。 |
integer |
Default value is 1 |
yearcode |
灌溉年度,“”表示不限,等于 |
string |
Default value is |
serialid |
流计量的ID,0表示不限,等于。 |
integer |
Default value is 0 |
landgroupid |
组的ID,0表示不限,等于。 |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
以不计页数的分页方式,依据少量条件,查询与当前农户有关的流量计产生的灌溉明细的分页数据。
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerWateringDetailViewItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | SimplePageDataWithNoCountResultOfPlatformFarmerWateringDetailViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "pageIndex": 1, "pageSize": 2, "hasMorePages": "sample string 3", "records": [ { "TradeId": 1, "YearCode": "sample string 2", "AgentId": 3, "FarmerId": 4, "ComsumeVolumn": 5.0, "Summary": 6.0, "BearRate": 7.0, "Discount": 8, "NeedPayment": 9.0, "Payment": 10.0, "LandArea": 11.0, "LandName": "sample string 12", "WaterWeight": 13, "LandType": "sample string 14", "TradeStartTime": "sample string 15", "TradeEndTime": "sample string 16", "PaymentStatus": "sample string 17", "PaymentBillId": "sample string 18", "PaymentBillType": "sample string 19", "PaymentTime": "sample string 20", "LandGroupId": 21, "GroupName": "sample string 22", "SerialId": 23, "MeterInfo": "sample string 24", "TotalLandArea": 25.0, "TotalCalWateringAmount": 26.0, "TotalCalSummary": 27.0, "AgentName": "sample string 28", "Balance": 29.0 }, { "TradeId": 1, "YearCode": "sample string 2", "AgentId": 3, "FarmerId": 4, "ComsumeVolumn": 5.0, "Summary": 6.0, "BearRate": 7.0, "Discount": 8, "NeedPayment": 9.0, "Payment": 10.0, "LandArea": 11.0, "LandName": "sample string 12", "WaterWeight": 13, "LandType": "sample string 14", "TradeStartTime": "sample string 15", "TradeEndTime": "sample string 16", "PaymentStatus": "sample string 17", "PaymentBillId": "sample string 18", "PaymentBillType": "sample string 19", "PaymentTime": "sample string 20", "LandGroupId": 21, "GroupName": "sample string 22", "SerialId": 23, "MeterInfo": "sample string 24", "TotalLandArea": 25.0, "TotalCalWateringAmount": 26.0, "TotalCalSummary": 27.0, "AgentName": "sample string 28", "Balance": 29.0 } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerWateringDetailViewItemwlCnhfv3rCdCJ3eC 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> <hasMorePages>sample string 3</hasMorePages> <pageIndex>1</pageIndex> <pageSize>2</pageSize> <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter"> <d3p1:PlatformFarmerWateringDetailViewItem> <d3p1:AgentId>3</d3p1:AgentId> <d3p1:AgentName>sample string 28</d3p1:AgentName> <d3p1:Balance>29</d3p1:Balance> <d3p1:BearRate>7</d3p1:BearRate> <d3p1:ComsumeVolumn>5</d3p1:ComsumeVolumn> <d3p1:Discount>8</d3p1:Discount> <d3p1:FarmerId>4</d3p1:FarmerId> <d3p1:GroupName>sample string 22</d3p1:GroupName> <d3p1:LandArea>11</d3p1:LandArea> <d3p1:LandGroupId>21</d3p1:LandGroupId> <d3p1:LandName>sample string 12</d3p1:LandName> <d3p1:LandType>sample string 14</d3p1:LandType> <d3p1:MeterInfo>sample string 24</d3p1:MeterInfo> <d3p1:NeedPayment>9</d3p1:NeedPayment> <d3p1:Payment>10</d3p1:Payment> <d3p1:PaymentBillId>sample string 18</d3p1:PaymentBillId> <d3p1:PaymentBillType>sample string 19</d3p1:PaymentBillType> <d3p1:PaymentStatus>sample string 17</d3p1:PaymentStatus> <d3p1:PaymentTime>sample string 20</d3p1:PaymentTime> <d3p1:SerialId>23</d3p1:SerialId> <d3p1:Summary>6</d3p1:Summary> <d3p1:TotalCalSummary>27</d3p1:TotalCalSummary> <d3p1:TotalCalWateringAmount>26</d3p1:TotalCalWateringAmount> <d3p1:TotalLandArea>25</d3p1:TotalLandArea> <d3p1:TradeEndTime>sample string 16</d3p1:TradeEndTime> <d3p1:TradeId>1</d3p1:TradeId> <d3p1:TradeStartTime>sample string 15</d3p1:TradeStartTime> <d3p1:WaterWeight>13</d3p1:WaterWeight> <d3p1:YearCode>sample string 2</d3p1:YearCode> </d3p1:PlatformFarmerWateringDetailViewItem> <d3p1:PlatformFarmerWateringDetailViewItem> <d3p1:AgentId>3</d3p1:AgentId> <d3p1:AgentName>sample string 28</d3p1:AgentName> <d3p1:Balance>29</d3p1:Balance> <d3p1:BearRate>7</d3p1:BearRate> <d3p1:ComsumeVolumn>5</d3p1:ComsumeVolumn> <d3p1:Discount>8</d3p1:Discount> <d3p1:FarmerId>4</d3p1:FarmerId> <d3p1:GroupName>sample string 22</d3p1:GroupName> <d3p1:LandArea>11</d3p1:LandArea> <d3p1:LandGroupId>21</d3p1:LandGroupId> <d3p1:LandName>sample string 12</d3p1:LandName> <d3p1:LandType>sample string 14</d3p1:LandType> <d3p1:MeterInfo>sample string 24</d3p1:MeterInfo> <d3p1:NeedPayment>9</d3p1:NeedPayment> <d3p1:Payment>10</d3p1:Payment> <d3p1:PaymentBillId>sample string 18</d3p1:PaymentBillId> <d3p1:PaymentBillType>sample string 19</d3p1:PaymentBillType> <d3p1:PaymentStatus>sample string 17</d3p1:PaymentStatus> <d3p1:PaymentTime>sample string 20</d3p1:PaymentTime> <d3p1:SerialId>23</d3p1:SerialId> <d3p1:Summary>6</d3p1:Summary> <d3p1:TotalCalSummary>27</d3p1:TotalCalSummary> <d3p1:TotalCalWateringAmount>26</d3p1:TotalCalWateringAmount> <d3p1:TotalLandArea>25</d3p1:TotalLandArea> <d3p1:TradeEndTime>sample string 16</d3p1:TradeEndTime> <d3p1:TradeId>1</d3p1:TradeId> <d3p1:TradeStartTime>sample string 15</d3p1:TradeStartTime> <d3p1:WaterWeight>13</d3p1:WaterWeight> <d3p1:YearCode>sample string 2</d3p1:YearCode> </d3p1:PlatformFarmerWateringDetailViewItem> </records> </tag> </CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerWateringDetailViewItemwlCnhfv3rCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.