GET api/Agent/MicroApp/Platform/Farmer/CurrentUser/WithPage?pageindex={pageindex}

以不计页数的分页方式,从服务器端读取某个水管理员所在的运营商管理的流量计关联的灌溉关系中包含的农户的清单,以简单数据类型返回。 页的大小被标准化限制,请从页号1读起,直至没有后续的页。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageindex

小于1表示第1页。

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

以不计页数的分页方式,从服务器端读取某个水管理员所在的运营商管理的流量计关联的灌溉关系中包含的农户的清单,以简单数据类型返回。 页的大小被标准化限制,请从页号1读起,直至没有后续的页。

CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerTableItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataWithNoCountResultOfPlatformFarmerTableItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "pageIndex": 1,
    "pageSize": 2,
    "hasMorePages": "sample string 3",
    "records": [
      {
        "FarmerId": 1,
        "FarmerName": "sample string 2",
        "IDNumber": "sample string 3",
        "IDName": "sample string 4",
        "Mobile": "sample string 5",
        "Province": "sample string 6",
        "City": "sample string 7",
        "County": "sample string 8",
        "Address": "sample string 9",
        "Longitude": 1.0,
        "Latitude": 1.0,
        "LastestUpdAgentId": 10,
        "LastestUpdTime": "sample string 11"
      },
      {
        "FarmerId": 1,
        "FarmerName": "sample string 2",
        "IDNumber": "sample string 3",
        "IDName": "sample string 4",
        "Mobile": "sample string 5",
        "Province": "sample string 6",
        "City": "sample string 7",
        "County": "sample string 8",
        "Address": "sample string 9",
        "Longitude": 1.0,
        "Latitude": 1.0,
        "LastestUpdAgentId": 10,
        "LastestUpdTime": "sample string 11"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerTableItemwlCnhfv3rCdCJ3eC 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>
    <hasMorePages>sample string 3</hasMorePages>
    <pageIndex>1</pageIndex>
    <pageSize>2</pageSize>
    <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter">
      <d3p1:PlatformFarmerTableItem>
        <d3p1:Address>sample string 9</d3p1:Address>
        <d3p1:City>sample string 7</d3p1:City>
        <d3p1:County>sample string 8</d3p1:County>
        <d3p1:FarmerId>1</d3p1:FarmerId>
        <d3p1:FarmerName>sample string 2</d3p1:FarmerName>
        <d3p1:IDName>sample string 4</d3p1:IDName>
        <d3p1:IDNumber>sample string 3</d3p1:IDNumber>
        <d3p1:LastestUpdAgentId>10</d3p1:LastestUpdAgentId>
        <d3p1:LastestUpdTime>sample string 11</d3p1:LastestUpdTime>
        <d3p1:Latitude>1</d3p1:Latitude>
        <d3p1:Longitude>1</d3p1:Longitude>
        <d3p1:Mobile>sample string 5</d3p1:Mobile>
        <d3p1:Province>sample string 6</d3p1:Province>
      </d3p1:PlatformFarmerTableItem>
      <d3p1:PlatformFarmerTableItem>
        <d3p1:Address>sample string 9</d3p1:Address>
        <d3p1:City>sample string 7</d3p1:City>
        <d3p1:County>sample string 8</d3p1:County>
        <d3p1:FarmerId>1</d3p1:FarmerId>
        <d3p1:FarmerName>sample string 2</d3p1:FarmerName>
        <d3p1:IDName>sample string 4</d3p1:IDName>
        <d3p1:IDNumber>sample string 3</d3p1:IDNumber>
        <d3p1:LastestUpdAgentId>10</d3p1:LastestUpdAgentId>
        <d3p1:LastestUpdTime>sample string 11</d3p1:LastestUpdTime>
        <d3p1:Latitude>1</d3p1:Latitude>
        <d3p1:Longitude>1</d3p1:Longitude>
        <d3p1:Mobile>sample string 5</d3p1:Mobile>
        <d3p1:Province>sample string 6</d3p1:Province>
      </d3p1:PlatformFarmerTableItem>
    </records>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfPlatformFarmerTableItemwlCnhfv3rCdCJ3eC>

application/bson

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