GET api/Farmer/MicroApp/LoadGroupList/RelatedToFarmer/BySerialId?serialid={serialid}
根据流量计ID,查询与当前农户有关的某个流量计拥有的灌溉关系的组的信息列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serialid |
流量计ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
根据流量计ID,查询与当前农户有关的某个流量计拥有的灌溉关系的组的信息列表
CommonOperationResultWithTagOfIEnumerableOfAgentLandGroupTableItemParm| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of AgentLandGroupTableItemParm |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"LandGroupId": 1,
"AgentId": 2,
"GroupName": "sample string 3",
"GroupStatus": "sample string 4"
},
{
"LandGroupId": 1,
"AgentId": 2,
"GroupName": "sample string 3",
"GroupStatus": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfAgentLandGroupTableItemParmwlCnhfv3 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:AgentLandGroupTableItemParm>
<d2p1:AgentId>2</d2p1:AgentId>
<d2p1:GroupName>sample string 3</d2p1:GroupName>
<d2p1:GroupStatus>sample string 4</d2p1:GroupStatus>
<d2p1:LandGroupId>1</d2p1:LandGroupId>
</d2p1:AgentLandGroupTableItemParm>
<d2p1:AgentLandGroupTableItemParm>
<d2p1:AgentId>2</d2p1:AgentId>
<d2p1:GroupName>sample string 3</d2p1:GroupName>
<d2p1:GroupStatus>sample string 4</d2p1:GroupStatus>
<d2p1:LandGroupId>1</d2p1:LandGroupId>
</d2p1:AgentLandGroupTableItemParm>
</tag>
</CommonOperationResultWithTagOfArrayOfAgentLandGroupTableItemParmwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.