GET api/Farmer/MicroApp/WateringInfo/Query/RelateToCurrentFarmer
该方法用于查询农户小程序中灌溉首页的信息展示内容
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
该方法用于查询农户小程序中灌溉首页的信息展示内容
CommonOperationResultWithTagOfIEnumerableOfFarmerWateringInfoItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of FarmerWateringInfoItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"SerialId": 1,
"LandGroupId": 2,
"LandArea": 3.0,
"FarmerId": 4,
"LandName": "sample string 5",
"WaterWeight": 6.0,
"LandType": "sample string 7",
"Address": "sample string 8",
"ShaftNum": "sample string 9",
"PriceTable": "sample string 10",
"WateringInfo": "sample string 11",
"LeadInfo": "sample string 12",
"GroupName": "sample string 13"
},
{
"SerialId": 1,
"LandGroupId": 2,
"LandArea": 3.0,
"FarmerId": 4,
"LandName": "sample string 5",
"WaterWeight": 6.0,
"LandType": "sample string 7",
"Address": "sample string 8",
"ShaftNum": "sample string 9",
"PriceTable": "sample string 10",
"WateringInfo": "sample string 11",
"LeadInfo": "sample string 12",
"GroupName": "sample string 13"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfFarmerWateringInfoItemwlCnhfv3 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">
<d2p1:FarmerWateringInfoItem>
<d2p1:Address>sample string 8</d2p1:Address>
<d2p1:FarmerId>4</d2p1:FarmerId>
<d2p1:GroupName>sample string 13</d2p1:GroupName>
<d2p1:LandArea>3</d2p1:LandArea>
<d2p1:LandGroupId>2</d2p1:LandGroupId>
<d2p1:LandName>sample string 5</d2p1:LandName>
<d2p1:LandType>sample string 7</d2p1:LandType>
<d2p1:LeadInfo>sample string 12</d2p1:LeadInfo>
<d2p1:PriceTable>sample string 10</d2p1:PriceTable>
<d2p1:SerialId>1</d2p1:SerialId>
<d2p1:ShaftNum>sample string 9</d2p1:ShaftNum>
<d2p1:WaterWeight>6</d2p1:WaterWeight>
<d2p1:WateringInfo>sample string 11</d2p1:WateringInfo>
</d2p1:FarmerWateringInfoItem>
<d2p1:FarmerWateringInfoItem>
<d2p1:Address>sample string 8</d2p1:Address>
<d2p1:FarmerId>4</d2p1:FarmerId>
<d2p1:GroupName>sample string 13</d2p1:GroupName>
<d2p1:LandArea>3</d2p1:LandArea>
<d2p1:LandGroupId>2</d2p1:LandGroupId>
<d2p1:LandName>sample string 5</d2p1:LandName>
<d2p1:LandType>sample string 7</d2p1:LandType>
<d2p1:LeadInfo>sample string 12</d2p1:LeadInfo>
<d2p1:PriceTable>sample string 10</d2p1:PriceTable>
<d2p1:SerialId>1</d2p1:SerialId>
<d2p1:ShaftNum>sample string 9</d2p1:ShaftNum>
<d2p1:WaterWeight>6</d2p1:WaterWeight>
<d2p1:WateringInfo>sample string 11</d2p1:WateringInfo>
</d2p1:FarmerWateringInfoItem>
</tag>
</CommonOperationResultWithTagOfArrayOfFarmerWateringInfoItemwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.