GET api/Farmer/MicroApp/Meter/Appointment/Query?serialid={serialid}

查询某个流量计的所有待执行预约动作。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serialid

流量计ID,必填,等于。

integer

Required

Body Parameters

None.

Response Information

Resource Description

查询某个流量计的所有待执行预约动作。

CommonOperationResultWithTagOfIEnumerableOfAgentAppointmentOnWayViewItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Collection of AgentAppointmentOnWayViewItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": [
    {
      "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:
<CommonOperationResultWithTagOfArrayOfAgentAppointmentOnWayViewItemwlCnhfv3 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter">
    <d2p1:AgentAppointmentOnWayViewItem>
      <d2p1:ActionResult>sample string 23</d2p1:ActionResult>
      <d2p1:AgentId>6</d2p1:AgentId>
      <d2p1:AppointmentAction>sample string 11</d2p1:AppointmentAction>
      <d2p1:AppointmentId>8</d2p1:AppointmentId>
      <d2p1:AppointmentTime>sample string 10</d2p1:AppointmentTime>
      <d2p1:CloseGateWhenEnding>64</d2p1:CloseGateWhenEnding>
      <d2p1:ExpectWateringSpeed>17</d2p1:ExpectWateringSpeed>
      <d2p1:FlowLimit>15</d2p1:FlowLimit>
      <d2p1:GroupLeaderRequestId>25</d2p1:GroupLeaderRequestId>
      <d2p1:LandGroupId>13</d2p1:LandGroupId>
      <d2p1:LatestMessage>sample string 24</d2p1:LatestMessage>
      <d2p1:NotifyModeWhenFailed>sample string 20</d2p1:NotifyModeWhenFailed>
      <d2p1:NotifyModeWhenSuccess>sample string 19</d2p1:NotifyModeWhenSuccess>
      <d2p1:OperTime>sample string 21</d2p1:OperTime>
      <d2p1:ReplyForGroupRequest>sample string 26</d2p1:ReplyForGroupRequest>
      <d2p1:SerialId>9</d2p1:SerialId>
      <d2p1:SysScanTime>sample string 22</d2p1:SysScanTime>
      <d2p1:TradeId>12</d2p1:TradeId>
      <d2p1:TradeType>sample string 14</d2p1:TradeType>
      <d2p1:TryTimes>64</d2p1:TryTimes>
      <d2p1:UserCode>7</d2p1:UserCode>
      <d2p1:ExpectWateringTimeLongInMin>5</d2p1:ExpectWateringTimeLongInMin>
      <d2p1:GroupName>sample string 2</d2p1:GroupName>
      <d2p1:LandDesc>sample string 1</d2p1:LandDesc>
      <d2p1:MeterInfo>sample string 3</d2p1:MeterInfo>
      <d2p1:UserInfo>sample string 4</d2p1:UserInfo>
    </d2p1:AgentAppointmentOnWayViewItem>
    <d2p1:AgentAppointmentOnWayViewItem>
      <d2p1:ActionResult>sample string 23</d2p1:ActionResult>
      <d2p1:AgentId>6</d2p1:AgentId>
      <d2p1:AppointmentAction>sample string 11</d2p1:AppointmentAction>
      <d2p1:AppointmentId>8</d2p1:AppointmentId>
      <d2p1:AppointmentTime>sample string 10</d2p1:AppointmentTime>
      <d2p1:CloseGateWhenEnding>64</d2p1:CloseGateWhenEnding>
      <d2p1:ExpectWateringSpeed>17</d2p1:ExpectWateringSpeed>
      <d2p1:FlowLimit>15</d2p1:FlowLimit>
      <d2p1:GroupLeaderRequestId>25</d2p1:GroupLeaderRequestId>
      <d2p1:LandGroupId>13</d2p1:LandGroupId>
      <d2p1:LatestMessage>sample string 24</d2p1:LatestMessage>
      <d2p1:NotifyModeWhenFailed>sample string 20</d2p1:NotifyModeWhenFailed>
      <d2p1:NotifyModeWhenSuccess>sample string 19</d2p1:NotifyModeWhenSuccess>
      <d2p1:OperTime>sample string 21</d2p1:OperTime>
      <d2p1:ReplyForGroupRequest>sample string 26</d2p1:ReplyForGroupRequest>
      <d2p1:SerialId>9</d2p1:SerialId>
      <d2p1:SysScanTime>sample string 22</d2p1:SysScanTime>
      <d2p1:TradeId>12</d2p1:TradeId>
      <d2p1:TradeType>sample string 14</d2p1:TradeType>
      <d2p1:TryTimes>64</d2p1:TryTimes>
      <d2p1:UserCode>7</d2p1:UserCode>
      <d2p1:ExpectWateringTimeLongInMin>5</d2p1:ExpectWateringTimeLongInMin>
      <d2p1:GroupName>sample string 2</d2p1:GroupName>
      <d2p1:LandDesc>sample string 1</d2p1:LandDesc>
      <d2p1:MeterInfo>sample string 3</d2p1:MeterInfo>
      <d2p1:UserInfo>sample string 4</d2p1:UserInfo>
    </d2p1:AgentAppointmentOnWayViewItem>
  </tag>
</CommonOperationResultWithTagOfArrayOfAgentAppointmentOnWayViewItemwlCnhfv3>

application/bson

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