GET DataMapper/Agency/{datasource}/Station/{stationId}/Parameter/{parameter}/GraphData?numberOfDays={numberOfDays}&endDate={endDate}

Returns the last X days of data for the selected station and parameter. A null endDate will return the last X days of data from the last sample date on record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
datasource

string

Required

stationId

string

Required

parameter

string

Required

numberOfDays

integer

Required

endDate

date

None.

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/javascript, application/javascript, application/json-p

Sample:

Sample not available.