GET api/Far/GHourse/Belong/View/QueryWithPage?pageindex={pageindex}&pagesize={pagesize}&ghourseid={ghourseid}&farmerid={farmerid}&ghoursename={ghoursename}&familyname={familyname}

分页的方式查询视图V_Far_GHourse_Belong的数据

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageindex

页面序号

integer

Default value is 0

pagesize

分页大小,默认20

integer

Default value is 20

ghourseid

大棚ID

integer

Default value is 0

farmerid

农户ID

integer

Default value is 0

ghoursename

大棚名称 左匹配

string

Default value is

familyname

农户名称 左匹配

string

Default value is

Body Parameters

None.

Response Information

Resource Description

分页的方式查询视图V_Far_GHourse_Belong的数据

CommonOperationResultWithTagOfSimplePageDataResultOfFar_GHourse_BelongViewItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataResultOfFar_GHourse_BelongViewItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "totalreccount": 1,
    "pageIndex": 2,
    "pageSize": 3,
    "pageCount": 4,
    "records": [
      {
        "AutoId": 1,
        "GHourseId": 2,
        "UserId": 3,
        "GHourseName": "sample string 4",
        "Familyname": "sample string 5"
      },
      {
        "AutoId": 1,
        "GHourseId": 2,
        "UserId": 3,
        "GHourseName": "sample string 4",
        "Familyname": "sample string 5"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataResultOfFar_GHourse_BelongViewItemnMA5lUgerCdCJ3eC 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>
    <pageCount>4</pageCount>
    <pageIndex>2</pageIndex>
    <pageSize>3</pageSize>
    <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer">
      <d3p1:Far_GHourse_BelongViewItem>
        <d3p1:AutoId>1</d3p1:AutoId>
        <d3p1:Familyname>sample string 5</d3p1:Familyname>
        <d3p1:GHourseId>2</d3p1:GHourseId>
        <d3p1:GHourseName>sample string 4</d3p1:GHourseName>
        <d3p1:UserId>3</d3p1:UserId>
      </d3p1:Far_GHourse_BelongViewItem>
      <d3p1:Far_GHourse_BelongViewItem>
        <d3p1:AutoId>1</d3p1:AutoId>
        <d3p1:Familyname>sample string 5</d3p1:Familyname>
        <d3p1:GHourseId>2</d3p1:GHourseId>
        <d3p1:GHourseName>sample string 4</d3p1:GHourseName>
        <d3p1:UserId>3</d3p1:UserId>
      </d3p1:Far_GHourse_BelongViewItem>
    </records>
    <totalreccount>1</totalreccount>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataResultOfFar_GHourse_BelongViewItemnMA5lUgerCdCJ3eC>

application/bson

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