cURL
curl --request GET \ --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/vehicle/nearest \ --header 'Authorization: Basic <encoded-value>'
[ { "vehicleId": "<string>", "registration": "<string>", "distance": 123 } ]
Find vehicles nearest to a specified location or coordinate within a given radius.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Nearest vehicles found successfully.
Vehicle identifier
Vehicle registration
Distance to the vehicle in kilometers
Was this page helpful?