Sha256: 50c54608a2c09028d5fc9e0e9eb17c08dd48dde420085ec8b3e9f471d507b2a3

Contents?: true

Size: 1.27 KB

Versions: 6

Compression:

Stored size: 1.27 KB

Contents

# Navigation

## POST `/api/1/vehicles/{id}/command/navigation_request`

Sends a location for the car to start navigation.

These docs take from the Android app, which sends the data in JSON form. However, a urlencoded POST body will work as well. The basic format to a request looks like this:

```json
{
  "type": "share_ext_content_raw",
  "value": {
    "android.intent.extra.TEXT": "123 Main St, City, ST 12345\n\nhttps://goo.gl/maps/X"
  },
  "locale": "en-US",
  "timestamp_ms": "1539465730"
}
```

### Parameters

| Parameter                        | Example                     | Description                                       |
| :------------------------------- | :-------------------------- | :------------------------------------------------ |
| type                             | share_ext_content_raw       | Must be `share_ext_content_raw`.                  |
| locale                           | en-US                       | The locale for the navigation request.            |
| timestamp_ms                     | 1539465730                  | The current UNIX timestamp.                       |
| value[android.intent.extra.TEXT] | 123 Main St, City, ST 12345 | The address to set as the navigation destination. |

### Response

```json
{
  "reason": "",
  "result": true
}
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tesla_api-3.0.1 docs/vehicle/commands/navigation.md
tesla_api-3.0.0 docs/vehicle/commands/navigation.md
tesla_api-2.0.0 docs/vehicle/commands/navigation.md
tesla_api-1.5.0 docs/vehicle/commands/navigation.md
tesla_api-1.4.1 docs/vehicle/commands/navigation.md
tesla_api-1.4.0 docs/vehicle/commands/navigation.md