GET api/Agent/MicroApp/Appointment/Instruction/History/QueryWithPage?serialid={serialid}&pageindex={pageindex}&keyword={keyword}
以分页且不计页数的方式,依据流量计ID,关键字等条件,查询当前水管理员预约指令历史记录,并以简单类型分页的方式返回。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serialid |
流量计ID 0表示不限,等于 |
integer |
Default value is 0 |
| pageindex |
页数,小于等于1为第1页,页的大小固定为5。 |
integer |
Default value is 1 |
| keyword |
关键字“”表示不限,将左匹配“组名称”,“请求内容”,“交易类型”等。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
以分页且不计页数的方式,依据流量计ID,关键字等条件,查询当前水管理员预约指令历史记录,并以简单类型分页的方式返回。
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentAppointmentViewItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | SimplePageDataWithNoCountResultOfAgentAppointmentViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"pageIndex": 1,
"pageSize": 2,
"hasMorePages": "sample string 3",
"records": [
{
"LandDesc": "sample string 1",
"GroupName": "sample string 2",
"MeterInfo": "sample string 3",
"UserInfo": "sample string 4",
"ExpectWateringTimeLongInMin": 5.0,
"AgentId": 6,
"UserCode": 7,
"AppointmentId": 8,
"SerialId": 9,
"AppointmentTime": "sample string 10",
"AppointmentAction": "sample string 11",
"TradeId": 12,
"LandGroupId": 13,
"TradeType": "sample string 14",
"FlowLimit": 15.0,
"CloseGateWhenEnding": 64,
"ExpectWateringSpeed": 17.0,
"TryTimes": 64,
"NotifyModeWhenSuccess": "sample string 19",
"NotifyModeWhenFailed": "sample string 20",
"OperTime": "sample string 21",
"SysScanTime": "sample string 22",
"ActionResult": "sample string 23",
"LatestMessage": "sample string 24",
"GroupLeaderRequestId": 25,
"ReplyForGroupRequest": "sample string 26"
},
{
"LandDesc": "sample string 1",
"GroupName": "sample string 2",
"MeterInfo": "sample string 3",
"UserInfo": "sample string 4",
"ExpectWateringTimeLongInMin": 5.0,
"AgentId": 6,
"UserCode": 7,
"AppointmentId": 8,
"SerialId": 9,
"AppointmentTime": "sample string 10",
"AppointmentAction": "sample string 11",
"TradeId": 12,
"LandGroupId": 13,
"TradeType": "sample string 14",
"FlowLimit": 15.0,
"CloseGateWhenEnding": 64,
"ExpectWateringSpeed": 17.0,
"TryTimes": 64,
"NotifyModeWhenSuccess": "sample string 19",
"NotifyModeWhenFailed": "sample string 20",
"OperTime": "sample string 21",
"SysScanTime": "sample string 22",
"ActionResult": "sample string 23",
"LatestMessage": "sample string 24",
"GroupLeaderRequestId": 25,
"ReplyForGroupRequest": "sample string 26"
}
]
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentAppointmentViewItemwlCnhfv3rCdCJ3eC 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:AgentAppointmentViewItem>
<d3p1:ActionResult>sample string 23</d3p1:ActionResult>
<d3p1:AgentId>6</d3p1:AgentId>
<d3p1:AppointmentAction>sample string 11</d3p1:AppointmentAction>
<d3p1:AppointmentId>8</d3p1:AppointmentId>
<d3p1:AppointmentTime>sample string 10</d3p1:AppointmentTime>
<d3p1:CloseGateWhenEnding>64</d3p1:CloseGateWhenEnding>
<d3p1:ExpectWateringSpeed>17</d3p1:ExpectWateringSpeed>
<d3p1:FlowLimit>15</d3p1:FlowLimit>
<d3p1:GroupLeaderRequestId>25</d3p1:GroupLeaderRequestId>
<d3p1:LandGroupId>13</d3p1:LandGroupId>
<d3p1:LatestMessage>sample string 24</d3p1:LatestMessage>
<d3p1:NotifyModeWhenFailed>sample string 20</d3p1:NotifyModeWhenFailed>
<d3p1:NotifyModeWhenSuccess>sample string 19</d3p1:NotifyModeWhenSuccess>
<d3p1:OperTime>sample string 21</d3p1:OperTime>
<d3p1:ReplyForGroupRequest>sample string 26</d3p1:ReplyForGroupRequest>
<d3p1:SerialId>9</d3p1:SerialId>
<d3p1:SysScanTime>sample string 22</d3p1:SysScanTime>
<d3p1:TradeId>12</d3p1:TradeId>
<d3p1:TradeType>sample string 14</d3p1:TradeType>
<d3p1:TryTimes>64</d3p1:TryTimes>
<d3p1:UserCode>7</d3p1:UserCode>
<d3p1:ExpectWateringTimeLongInMin>5</d3p1:ExpectWateringTimeLongInMin>
<d3p1:GroupName>sample string 2</d3p1:GroupName>
<d3p1:LandDesc>sample string 1</d3p1:LandDesc>
<d3p1:MeterInfo>sample string 3</d3p1:MeterInfo>
<d3p1:UserInfo>sample string 4</d3p1:UserInfo>
</d3p1:AgentAppointmentViewItem>
<d3p1:AgentAppointmentViewItem>
<d3p1:ActionResult>sample string 23</d3p1:ActionResult>
<d3p1:AgentId>6</d3p1:AgentId>
<d3p1:AppointmentAction>sample string 11</d3p1:AppointmentAction>
<d3p1:AppointmentId>8</d3p1:AppointmentId>
<d3p1:AppointmentTime>sample string 10</d3p1:AppointmentTime>
<d3p1:CloseGateWhenEnding>64</d3p1:CloseGateWhenEnding>
<d3p1:ExpectWateringSpeed>17</d3p1:ExpectWateringSpeed>
<d3p1:FlowLimit>15</d3p1:FlowLimit>
<d3p1:GroupLeaderRequestId>25</d3p1:GroupLeaderRequestId>
<d3p1:LandGroupId>13</d3p1:LandGroupId>
<d3p1:LatestMessage>sample string 24</d3p1:LatestMessage>
<d3p1:NotifyModeWhenFailed>sample string 20</d3p1:NotifyModeWhenFailed>
<d3p1:NotifyModeWhenSuccess>sample string 19</d3p1:NotifyModeWhenSuccess>
<d3p1:OperTime>sample string 21</d3p1:OperTime>
<d3p1:ReplyForGroupRequest>sample string 26</d3p1:ReplyForGroupRequest>
<d3p1:SerialId>9</d3p1:SerialId>
<d3p1:SysScanTime>sample string 22</d3p1:SysScanTime>
<d3p1:TradeId>12</d3p1:TradeId>
<d3p1:TradeType>sample string 14</d3p1:TradeType>
<d3p1:TryTimes>64</d3p1:TryTimes>
<d3p1:UserCode>7</d3p1:UserCode>
<d3p1:ExpectWateringTimeLongInMin>5</d3p1:ExpectWateringTimeLongInMin>
<d3p1:GroupName>sample string 2</d3p1:GroupName>
<d3p1:LandDesc>sample string 1</d3p1:LandDesc>
<d3p1:MeterInfo>sample string 3</d3p1:MeterInfo>
<d3p1:UserInfo>sample string 4</d3p1:UserInfo>
</d3p1:AgentAppointmentViewItem>
</records>
</tag>
</CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentAppointmentViewItemwlCnhfv3rCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.