GET api/ForecastPoints?id={id}
Gets the forecast point with the given ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the forecast point. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A forecast point.
ForecastPoint| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the forecast point. |
integer |
Required |
| Name |
The name of the forecast point. |
string |
None. |
| Latitude |
The latitude of the location of the forecast point. |
decimal number |
None. |
| Longitude |
The longitude of the location of the forecast point. |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "Forecast point 1",
"Latitude": 0.0,
"Longitude": 0.0
}
application/xml, text/xml
Sample:
<ForecastPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForeCoastMarine.Core.Models"> <HotSpotCoordinates i:nil="true" /> <HotSpotType i:nil="true" /> <Id>1</Id> <Latitude>0</Latitude> <Longitude>0</Longitude> <Name>Forecast point 1</Name> </ForecastPoint>