GET api/AgrTech/Plant/Table/Query?plantid={plantid}&plantname={plantname}
以不分页的方式,查询农业科技-作物有关的信息。主要用于下拉列表框数据的获取。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| plantid |
作物ID,左匹配,缺少或空表示不限。 |
string |
Default value is |
| plantname |
作物名称,匹配,缺少或空表示不限。 |
string |
Default value is |
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.