triggers the export of the road safety hotspots data into files

GET {{baseUrl}}/roadsafetyhotspots/export?fileFormat=csv&compression=none&fileSize=50&longitudePoint1=<number>&latitudePoint1=<number>&longitudePoint2=<number>&latitudePoint2=<number>&typeOfObjects=<string>&eventIntensity=<integer>&relativeSize=<string>

This endpoint triggers the export of the road safety hotspots data limited to the area defined by the GeoJSON referenced in the header. The returned jobId can be used to get the status of the export process and once the export is completed, the list of files that can be downloaded. If there is already an export process running or is completed, no new export process is started, but the ID of the existing export process is returned. The same filters that are available for the data retrieval endpoint can be used for this endpoint.

Request Params

KeyDatatypeRequiredDescription
fileFormatstringThe format of the exported files
compressionstringThis parameter can be set if the exported files should be compressed. The only supported value is gzip.
fileSizenumberThe size of the file that are generated (before compression). The size is in megabytes. The default value is 50 MB if the query parameters is not provided. Allowed values are between 5 MB and 200 MB.
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.
typeOfObjectsstringFilters the road safety hotspots data by the type of objects. The filter is case-insensitive.
eventIntensitystringFilters the road safety hotspots data by the event intensity. Valid values are between 1 and 5.
relativeSizestringFilters the road safety hotspots data by the relative size. The filter is case-insensitive.

HEADERS

KeyDatatypeRequiredDescription
x-tracking-idstringthe request tracking ID
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;jobId&quot;:&quot;\u003cstring\u003e&quot;,&quot;validUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;fileNames&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]}