GET api/Far/MicroApp/AgrTec/Plant/QueryAll
获取系统中所有的物作的列表,用于在小程序上展示下拉列表框。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取系统中所有的物作的列表,用于在小程序上展示下拉列表框。
CommonOperationResultWithTagOfIEnumerableOfAgrTec_PlantTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of AgrTec_PlantTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"PlantId": "sample string 1",
"PlantName": "sample string 2"
},
{
"PlantId": "sample string 1",
"PlantName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfAgrTec_PlantTableItemnMA5lUge 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.CleverFarmer">
<d2p1:AgrTec_PlantTableItem>
<d2p1:PlantId>sample string 1</d2p1:PlantId>
<d2p1:PlantName>sample string 2</d2p1:PlantName>
</d2p1:AgrTec_PlantTableItem>
<d2p1:AgrTec_PlantTableItem>
<d2p1:PlantId>sample string 1</d2p1:PlantId>
<d2p1:PlantName>sample string 2</d2p1:PlantName>
</d2p1:AgrTec_PlantTableItem>
</tag>
</CommonOperationResultWithTagOfArrayOfAgrTec_PlantTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.