GET api/Far/MicroApp/GHourse/Plant/His/QueryWithPage?ghourseid={ghourseid}&pageindex={pageindex}&pagesize={pagesize}

查询某一个大棚种值作物的历史记录的接口(指定的大棚必须属于当前用户)(P4-1)。 这个接口是分页的,且不会返回共多少页。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ghourseid

大棚的ID。

integer

Required

pageindex

页的序号。

integer

Default value is 1

pagesize

页的大小。

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

查询某一个大棚种值作物的历史记录的接口(指定的大棚必须属于当前用户)(P4-1)。 这个接口是分页的,且不会返回共多少页。

CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfFar_GHourse_Plant_HisTableItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataWithNoCountResultOfFar_GHourse_Plant_HisTableItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "pageIndex": 1,
    "pageSize": 2,
    "hasMorePages": "sample string 3",
    "records": [
      {
        "AutoId": 1,
        "GHourseId": 2,
        "PlantId": "sample string 3",
        "PlanName": "sample string 4",
        "PlantVarietyId": "sample string 5",
        "VarietyName": "sample string 6",
        "SeedingDate": "sample string 7",
        "LifeCycleInDays": 8,
        "UprootDate": "sample string 9",
        "RealUsingDays": 10,
        "UserId": 11
      },
      {
        "AutoId": 1,
        "GHourseId": 2,
        "PlantId": "sample string 3",
        "PlanName": "sample string 4",
        "PlantVarietyId": "sample string 5",
        "VarietyName": "sample string 6",
        "SeedingDate": "sample string 7",
        "LifeCycleInDays": 8,
        "UprootDate": "sample string 9",
        "RealUsingDays": 10,
        "UserId": 11
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfFar_GHourse_Plant_HisTableItemnMA5lUgerCdCJ3eC 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.CleverFarmer">
      <d3p1:Far_GHourse_Plant_HisTableItem>
        <d3p1:AutoId>1</d3p1:AutoId>
        <d3p1:GHourseId>2</d3p1:GHourseId>
        <d3p1:LifeCycleInDays>8</d3p1:LifeCycleInDays>
        <d3p1:PlanName>sample string 4</d3p1:PlanName>
        <d3p1:PlantId>sample string 3</d3p1:PlantId>
        <d3p1:PlantVarietyId>sample string 5</d3p1:PlantVarietyId>
        <d3p1:RealUsingDays>10</d3p1:RealUsingDays>
        <d3p1:SeedingDate>sample string 7</d3p1:SeedingDate>
        <d3p1:UprootDate>sample string 9</d3p1:UprootDate>
        <d3p1:UserId>11</d3p1:UserId>
        <d3p1:VarietyName>sample string 6</d3p1:VarietyName>
      </d3p1:Far_GHourse_Plant_HisTableItem>
      <d3p1:Far_GHourse_Plant_HisTableItem>
        <d3p1:AutoId>1</d3p1:AutoId>
        <d3p1:GHourseId>2</d3p1:GHourseId>
        <d3p1:LifeCycleInDays>8</d3p1:LifeCycleInDays>
        <d3p1:PlanName>sample string 4</d3p1:PlanName>
        <d3p1:PlantId>sample string 3</d3p1:PlantId>
        <d3p1:PlantVarietyId>sample string 5</d3p1:PlantVarietyId>
        <d3p1:RealUsingDays>10</d3p1:RealUsingDays>
        <d3p1:SeedingDate>sample string 7</d3p1:SeedingDate>
        <d3p1:UprootDate>sample string 9</d3p1:UprootDate>
        <d3p1:UserId>11</d3p1:UserId>
        <d3p1:VarietyName>sample string 6</d3p1:VarietyName>
      </d3p1:Far_GHourse_Plant_HisTableItem>
    </records>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfFar_GHourse_Plant_HisTableItemnMA5lUgerCdCJ3eC>

application/bson

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