GET api/Farmer/MicroApp/Bill/YearCode/Summary?yearcode={yearcode}
获取当前农户某个年度的账单合计
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| yearcode |
年度 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取当前农户某个年度的账单合计
CommonOperationResultWithTagOfPlatformFarmerYearlyBillSummaryItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | PlatformFarmerYearlyBillSummaryItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"YearCode": "sample string 1",
"WateringCount": 2,
"ConsumeVolumn": 3.0,
"CalSummary": 4.0,
"ReceivedSummary": 5.0,
"CalBalance": 6.0
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPlatformFarmerYearlyBillSummaryItemwlCnhfv3 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:CalBalance>6</d2p1:CalBalance>
<d2p1:CalSummary>4</d2p1:CalSummary>
<d2p1:ConsumeVolumn>3</d2p1:ConsumeVolumn>
<d2p1:ReceivedSummary>5</d2p1:ReceivedSummary>
<d2p1:WateringCount>2</d2p1:WateringCount>
<d2p1:YearCode>sample string 1</d2p1:YearCode>
</tag>
</CommonOperationResultWithTagOfPlatformFarmerYearlyBillSummaryItemwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.