GET rainfall/latest?s={s}
Get the latest rainfall information 24 h ,7 day and 30 day totals for each site id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
s |
Site Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StationLatestRainfallDataName | Description | Type | Additional information |
---|---|---|---|
Total24h |
24 hour total rainfall data. |
decimal number |
None. |
Total7d |
7 day total rainfall data. |
decimal number |
None. |
Total31d |
30 day total rainfall data. |
decimal number |
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. |
LastUpdated |
Date the station was last updated |
date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LastUpdated": "2024-12-11T03:51:59.8251555-05:00", "Total24h": 1.0, "Total7d": 1.0, "Total31d": 1.0, "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/shared/metadata.asp?id=sample string 1&stationid=sample string 2", "Location": { "latitude": 1.0, "longitude": 1.0 } }, { "LastUpdated": "2024-12-11T03:51:59.8251555-05:00", "Total24h": 1.0, "Total7d": 1.0, "Total31d": 1.0, "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/shared/metadata.asp?id=sample string 1&stationid=sample string 2", "Location": { "latitude": 1.0, "longitude": 1.0 } } ]
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ([{"LastUpdated":"2024-12-11T03:51:59.8251555-05:00","Total24h":1.0,"Total7d":1.0,"Total31d":1.0,"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/shared/metadata.asp?id=sample string 1&stationid=sample string 2","Location":{"latitude":1.0,"longitude":1.0}},{"LastUpdated":"2024-12-11T03:51:59.8251555-05:00","Total24h":1.0,"Total7d":1.0,"Total31d":1.0,"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/shared/metadata.asp?id=sample string 1&stationid=sample string 2","Location":{"latitude":1.0,"longitude":1.0}}]);