GET api/AgrTech/Plant/Variety/LifeCycle/DataSet/View/Query/ById?plantvarietyid={plantvarietyid}&growthstageid={growthstageid}&starttimeseg={starttimeseg}&dataid={dataid}
查询单个的物理量设置数据,通常用于在编辑前进行查询。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| plantvarietyid |
作物-品种ID。 |
string |
Required |
| growthstageid |
生长阶段ID。 |
string |
Required |
| starttimeseg |
起始时段,依据大棚所在的时区,0表示第零(0:00-0:59),1表示第一时(1:00-1:59),以此类推。 |
byte |
Required |
| dataid |
物理量的ID。 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
查询单个的物理量设置数据,通常用于在编辑前进行查询。
CommonOperationResultWithTagOfAgrTec_Plant_LifeCycle_DataSetTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | AgrTec_Plant_LifeCycle_DataSetTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"PlantVarietyId": "sample string 1",
"GrowthStageId": "sample string 2",
"StartTimeSeg": 64,
"EndTimeSeg": 64,
"DataId": 5,
"MinValue": "sample string 6",
"MaxValue": "sample string 7",
"BestValue": "sample string 8",
"DownStopValue": "sample string 9",
"UpStopValue": "sample string 10"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAgrTec_Plant_LifeCycle_DataSetTableItemnMA5lUge 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:BestValue>sample string 8</d2p1:BestValue>
<d2p1:DataId>5</d2p1:DataId>
<d2p1:DownStopValue>sample string 9</d2p1:DownStopValue>
<d2p1:EndTimeSeg>64</d2p1:EndTimeSeg>
<d2p1:GrowthStageId>sample string 2</d2p1:GrowthStageId>
<d2p1:MaxValue>sample string 7</d2p1:MaxValue>
<d2p1:MinValue>sample string 6</d2p1:MinValue>
<d2p1:PlantVarietyId>sample string 1</d2p1:PlantVarietyId>
<d2p1:StartTimeSeg>64</d2p1:StartTimeSeg>
<d2p1:UpStopValue>sample string 10</d2p1:UpStopValue>
</tag>
</CommonOperationResultWithTagOfAgrTec_Plant_LifeCycle_DataSetTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.