GET v2/weather-stations/{id}.{ext}?ranchGuid={ranchGuid}
Get details for a specific weather station
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Weather Station Id |
integer |
Required |
| ranchGuid |
Ranch Guid (optional), to calculate weather station distance from ranch |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
MarkerCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| RanchLocation |
A "blank" weather station marker used for holding ranch name and lat lng (deprecated) this field will be restructured in the future |
Marker |
None. |
| Stations |
a list of weather stations |
Collection of Marker |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"RanchLocation": {
"Id": 1,
"External_Id": "sample string 2",
"Longitude": 3.1,
"Latitude": 4.1,
"Selected": true,
"Name": "sample string 6",
"Distance": 7,
"NearestCity": "sample string 8",
"County": "sample string 9"
},
"Stations": []
}