GET api/Far/MicroApp/GHourse/DataSet/Table/Query/ById/{ghrouseid}/{starttimeseg}/{datainnerid}
查询某一个特定的T_Far_GHourse_DataSet记录,用于在编辑前获取最新数据。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ghrouseid |
大棚ID。 |
integer |
Required |
| starttimeseg |
起始时段 |
byte |
Required |
| datainnerid |
物理量的ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
查询某一个特定的T_Far_GHourse_DataSet记录,用于在编辑前获取最新数据。
CommonOperationResultWithTagOfFar_GHourse_DataSetTableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Far_GHourse_DataSetTableItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"GHourseId": 1,
"StartTimeSeg": 64,
"EndTimeSeg": 64,
"DataId": 4,
"MinValue": "sample string 5",
"MaxValue": "sample string 6",
"BestValue": "sample string 7",
"DownStopValue": "sample string 8",
"UpStopValue": "sample string 9"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfFar_GHourse_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 7</d2p1:BestValue>
<d2p1:DataId>4</d2p1:DataId>
<d2p1:DownStopValue>sample string 8</d2p1:DownStopValue>
<d2p1:EndTimeSeg>64</d2p1:EndTimeSeg>
<d2p1:GHourseId>1</d2p1:GHourseId>
<d2p1:MaxValue>sample string 6</d2p1:MaxValue>
<d2p1:MinValue>sample string 5</d2p1:MinValue>
<d2p1:StartTimeSeg>64</d2p1:StartTimeSeg>
<d2p1:UpStopValue>sample string 9</d2p1:UpStopValue>
</tag>
</CommonOperationResultWithTagOfFar_GHourse_DataSetTableItemnMA5lUge>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.