GET api/Farmer/MicroApp/LoadMetersList/RelatedToFarmer
查询和某个农户有关的流量计信息列表 这个API主要用于在农户小程序的界面上,刷新选取流量计的下拉列表框或读取与当前农户有关的流量计的清单。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
查询和某个农户有关的流量计信息列表 这个API主要用于在农户小程序的界面上,刷新选取流量计的下拉列表框或读取与当前农户有关的流量计的清单。
CommonOperationResultWithTagOfIEnumerableOfMeterSimpleInfoItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of MeterSimpleInfoItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "SerialId": 1, "Address": "sample string 2", "TypeCode": "sample string 3", "TypeName": "sample string 4", "ShaftNum": "sample string 5" }, { "SerialId": 1, "Address": "sample string 2", "TypeCode": "sample string 3", "TypeName": "sample string 4", "ShaftNum": "sample string 5" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfMeterSimpleInfoItemuEShfYtI 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.MicroApp"> <d2p1:MeterSimpleInfoItem> <d2p1:Address>sample string 2</d2p1:Address> <d2p1:SerialId>1</d2p1:SerialId> <d2p1:ShaftNum>sample string 5</d2p1:ShaftNum> <d2p1:TypeCode>sample string 3</d2p1:TypeCode> <d2p1:TypeName>sample string 4</d2p1:TypeName> </d2p1:MeterSimpleInfoItem> <d2p1:MeterSimpleInfoItem> <d2p1:Address>sample string 2</d2p1:Address> <d2p1:SerialId>1</d2p1:SerialId> <d2p1:ShaftNum>sample string 5</d2p1:ShaftNum> <d2p1:TypeCode>sample string 3</d2p1:TypeCode> <d2p1:TypeName>sample string 4</d2p1:TypeName> </d2p1:MeterSimpleInfoItem> </tag> </CommonOperationResultWithTagOfArrayOfMeterSimpleInfoItemuEShfYtI>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.