GET api/Agent/MicroApp/WateringRelationShip/Price/Query?serialid={serialid}&landgroupid={landgroupid}&yearcode={yearcode}
通过流量计ID,土地组ID,年度查询出该年度下该灌溉关系的价格阶梯数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serialid | integer |
Required |
|
landgroupid | integer |
Required |
|
yearcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
通过流量计ID,土地组ID,年度查询出该年度下该灌溉关系的价格阶梯数据
CommonOperationResultWithTagOfAgentMicroAppPriceShowItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | AgentMicroAppPriceShowItem |
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", "TypeCode": "sample string 4", "TypeName": "sample string 5", "UserInfo": "sample string 6", "Province": "sample string 7", "City": "sample string 8", "County": "sample string 9", "InstallAddr": "sample string 10", "AgentId": 11, "AgentName": "sample string 12", "LandGroupId": 13, "GroupName": "sample string 14", "FarmerCount": 15, "TotalLandArea": 16.0, "YearCode": "sample string 17", "Price": [ { "SerialId": 1, "LandGroupId": 2, "YearCode": "sample string 3", "StepCode": 64, "StepAmount": 5.0, "Price": 6.0 }, { "SerialId": 1, "LandGroupId": 2, "YearCode": "sample string 3", "StepCode": 64, "StepAmount": 5.0, "Price": 6.0 } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAgentMicroAppPriceShowItemuEShfYtI 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:AgentId>11</d2p1:AgentId> <d2p1:AgentName>sample string 12</d2p1:AgentName> <d2p1:City>sample string 8</d2p1:City> <d2p1:County>sample string 9</d2p1:County> <d2p1:FarmerCount>15</d2p1:FarmerCount> <d2p1:GroupName>sample string 14</d2p1:GroupName> <d2p1:InstallAddr>sample string 10</d2p1:InstallAddr> <d2p1:LandGroupId>13</d2p1:LandGroupId> <d2p1:Price xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter"> <d3p1:AgentWateringRelationShipPriceTableItem> <d3p1:LandGroupId>2</d3p1:LandGroupId> <d3p1:Price>6</d3p1:Price> <d3p1:SerialId>1</d3p1:SerialId> <d3p1:StepAmount>5</d3p1:StepAmount> <d3p1:StepCode>64</d3p1:StepCode> <d3p1:YearCode>sample string 3</d3p1:YearCode> </d3p1:AgentWateringRelationShipPriceTableItem> <d3p1:AgentWateringRelationShipPriceTableItem> <d3p1:LandGroupId>2</d3p1:LandGroupId> <d3p1:Price>6</d3p1:Price> <d3p1:SerialId>1</d3p1:SerialId> <d3p1:StepAmount>5</d3p1:StepAmount> <d3p1:StepCode>64</d3p1:StepCode> <d3p1:YearCode>sample string 3</d3p1:YearCode> </d3p1:AgentWateringRelationShipPriceTableItem> </d2p1:Price> <d2p1:Province>sample string 7</d2p1:Province> <d2p1:SerialId>1</d2p1:SerialId> <d2p1:ShaftNum>sample string 3</d2p1:ShaftNum> <d2p1:TotalLandArea>16</d2p1:TotalLandArea> <d2p1:TypeCode>sample string 4</d2p1:TypeCode> <d2p1:TypeName>sample string 5</d2p1:TypeName> <d2p1:UserInfo>sample string 6</d2p1:UserInfo> <d2p1:YearCode>sample string 17</d2p1:YearCode> </tag> </CommonOperationResultWithTagOfAgentMicroAppPriceShowItemuEShfYtI>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.