GET api/Strata/GetDataTrend?DataFeedID={DataFeedID}&StartDate={StartDate}&EndDate={EndDate}&AggregationLevel={AggregationLevel}&AggregationType={AggregationType}

Get Data Trend for a certain period by DataFeedID, Example: api/Strata/GetDataTrend?DataFeedID=1992&StartDate=2018-01-01&EndDate=2018-03-15. AggregationLevel is in seconds, defaulted to daily (86400) you could use 604800 for weekly data. If you want to have monthly data set AggregationType to 2 regardless of aggregationLevel this will always return monthly frequency.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DataFeedID

integer

Required

StartDate

date

Required

EndDate

date

Required

AggregationLevel

integer

Default value is 86400

AggregationType

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

Json Data

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.