GET DataMapper/datamapper/get_samples?dataSource={dataSource}&stationId={stationId}&status={status}

Get the latest sample data for the selected station

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dataSource

string

Required

stationId

string

Required

status

string

Required

Body Parameters

None.

Response Information

Resource Description

RealtimeStationDetails
NameDescriptionTypeAdditional information
SampleValues

List of Parameter Sample Values

Collection of RealtimeSampleValues

None.

Name

Station Name

string

None.

Id

Station ID

string

None.

Datasource

Datasource for the station

BasicDatasourceDetails

None.

StationUrl

URL for station details

string

None.

Location

Station Location

PointLocation

None.

Response Formats

application/json, text/json

Sample:
{
  "SampleValues": null,
  "Name": "sample string 1",
  "Id": "sample string 2",
  "Datasource": {
    "Id": "sample string 1",
    "Name": "",
    "DataSourceUrl": "https://wateratlas.usf.edu/shared/metadata.asp?id=sample string 1"
  },
  "StationUrl": "https://wateratlas.usf.edu/datamapper/station.aspx?ds=sample string 1&s=sample string 2",
  "Location": {
    "latitude": 1.0,
    "longitude": 1.0
  }
}

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

Sample:
/**/ typeof  === 'function' && ({"SampleValues":null,"Name":"sample string 1","Id":"sample string 2","Datasource":{"Id":"sample string 1","Name":"","DataSourceUrl":"https://wateratlas.usf.edu/shared/metadata.asp?id=sample string 1"},"StationUrl":"https://wateratlas.usf.edu/datamapper/station.aspx?ds=sample string 1&s=sample string 2","Location":{"latitude":1.0,"longitude":1.0}});