Get Location
AI-generatedSummary
Fetch current vehicle location from a BlueLinky-connected vehicle.
Inputs
- vin — Optional VIN to target a specific vehicle. If empty, vehicle index will be used. Type: string. Default: empty string.
- vehicleIndex (required) — Index of the vehicle to use when VIN is not provided. Minimum value is 0. Type: number. Default: 0.
Output shape
The vehicle's location data as returned by the BlueLinky API, or { message: 'No location returned' } if the location is unavailable.
The operation resolves the target vehicle by matching the provided VIN or using the default vehicle index, then calls the BlueLinky library's location endpoint.