GET api/Agent/MicroApp/RunningWatering/CurrentUser/Land/ByTradeId?tradeid={tradeid}

以不分页的方式,查询当前水管理员某个在途灌溉交易的土地清单记录,以简单类型返回。 注意,水管理员(调用者)提供的交易ID必须与当前水管理员存在关联系系。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tradeid

交易的ID,必填。

integer

Required

Body Parameters

None.

Response Information

Resource Description

以不分页的方式,查询当前水管理员某个在途灌溉交易的土地清单记录,以简单类型返回。 注意,水管理员(调用者)提供的交易ID必须与当前水管理员存在关联系系。

CommonOperationResultWithTagOfIEnumerableOfAgentRunningWateringLandTableItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of AgentRunningWateringLandTableItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "TradeId": 1,
      "FarmerId": 2,
      "LandArea": 3.0,
      "WaterWeight": 64,
      "DataVersion": "sample string 5",
      "LastDataFrom": "sample string 6"
    },
    {
      "TradeId": 1,
      "FarmerId": 2,
      "LandArea": 3.0,
      "WaterWeight": 64,
      "DataVersion": "sample string 5",
      "LastDataFrom": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfArrayOfAgentRunningWateringLandTableItemwlCnhfv3 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:AgentRunningWateringLandTableItem>
      <d2p1:DataVersion>sample string 5</d2p1:DataVersion>
      <d2p1:FarmerId>2</d2p1:FarmerId>
      <d2p1:LandArea>3</d2p1:LandArea>
      <d2p1:LastDataFrom>sample string 6</d2p1:LastDataFrom>
      <d2p1:TradeId>1</d2p1:TradeId>
      <d2p1:WaterWeight>64</d2p1:WaterWeight>
    </d2p1:AgentRunningWateringLandTableItem>
    <d2p1:AgentRunningWateringLandTableItem>
      <d2p1:DataVersion>sample string 5</d2p1:DataVersion>
      <d2p1:FarmerId>2</d2p1:FarmerId>
      <d2p1:LandArea>3</d2p1:LandArea>
      <d2p1:LastDataFrom>sample string 6</d2p1:LastDataFrom>
      <d2p1:TradeId>1</d2p1:TradeId>
      <d2p1:WaterWeight>64</d2p1:WaterWeight>
    </d2p1:AgentRunningWateringLandTableItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfAgentRunningWateringLandTableItemwlCnhfv3>

application/bson

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