GuidesAPI Reference
Guides

Migrate weather alerts requests

This section describes how to migrate weather alerts requests from the Destination Weather API v1 to v3.

Request

For more information on Destination Weather API v3 request parameters, see the Weather Alerts - Request Parameters section of the Destination Weather API v3 API reference.

Payload changed

Body payload for both query types - along the route (corridor) and around car position (proximity) is geo-josn with geometry LineString (corridor) or Point (proximity) and optional width/radius in meters.

📘

Note

The possible https methods for weather alerts data in Destination Weather API v1 API are GET and POST, however Destination Weather API v3 accetps only `POST' http method.

Base URL, version, and resource

ParameterDestination Weather API v1Destination Weather API v3
Base URLhttps://weather.cc.api.here.comhttps://weather.hereapi.com
Version/weather/2.0/v3
Resource/alerts/alerts

Data model

The response data model is geo-json with changes in feature properties - a few fields name changed. The full v3 data model can be found in the API Reference.