GET api/Far/User/Log/Table/QueryWithPage?userid={userid}&pageindex={pageindex}&pagesize={pagesize}&starttime={starttime}&endtime={endtime}

以分页的方式,查询系统可以支持的物理量清单(T_AgrTec_Data)的数据。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

农户的ID,必须提供。

integer

Required

pageindex

页序号,为空表示首页。

integer

Default value is 0

pagesize

页大小,默认为20。

integer

Default value is 20

starttime

起始日期时间,为空或不提供表示不限。

string

Default value is

endtime

截止的日期时间,为空或不提供表示不限。

string

Default value is

Body Parameters

None.

Response Information

Resource Description

以分页的方式,查询系统可以支持的物理量清单(T_AgrTec_Data)的数据。

CommonOperationResultWithTagOfSimplePageDataResultOfFar_User_LogTableItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataResultOfFar_User_LogTableItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "totalreccount": 1,
    "pageIndex": 2,
    "pageSize": 3,
    "pageCount": 4,
    "records": [
      {
        "LogId": 1,
        "UserId": 2,
        "ActTime": "sample string 3",
        "Detail": "sample string 4"
      },
      {
        "LogId": 1,
        "UserId": 2,
        "ActTime": "sample string 3",
        "Detail": "sample string 4"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataResultOfFar_User_LogTableItemnMA5lUgerCdCJ3eC 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_User_LogTableItem>
        <d3p1:ActTime>sample string 3</d3p1:ActTime>
        <d3p1:Detail>sample string 4</d3p1:Detail>
        <d3p1:LogId>1</d3p1:LogId>
        <d3p1:UserId>2</d3p1:UserId>
      </d3p1:Far_User_LogTableItem>
      <d3p1:Far_User_LogTableItem>
        <d3p1:ActTime>sample string 3</d3p1:ActTime>
        <d3p1:Detail>sample string 4</d3p1:Detail>
        <d3p1:LogId>1</d3p1:LogId>
        <d3p1:UserId>2</d3p1:UserId>
      </d3p1:Far_User_LogTableItem>
    </records>
    <totalreccount>1</totalreccount>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataResultOfFar_User_LogTableItemnMA5lUgerCdCJ3eC>

application/bson

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