GET api/Agent/WateringRelationShip/PriceTable/YearList?serialid={serialid}&landgroupid={landgroupid}

获取当前运营商下的某个灌溉关系所有的价格阶梯的年度,并以简单类型返回。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serialid

流量计的ID,必填,不能为零或空,等于。

integer

Required

landgroupid

组ID,必填,不能为零或空,等于。

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取当前运营商下的某个灌溉关系所有的价格阶梯的年度,并以简单类型返回。

CommonOperationResultWithTagOfIEnumerableOfAgentWateringRelationShipPriceTableYearCodeItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of AgentWateringRelationShipPriceTableYearCodeItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "YearCode": "sample string 1",
      "CanModify": "sample string 2"
    },
    {
      "YearCode": "sample string 1",
      "CanModify": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfArrayOfAgentWateringRelationShipPriceTableYearCodeItemwlCnhfv3 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:AgentWateringRelationShipPriceTableYearCodeItem>
      <d2p1:CanModify>sample string 2</d2p1:CanModify>
      <d2p1:YearCode>sample string 1</d2p1:YearCode>
    </d2p1:AgentWateringRelationShipPriceTableYearCodeItem>
    <d2p1:AgentWateringRelationShipPriceTableYearCodeItem>
      <d2p1:CanModify>sample string 2</d2p1:CanModify>
      <d2p1:YearCode>sample string 1</d2p1:YearCode>
    </d2p1:AgentWateringRelationShipPriceTableYearCodeItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfAgentWateringRelationShipPriceTableYearCodeItemwlCnhfv3>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.