|
ITimeSeriesDataServiceReadRangeHistoricTimeSeriesDataAsJson Method
|
Reads historic time-series data from the
Archive and sends it in
Json format.
Namespace: GSF.Historian.DataServicesAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.248-beta
Syntax[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "/timeseriesdata/read/historic/{fromID}-{toID}/{startTime}/{endTime}/json")]
SerializableTimeSeriesData ReadRangeHistoricTimeSeriesDataAsJson(
string fromID,
string toID,
string startTime,
string endTime
)
<OperationContractAttribute>
<WebGetAttribute(ResponseFormat := WebMessageFormat.Json, UriTemplate := "/timeseriesdata/read/historic/{fromID}-{toID}/{startTime}/{endTime}/json")>
Function ReadRangeHistoricTimeSeriesDataAsJson (
fromID As String,
toID As String,
startTime As String,
endTime As String
) As SerializableTimeSeriesData
[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat::Json, UriTemplate = L"/timeseriesdata/read/historic/{fromID}-{toID}/{startTime}/{endTime}/json")]
SerializableTimeSeriesData^ ReadRangeHistoricTimeSeriesDataAsJson(
String^ fromID,
String^ toID,
String^ startTime,
String^ endTime
)
[<OperationContractAttribute>]
[<WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "/timeseriesdata/read/historic/{fromID}-{toID}/{startTime}/{endTime}/json")>]
abstract ReadRangeHistoricTimeSeriesDataAsJson :
fromID : string *
toID : string *
startTime : string *
endTime : string -> SerializableTimeSeriesData
function ReadRangeHistoricTimeSeriesDataAsJson(fromID, toID, startTime, endTime);
View SourceParameters
- fromID String
- Starting ID in the ID range for which historic time-series data is to be read.
- toID String
- Ending ID in the ID range for which historic time-series data is to be read.
- startTime String
- Start time in String format of the timespan for which historic time-series data is to be read.
- endTime String
- End time in String format of the timespan for which historic time-series data is to be read.
Return Value
SerializableTimeSeriesDataAn
SerializableTimeSeriesData object.
See Also