GET api/Agent/MicroApp/WateringRelationShip/CurrentUser/WithPage?pageindex={pageindex}
以不计分页数分页的方式,查询当前水管理员具有管辖权的灌溉关系的清单的视图数据,以简单类型返回。 页的大小被限定为一个较小的值,请从第1页查起,直至没有后续的页。多数情况下,不会有多页数据。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageindex |
小于1表示1,1为第一页,等于。 |
integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
以不计分页数分页的方式,查询当前水管理员具有管辖权的灌溉关系的清单的视图数据,以简单类型返回。 页的大小被限定为一个较小的值,请从第1页查起,直至没有后续的页。多数情况下,不会有多页数据。
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentWateringRelationShipViewItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | SimplePageDataWithNoCountResultOfAgentWateringRelationShipViewItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"pageIndex": 1,
"pageSize": 2,
"hasMorePages": "sample string 3",
"records": [
{
"GroupName": "sample string 1",
"Address": "sample string 2",
"ShaftNum": "sample string 3",
"Province": "sample string 4",
"City": "sample string 5",
"County": "sample string 6",
"InstallAddr": "sample string 7",
"FarmerCount": 8,
"TotalLandArea": 9.0,
"TotalWateringWeight": 10.0,
"ExpectWateringTimeInMin": 11.0,
"LeadInfo": "sample string 12",
"WateringAdminInfo": "sample string 13",
"NewestPriceTable": "sample string 14",
"AgentId": 15,
"AgentName": "sample string 16",
"WateringSpeed": 17.0,
"NormalFlowLimit": 18.0,
"LeadId": 19,
"SerialId": 20,
"LandGroupId": 21
},
{
"GroupName": "sample string 1",
"Address": "sample string 2",
"ShaftNum": "sample string 3",
"Province": "sample string 4",
"City": "sample string 5",
"County": "sample string 6",
"InstallAddr": "sample string 7",
"FarmerCount": 8,
"TotalLandArea": 9.0,
"TotalWateringWeight": 10.0,
"ExpectWateringTimeInMin": 11.0,
"LeadInfo": "sample string 12",
"WateringAdminInfo": "sample string 13",
"NewestPriceTable": "sample string 14",
"AgentId": 15,
"AgentName": "sample string 16",
"WateringSpeed": 17.0,
"NormalFlowLimit": 18.0,
"LeadId": 19,
"SerialId": 20,
"LandGroupId": 21
}
]
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentWateringRelationShipViewItemwlCnhfv3rCdCJ3eC 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:AgentWateringRelationShipViewItem>
<d3p1:LandGroupId>21</d3p1:LandGroupId>
<d3p1:SerialId>20</d3p1:SerialId>
<d3p1:LeadId>19</d3p1:LeadId>
<d3p1:NormalFlowLimit>18</d3p1:NormalFlowLimit>
<d3p1:WateringSpeed>17</d3p1:WateringSpeed>
<d3p1:Address>sample string 2</d3p1:Address>
<d3p1:AgentId>15</d3p1:AgentId>
<d3p1:AgentName>sample string 16</d3p1:AgentName>
<d3p1:City>sample string 5</d3p1:City>
<d3p1:County>sample string 6</d3p1:County>
<d3p1:ExpectWateringTimeInMin>11</d3p1:ExpectWateringTimeInMin>
<d3p1:FarmerCount>8</d3p1:FarmerCount>
<d3p1:GroupName>sample string 1</d3p1:GroupName>
<d3p1:InstallAddr>sample string 7</d3p1:InstallAddr>
<d3p1:LeadInfo>sample string 12</d3p1:LeadInfo>
<d3p1:NewestPriceTable>sample string 14</d3p1:NewestPriceTable>
<d3p1:Province>sample string 4</d3p1:Province>
<d3p1:ShaftNum>sample string 3</d3p1:ShaftNum>
<d3p1:TotalLandArea>9</d3p1:TotalLandArea>
<d3p1:TotalWateringWeight>10</d3p1:TotalWateringWeight>
<d3p1:WateringAdminInfo>sample string 13</d3p1:WateringAdminInfo>
</d3p1:AgentWateringRelationShipViewItem>
<d3p1:AgentWateringRelationShipViewItem>
<d3p1:LandGroupId>21</d3p1:LandGroupId>
<d3p1:SerialId>20</d3p1:SerialId>
<d3p1:LeadId>19</d3p1:LeadId>
<d3p1:NormalFlowLimit>18</d3p1:NormalFlowLimit>
<d3p1:WateringSpeed>17</d3p1:WateringSpeed>
<d3p1:Address>sample string 2</d3p1:Address>
<d3p1:AgentId>15</d3p1:AgentId>
<d3p1:AgentName>sample string 16</d3p1:AgentName>
<d3p1:City>sample string 5</d3p1:City>
<d3p1:County>sample string 6</d3p1:County>
<d3p1:ExpectWateringTimeInMin>11</d3p1:ExpectWateringTimeInMin>
<d3p1:FarmerCount>8</d3p1:FarmerCount>
<d3p1:GroupName>sample string 1</d3p1:GroupName>
<d3p1:InstallAddr>sample string 7</d3p1:InstallAddr>
<d3p1:LeadInfo>sample string 12</d3p1:LeadInfo>
<d3p1:NewestPriceTable>sample string 14</d3p1:NewestPriceTable>
<d3p1:Province>sample string 4</d3p1:Province>
<d3p1:ShaftNum>sample string 3</d3p1:ShaftNum>
<d3p1:TotalLandArea>9</d3p1:TotalLandArea>
<d3p1:TotalWateringWeight>10</d3p1:TotalWateringWeight>
<d3p1:WateringAdminInfo>sample string 13</d3p1:WateringAdminInfo>
</d3p1:AgentWateringRelationShipViewItem>
</records>
</tag>
</CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfAgentWateringRelationShipViewItemwlCnhfv3rCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.