Skip to main content
GET
/
customer
/
{customerId}
/
vehicle
/
nearest
Find Nearest Vehicles
curl --request GET \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/vehicle/nearest \
  --header 'Authorization: Bearer <token>'
[
  {
    "vehicleId": "<string>",
    "registration": "<string>",
    "distance": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Response

200 - application/json

Nearest vehicles found successfully.

vehicleId
string

Vehicle identifier

registration
string

Vehicle registration

distance
number<double>

Distance to the vehicle in kilometers