GET TimeSeries/GetTimeSeriesDatapointsDateTime?stationId={stationId}&dataType={dataType}&endTime={endTime}&startTime={startTime}
Get the datapoints of a given stationId and dataType
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stationId |
The StationId of the station you want to query |
integer |
Required |
dataType |
The DataType of the data you want |
GeoEntityDataTypes |
Required |
endTime |
The last time you want results to as a UTC format string "yyyy-MM-ddThh-mm-ssZ" |
date |
Required |
startTime |
The first time you want results from as a UTC format string "yyyy-MM-ddThh-mm-ssZ" |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
All TimeSeriesDataPoints for a specific station over a given period.
TimeSeriesDatapointsName | Description | Type | Additional information |
---|---|---|---|
Gauge |
The TimeSeriesGauge that the Datapoint values are from |
TimeSeriesGauge |
None. |
Values |
Actual Recorded values. |
Collection of TimeSeriesPointValue |
None. |
Response Formats
application/json, text/json
Sample:
{ "Gauge": { "<Id>k__BackingField": 1, "<GeoEntityId>k__BackingField": 2, "<DataTypeId>k__BackingField": 0, "<DataType>k__BackingField": "sample string 3", "<CurrentValue>k__BackingField": 1.1, "<CurrentValueTime>k__BackingField": "2024-04-29T05:48:58.7876383+00:00", "<UpdatedTime>k__BackingField": "2024-04-29T05:48:58.7876383+00:00", "<Units>k__BackingField": "sample string 4", "<UpdatePeriod>k__BackingField": "sample string 5", "<State>k__BackingField": 0, "<WaterLevelStatisticsType>k__BackingField": 1, "<AdditionalData>k__BackingField": "sample string 6", "<AdditionalDataObject>k__BackingField": {}, "<TwitterAccounts>k__BackingField": [ { "<TwitterApplication>k__BackingField": 1, "<TwitterUrl>k__BackingField": "sample string 2", "<TimelineWidgetId>k__BackingField": "sample string 3" }, { "<TwitterApplication>k__BackingField": 1, "<TwitterUrl>k__BackingField": "sample string 2", "<TimelineWidgetId>k__BackingField": "sample string 3" } ] }, "Values": [ { "Time": "2024-04-29T05:48:58.7876383+00:00", "Value": 2.1 }, { "Time": "2024-04-29T05:48:58.7876383+00:00", "Value": 2.1 } ] }