Send Destination

API

Leiten Sie Fahrer zu Ihrem Unternehmen weiter, wenn es darauf ankommt

Bringen Sie mehr Kunden an Ihre Unternehmensstandorte, indem Sie ein Ziel direkt an den integrierten Navigationsbildschirm eines Fahrzeugs senden. Mit der Send Destination API können Sie Kunden anhand bestimmter Fahrzeugauslöser zum richtigen Zeitpunkt weiterleiten.

An illustration of a connected vehicle on a winding road.

Ziel senden

Senden Sie die Zielkoordinaten an das Navigationssystem des Fahrzeugs.

const smartcar = require('smartcar');

// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicles("<access-token>");

// Construct a new vehicle instance using the first vehicle's id
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");

// Send the destination to the vehicle
const sendDestination = await vehicle.sendDestination(51.5007, 0.1246);


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

import smartcar

# Get all vehicles associated with this access token
response = smartcar.get_vehicles("<access-token>")

# Construct a new vehicle instance using the first vehicle's id
vehicle = smartcar.Vehicle(response.vehicles[0], "<access-token>")

# Send the destination to the vehicle
send_destination_response = vehicle.send_destination(51.5007, 0.1246)


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

import com.smartcar.sdk.*;

// Get all vehicles associated with this access token
VehicleIds response = Smartcar.getVehicles("<access-token>");
String[] vehicleIds = response.getVehicleIds();

// Construct a new vehicle instance using the first vehicle's id
Vehicle vehicle = new Vehicle(vehicleIds[0], "<access-token>");

// Send the destination to the vehicle
SendDestinationResponse sendDestinationResponse = vehicle.sendDestination(51.5007, 0.1246);


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

require 'smartcar'

# Get all vehicles associated with this access token
all_vehicles =  Smartcar.get_vehicles(token: token)

# Construct a new vehicle instance using the first vehicle's id
vehicle = Smartcar::Vehicle.new(
  token: "<access-token>",
  id: all_vehicles.vehicles.first
)

# Send the destination to the vehicle
vehicle.send_destination(51.5007, 0.1246)


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

Sehen Sie sich die API-Dokumente an

Eigenschaften des Produkts

  • Compatible with 36 car brands

    kompatibel mit 39 Automarken

  • Friendly user consent flow

    Benutzerfreundlicher Zustimmungsfluss

  • Works on 2015 and newer vehicles

    Funktioniert mit Fahrzeugen von 2015 und neueren

  • Trusted & secure

    Vertrauenswürdig und sicher

  • Retrieve live data and trigger actions

    Zugriff auf Live-Fahrzeugdaten

  • SDKs for Go, Java, Node.js, Python, and Ruby

    SDKs für Go, Java, Node.js, Python und Ruby

Learn more about Smartcar's APIs

Verwandte Branchen

Ladenetzwerke für Elektrofahrzeuge

Geben Sie in Ihrer App geschätzte Ladezeiten, automatische Ladepläne und die Reiseplanung für Elektrofahrzeuge an.

Dienste auf Abruf

Bitten Sie Ihre Kunden, einen Wartungstermin zu vereinbaren, wenn das Motoröl ihres Fahrzeugs das Ende der empfohlenen Lebensdauer erreicht hat.