GET api/Agent/MicroApp/Watering/Trade/FarmerCal/Detail?tradeid={tradeid}&yearcode={yearcode}

依据灌溉交易ID和年度查询土地组灌溉记录下的所有农户明细

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tradeid

灌溉交易ID

integer

Required

yearcode

年度

string

Required

Body Parameters

None.

Response Information

Resource Description

依据灌溉交易ID和年度查询土地组灌溉记录下的所有农户明细

CommonOperationResultWithTagOfIEnumerableOfAgentMicroAppWateringCalFarmerViewItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of AgentMicroAppWateringCalFarmerViewItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "TradeId": 1,
      "YearCode": "sample string 2",
      "LandGroupId": 3,
      "GroupName": "sample string 4",
      "SerialId": 5,
      "MeterInfo": "sample string 6",
      "WateringTime": "sample string 7",
      "TotalWateringArea": 8.0,
      "TotalWateringParameter": 9.0,
      "TotalCalWateringAmount": 10.0,
      "TotalCalSummary": 11.0,
      "FarmerId": 12,
      "FarmerName": "sample string 13",
      "IDNumber": "sample string 14",
      "Mobile": "sample string 15",
      "ComsumeVolumn": 16.0,
      "Summary": 17.0,
      "BearRate": 18.0,
      "Discount": 19,
      "NeedPayment": 20.0,
      "Payment": 21.0,
      "LandArea": 22.0,
      "LandName": "sample string 23",
      "WaterWeight": 24,
      "LandType": "sample string 25",
      "PaymentStatus": "sample string 26",
      "PaymentBillId": "sample string 27",
      "PaymentBillType": "sample string 28",
      "PaymentTime": "sample string 29"
    },
    {
      "TradeId": 1,
      "YearCode": "sample string 2",
      "LandGroupId": 3,
      "GroupName": "sample string 4",
      "SerialId": 5,
      "MeterInfo": "sample string 6",
      "WateringTime": "sample string 7",
      "TotalWateringArea": 8.0,
      "TotalWateringParameter": 9.0,
      "TotalCalWateringAmount": 10.0,
      "TotalCalSummary": 11.0,
      "FarmerId": 12,
      "FarmerName": "sample string 13",
      "IDNumber": "sample string 14",
      "Mobile": "sample string 15",
      "ComsumeVolumn": 16.0,
      "Summary": 17.0,
      "BearRate": 18.0,
      "Discount": 19,
      "NeedPayment": 20.0,
      "Payment": 21.0,
      "LandArea": 22.0,
      "LandName": "sample string 23",
      "WaterWeight": 24,
      "LandType": "sample string 25",
      "PaymentStatus": "sample string 26",
      "PaymentBillId": "sample string 27",
      "PaymentBillType": "sample string 28",
      "PaymentTime": "sample string 29"
    }
  ]
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfArrayOfAgentMicroAppWateringCalFarmerViewItemuEShfYtI 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.Flowmeter.MicroApp">
    <d2p1:AgentMicroAppWateringCalFarmerViewItem>
      <d2p1:BearRate>18</d2p1:BearRate>
      <d2p1:ComsumeVolumn>16</d2p1:ComsumeVolumn>
      <d2p1:Discount>19</d2p1:Discount>
      <d2p1:FarmerId>12</d2p1:FarmerId>
      <d2p1:FarmerName>sample string 13</d2p1:FarmerName>
      <d2p1:GroupName>sample string 4</d2p1:GroupName>
      <d2p1:IDNumber>sample string 14</d2p1:IDNumber>
      <d2p1:LandArea>22</d2p1:LandArea>
      <d2p1:LandGroupId>3</d2p1:LandGroupId>
      <d2p1:LandName>sample string 23</d2p1:LandName>
      <d2p1:LandType>sample string 25</d2p1:LandType>
      <d2p1:MeterInfo>sample string 6</d2p1:MeterInfo>
      <d2p1:Mobile>sample string 15</d2p1:Mobile>
      <d2p1:NeedPayment>20</d2p1:NeedPayment>
      <d2p1:Payment>21</d2p1:Payment>
      <d2p1:PaymentBillId>sample string 27</d2p1:PaymentBillId>
      <d2p1:PaymentBillType>sample string 28</d2p1:PaymentBillType>
      <d2p1:PaymentStatus>sample string 26</d2p1:PaymentStatus>
      <d2p1:PaymentTime>sample string 29</d2p1:PaymentTime>
      <d2p1:SerialId>5</d2p1:SerialId>
      <d2p1:Summary>17</d2p1:Summary>
      <d2p1:TotalCalSummary>11</d2p1:TotalCalSummary>
      <d2p1:TotalCalWateringAmount>10</d2p1:TotalCalWateringAmount>
      <d2p1:TotalWateringArea>8</d2p1:TotalWateringArea>
      <d2p1:TotalWateringParameter>9</d2p1:TotalWateringParameter>
      <d2p1:TradeId>1</d2p1:TradeId>
      <d2p1:WaterWeight>24</d2p1:WaterWeight>
      <d2p1:WateringTime>sample string 7</d2p1:WateringTime>
      <d2p1:YearCode>sample string 2</d2p1:YearCode>
    </d2p1:AgentMicroAppWateringCalFarmerViewItem>
    <d2p1:AgentMicroAppWateringCalFarmerViewItem>
      <d2p1:BearRate>18</d2p1:BearRate>
      <d2p1:ComsumeVolumn>16</d2p1:ComsumeVolumn>
      <d2p1:Discount>19</d2p1:Discount>
      <d2p1:FarmerId>12</d2p1:FarmerId>
      <d2p1:FarmerName>sample string 13</d2p1:FarmerName>
      <d2p1:GroupName>sample string 4</d2p1:GroupName>
      <d2p1:IDNumber>sample string 14</d2p1:IDNumber>
      <d2p1:LandArea>22</d2p1:LandArea>
      <d2p1:LandGroupId>3</d2p1:LandGroupId>
      <d2p1:LandName>sample string 23</d2p1:LandName>
      <d2p1:LandType>sample string 25</d2p1:LandType>
      <d2p1:MeterInfo>sample string 6</d2p1:MeterInfo>
      <d2p1:Mobile>sample string 15</d2p1:Mobile>
      <d2p1:NeedPayment>20</d2p1:NeedPayment>
      <d2p1:Payment>21</d2p1:Payment>
      <d2p1:PaymentBillId>sample string 27</d2p1:PaymentBillId>
      <d2p1:PaymentBillType>sample string 28</d2p1:PaymentBillType>
      <d2p1:PaymentStatus>sample string 26</d2p1:PaymentStatus>
      <d2p1:PaymentTime>sample string 29</d2p1:PaymentTime>
      <d2p1:SerialId>5</d2p1:SerialId>
      <d2p1:Summary>17</d2p1:Summary>
      <d2p1:TotalCalSummary>11</d2p1:TotalCalSummary>
      <d2p1:TotalCalWateringAmount>10</d2p1:TotalCalWateringAmount>
      <d2p1:TotalWateringArea>8</d2p1:TotalWateringArea>
      <d2p1:TotalWateringParameter>9</d2p1:TotalWateringParameter>
      <d2p1:TradeId>1</d2p1:TradeId>
      <d2p1:WaterWeight>24</d2p1:WaterWeight>
      <d2p1:WateringTime>sample string 7</d2p1:WateringTime>
      <d2p1:YearCode>sample string 2</d2p1:YearCode>
    </d2p1:AgentMicroAppWateringCalFarmerViewItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfAgentMicroAppWateringCalFarmerViewItemuEShfYtI>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.