GET api/Agent/MicroApp/Appointment/LoadAllFarmer?serialid={serialid}&landgroupid={landgroupid}
依据流量计ID和土地组ID加载该灌溉关系下所有土地的清单信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serialid | integer |
Required |
|
landgroupid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
依据流量计ID和土地组ID加载该灌溉关系下所有土地的清单信息
CommonOperationResultWithTagOfIEnumerableOfAgentWateringRelationShipFarmerViewItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of AgentWateringRelationShipFarmerViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "FarmerName": "sample string 1", "Mobile": "sample string 2", "IDNumber": "sample string 3", "GroupName": "sample string 4", "WaterParameter": 5.0, "GroupStatus": "sample string 6", "Address": "sample string 7", "ShaftNum": "sample string 8", "LandArea": 9.0, "LandName": "sample string 10", "WaterWeight": 64, "LandType": "sample string 12", "SerialId": 13, "LandGroupId": 14, "FarmerId": 15 }, { "FarmerName": "sample string 1", "Mobile": "sample string 2", "IDNumber": "sample string 3", "GroupName": "sample string 4", "WaterParameter": 5.0, "GroupStatus": "sample string 6", "Address": "sample string 7", "ShaftNum": "sample string 8", "LandArea": 9.0, "LandName": "sample string 10", "WaterWeight": 64, "LandType": "sample string 12", "SerialId": 13, "LandGroupId": 14, "FarmerId": 15 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfAgentWateringRelationShipFarmerViewItemwlCnhfv3 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:AgentWateringRelationShipFarmerViewItem> <d2p1:FarmerId>15</d2p1:FarmerId> <d2p1:LandGroupId>14</d2p1:LandGroupId> <d2p1:SerialId>13</d2p1:SerialId> <d2p1:LandArea>9</d2p1:LandArea> <d2p1:LandName>sample string 10</d2p1:LandName> <d2p1:LandType>sample string 12</d2p1:LandType> <d2p1:WaterWeight>64</d2p1:WaterWeight> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:FarmerName>sample string 1</d2p1:FarmerName> <d2p1:GroupName>sample string 4</d2p1:GroupName> <d2p1:GroupStatus>sample string 6</d2p1:GroupStatus> <d2p1:IDNumber>sample string 3</d2p1:IDNumber> <d2p1:Mobile>sample string 2</d2p1:Mobile> <d2p1:ShaftNum>sample string 8</d2p1:ShaftNum> <d2p1:WaterParameter>5</d2p1:WaterParameter> </d2p1:AgentWateringRelationShipFarmerViewItem> <d2p1:AgentWateringRelationShipFarmerViewItem> <d2p1:FarmerId>15</d2p1:FarmerId> <d2p1:LandGroupId>14</d2p1:LandGroupId> <d2p1:SerialId>13</d2p1:SerialId> <d2p1:LandArea>9</d2p1:LandArea> <d2p1:LandName>sample string 10</d2p1:LandName> <d2p1:LandType>sample string 12</d2p1:LandType> <d2p1:WaterWeight>64</d2p1:WaterWeight> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:FarmerName>sample string 1</d2p1:FarmerName> <d2p1:GroupName>sample string 4</d2p1:GroupName> <d2p1:GroupStatus>sample string 6</d2p1:GroupStatus> <d2p1:IDNumber>sample string 3</d2p1:IDNumber> <d2p1:Mobile>sample string 2</d2p1:Mobile> <d2p1:ShaftNum>sample string 8</d2p1:ShaftNum> <d2p1:WaterParameter>5</d2p1:WaterParameter> </d2p1:AgentWateringRelationShipFarmerViewItem> </tag> </CommonOperationResultWithTagOfArrayOfAgentWateringRelationShipFarmerViewItemwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.