GET api/Agent/MicroApp/WateringRelationShipInformation/Query?serialid={serialid}
依据流量计序列ID查询其基本信息及该流量计灌溉关系下的组信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serialid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
依据流量计序列ID查询其基本信息及该流量计灌溉关系下的组信息
CommonOperationResultWithTagOfAgentMicroAppWateringRelationShipViewItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | AgentMicroAppWateringRelationShipViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "SerialId": 1, "Address": "sample string 2", "ShaftNum": "sample string 3", "TypeName": "sample string 4", "AgentName": "sample string 5", "WaterManager": "sample string 6", "InstallAddress": "sample string 7", "GroupInformationList": [ { "GroupName": "sample string 1", "Address": "sample string 2", "ShaftNum": "sample string 3", "Province": "sample string 4", "City": "sample string 5", "County": "sample string 6", "InstallAddr": "sample string 7", "FarmerCount": 8, "TotalLandArea": 9.0, "TotalWateringWeight": 10.0, "ExpectWateringTimeInMin": 11.0, "LeadInfo": "sample string 12", "WateringAdminInfo": "sample string 13", "NewestPriceTable": "sample string 14", "AgentId": 15, "AgentName": "sample string 16", "WateringSpeed": 17.0, "NormalFlowLimit": 18.0, "LeadId": 19, "SerialId": 20, "LandGroupId": 21 }, { "GroupName": "sample string 1", "Address": "sample string 2", "ShaftNum": "sample string 3", "Province": "sample string 4", "City": "sample string 5", "County": "sample string 6", "InstallAddr": "sample string 7", "FarmerCount": 8, "TotalLandArea": 9.0, "TotalWateringWeight": 10.0, "ExpectWateringTimeInMin": 11.0, "LeadInfo": "sample string 12", "WateringAdminInfo": "sample string 13", "NewestPriceTable": "sample string 14", "AgentId": 15, "AgentName": "sample string 16", "WateringSpeed": 17.0, "NormalFlowLimit": 18.0, "LeadId": 19, "SerialId": 20, "LandGroupId": 21 } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAgentMicroAppWateringRelationShipViewItemuEShfYtI 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:Address>sample string 2</d2p1:Address> <d2p1:AgentName>sample string 5</d2p1:AgentName> <d2p1:GroupInformationList xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter"> <d3p1:AgentWateringRelationShipViewItem> <d3p1:LandGroupId>21</d3p1:LandGroupId> <d3p1:SerialId>20</d3p1:SerialId> <d3p1:LeadId>19</d3p1:LeadId> <d3p1:NormalFlowLimit>18</d3p1:NormalFlowLimit> <d3p1:WateringSpeed>17</d3p1:WateringSpeed> <d3p1:Address>sample string 2</d3p1:Address> <d3p1:AgentId>15</d3p1:AgentId> <d3p1:AgentName>sample string 16</d3p1:AgentName> <d3p1:City>sample string 5</d3p1:City> <d3p1:County>sample string 6</d3p1:County> <d3p1:ExpectWateringTimeInMin>11</d3p1:ExpectWateringTimeInMin> <d3p1:FarmerCount>8</d3p1:FarmerCount> <d3p1:GroupName>sample string 1</d3p1:GroupName> <d3p1:InstallAddr>sample string 7</d3p1:InstallAddr> <d3p1:LeadInfo>sample string 12</d3p1:LeadInfo> <d3p1:NewestPriceTable>sample string 14</d3p1:NewestPriceTable> <d3p1:Province>sample string 4</d3p1:Province> <d3p1:ShaftNum>sample string 3</d3p1:ShaftNum> <d3p1:TotalLandArea>9</d3p1:TotalLandArea> <d3p1:TotalWateringWeight>10</d3p1:TotalWateringWeight> <d3p1:WateringAdminInfo>sample string 13</d3p1:WateringAdminInfo> </d3p1:AgentWateringRelationShipViewItem> <d3p1:AgentWateringRelationShipViewItem> <d3p1:LandGroupId>21</d3p1:LandGroupId> <d3p1:SerialId>20</d3p1:SerialId> <d3p1:LeadId>19</d3p1:LeadId> <d3p1:NormalFlowLimit>18</d3p1:NormalFlowLimit> <d3p1:WateringSpeed>17</d3p1:WateringSpeed> <d3p1:Address>sample string 2</d3p1:Address> <d3p1:AgentId>15</d3p1:AgentId> <d3p1:AgentName>sample string 16</d3p1:AgentName> <d3p1:City>sample string 5</d3p1:City> <d3p1:County>sample string 6</d3p1:County> <d3p1:ExpectWateringTimeInMin>11</d3p1:ExpectWateringTimeInMin> <d3p1:FarmerCount>8</d3p1:FarmerCount> <d3p1:GroupName>sample string 1</d3p1:GroupName> <d3p1:InstallAddr>sample string 7</d3p1:InstallAddr> <d3p1:LeadInfo>sample string 12</d3p1:LeadInfo> <d3p1:NewestPriceTable>sample string 14</d3p1:NewestPriceTable> <d3p1:Province>sample string 4</d3p1:Province> <d3p1:ShaftNum>sample string 3</d3p1:ShaftNum> <d3p1:TotalLandArea>9</d3p1:TotalLandArea> <d3p1:TotalWateringWeight>10</d3p1:TotalWateringWeight> <d3p1:WateringAdminInfo>sample string 13</d3p1:WateringAdminInfo> </d3p1:AgentWateringRelationShipViewItem> </d2p1:GroupInformationList> <d2p1:InstallAddress>sample string 7</d2p1:InstallAddress> <d2p1:SerialId>1</d2p1:SerialId> <d2p1:ShaftNum>sample string 3</d2p1:ShaftNum> <d2p1:TypeName>sample string 4</d2p1:TypeName> <d2p1:WaterManager>sample string 6</d2p1:WaterManager> </tag> </CommonOperationResultWithTagOfAgentMicroAppWateringRelationShipViewItemuEShfYtI>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.