GET api/Farmer/MircroApp/CurrentFarmer/Information/ById
查询当前农户的信息
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
查询当前农户的信息
CommonOperationResultWithTagOfPlatformFarmerViewItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | PlatformFarmerViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"LandArea": 1.0,
"LandTotalWeight": 1.0,
"WateringRelationShipDesc": "sample string 1",
"LastUpdAgentName": "sample string 2",
"UserCount": 1,
"FarmerId": 3,
"FarmerName": "sample string 4",
"IDNumber": "sample string 5",
"IDName": "sample string 6",
"Mobile": "sample string 7",
"Province": "sample string 8",
"City": "sample string 9",
"County": "sample string 10",
"Address": "sample string 11",
"Longitude": 1.0,
"Latitude": 1.0,
"LastestUpdAgentId": 12,
"LastestUpdTime": "sample string 13"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPlatformFarmerViewItemwlCnhfv3 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:Address>sample string 11</d2p1:Address>
<d2p1:City>sample string 9</d2p1:City>
<d2p1:County>sample string 10</d2p1:County>
<d2p1:FarmerId>3</d2p1:FarmerId>
<d2p1:FarmerName>sample string 4</d2p1:FarmerName>
<d2p1:IDName>sample string 6</d2p1:IDName>
<d2p1:IDNumber>sample string 5</d2p1:IDNumber>
<d2p1:LastestUpdAgentId>12</d2p1:LastestUpdAgentId>
<d2p1:LastestUpdTime>sample string 13</d2p1:LastestUpdTime>
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:Mobile>sample string 7</d2p1:Mobile>
<d2p1:Province>sample string 8</d2p1:Province>
<d2p1:LandArea>1</d2p1:LandArea>
<d2p1:LandTotalWeight>1</d2p1:LandTotalWeight>
<d2p1:LastUpdAgentName>sample string 2</d2p1:LastUpdAgentName>
<d2p1:UserCount>1</d2p1:UserCount>
<d2p1:WateringRelationShipDesc>sample string 1</d2p1:WateringRelationShipDesc>
</tag>
</CommonOperationResultWithTagOfPlatformFarmerViewItemwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.