Get weather stations. Includes custom-created weather stations
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
Array of:
WeatherStationResponse
| Property | Description | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| baseStationCode | Code of the base weather station Will be null if not linked | string | ||||||||||||
| channel | ChannelChild | |||||||||||||
|
ChannelChild properties
|
||||||||||||||
| stationCode | Weather station code | string | ||||||||||||
| stationId | ID of the weather station | integer (int32) | ||||||||||||
| stationInfo | Weather station info | string | ||||||||||||
Example Response
[
{ "baseStationCode": "string", "channel": { "channelCode": "string", "channelId": 1, "interval": 1
}, "stationCode": "string", "stationId": 1, "stationInfo": "string"
}
]