Retrieve the uuid of the area and the area to which the user is restricted

GET {{baseUrl}}/geojson

This endpoint returns the uuid of the GeoJSON object and the GeoJSON object itself. The object is used to restrict the area of road safety hotspots data for the user. The response does not incorporate any geolocation filters.

HEADERS

KeyDatatypeRequiredDescription
x-tracking-idstringthe request tracking ID
Acceptstring

RESPONSES

status: OK

{"id":"\u003cuuid\u003e","geoJson":{"type":"Polygon","coordinates":[[["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"]],[["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"]]],"bbox":["\u003cnumber\u003e","\u003cnumber\u003e","\u003cnumber\u003e","\u003cnumber\u003e"]}}