GET api/Agent/MicroApp/GetCurrentUser/WateringTrade/AllMeter/YearlyBill?yearcode={yearcode}
获取当前水管理员管理的所有流量计某个年度的账单合计,返回类型为AllMeterYearlyBillOfUserItem
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| yearcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取当前水管理员管理的所有流量计某个年度的账单合计,返回类型为AllMeterYearlyBillOfUserItem
CommonOperationResultWithTagOfAllMeterYearlyBillOfUserItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | AllMeterYearlyBillOfUserItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"YearCode": "sample string 1",
"TradeCount": 2,
"WateringCount": 3,
"WaterConsumptionCal": 4.0,
"TotalWaterConsumption": 5.0,
"TotalCalSummary": 6.0,
"ReceivedMoney": 7.0
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAllMeterYearlyBillOfUserItemuEShfYtI 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:ReceivedMoney>7</d2p1:ReceivedMoney>
<d2p1:TotalCalSummary>6</d2p1:TotalCalSummary>
<d2p1:TotalWaterConsumption>5</d2p1:TotalWaterConsumption>
<d2p1:TradeCount>2</d2p1:TradeCount>
<d2p1:WaterConsumptionCal>4</d2p1:WaterConsumptionCal>
<d2p1:WateringCount>3</d2p1:WateringCount>
<d2p1:YearCode>sample string 1</d2p1:YearCode>
</tag>
</CommonOperationResultWithTagOfAllMeterYearlyBillOfUserItemuEShfYtI>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.