Retrieve micro weather events restricted to the predefined area of the user

GET {{baseUrl}}/microweather?page=<integer>&size=<integer>&longitudePoint1=<number>&latitudePoint1=<number>&longitudePoint2=<number>&latitudePoint2=<number>&rainIntensity=<string>&minConfidence=<float>&roadCondition=<string>&minTemperature=<float>&maxTemperature=<float>

This endpoint returns micro weather data limited to the predefined area of the user. The micro weather data is returned in a paged response. If there is no micro weather data in the defined area, an empty list is returned. Note that missing fields in individual micro weather are returned as null values. To additionally limit the returned data, a bounding box can be defined as geolocation filter. The bounding box is defined by two points, each represented by a longitude and a latitude coordinate. The first point is defined by the longitudePoint1 and latitudePoint1 query parameters. The second point is defined by the longitudePoint2 and latitudePoint2 query parameters. All four query parameters are optional, but if one of them is provided, all four must be provided to define a bounding box as geolocation filter. Besides the bounding box, the micro weather data can also be filtered by the rain intensity, the confidence value, the road condition, and the temperature. If more than one filter is provided, the filters are combined with a logical AND.

Request Params

KeyDatatypeRequiredDescription
pagestringThe page number used for the pagination
sizestringThe size of the response page used for the pagination. The size is given in number of events. If the requested page size exceeds the maximum allowed page size, a validation error is returned.
longitudePoint1stringThe longitude coordinate (x-axis) of the first point defining a bounding box as geolocation filter. Valid values are between -180 and 180.
latitudePoint1stringThe latitude coordinate (y-axis) of the first point defining a bounding box as geolocation filter. Valid values are between -90 and 90.
longitudePoint2stringThe longitude coordinate (x-axis) of the second point defining a bounding box as geolocation filter. Valid values are between -180 and 180.
latitudePoint2stringThe latitude coordinate (y-axis) of the second point defining a bounding box as geolocation filter. Valid values are between -90 and 90.
rainIntensitystringFilters the micro weather data by the rain intensity. The filter is case-insensitive and can be one of the following values: NONE, LOW, MEDIUM, HIGH, UNRECOGNIZED
minConfidencestringFilters the micro weather data by the confidence value. Can be between 0 and 1. Only micro weather data with a confidence value greater than or equal to the provided value are returned.
roadConditionstringFilters the micro weather data by the road condition. The filter is case-insensitive and can be one of the following values: SLIPPERY_ICE, SLIPPERY_WET, DRY, UNRECOGNIZED, WET
minTemperaturestringFilters the micro weather data by the temperature value. Only micro weather data with a temperature value greater than or equal to the provided value are returned.
maxTemperaturestringFilters the micro weather data by the temperature value. Only micro weather data with a temperature value less than or equal to the provided value are returned.

HEADERS

KeyDatatypeRequiredDescription
x-tracking-idstringthe request tracking ID
Acceptstring

RESPONSES

status: OK

{&quot;microWeather&quot;:[{&quot;latitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;longitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;confidence&quot;:&quot;\u003cfloat\u003e&quot;,&quot;temperature&quot;:&quot;\u003cfloat\u003e&quot;,&quot;rainIntensity&quot;:&quot;\u003cstring\u003e&quot;,&quot;roadCondition&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003clong\u003e&quot;},{&quot;latitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;longitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;confidence&quot;:&quot;\u003cfloat\u003e&quot;,&quot;temperature&quot;:&quot;\u003cfloat\u003e&quot;,&quot;rainIntensity&quot;:&quot;\u003cstring\u003e&quot;,&quot;roadCondition&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003clong\u003e&quot;}],&quot;page&quot;:{&quot;size&quot;:&quot;\u003cinteger\u003e&quot;,&quot;number&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalElements&quot;:&quot;\u003clong\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;}}