Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

GetVehicleType

Type
Function
Sender
SDL
Purpose
Get general information about the vehicle.

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
vehicleType Common.VehicleType true

Sequence Diagrams

Example Request

{
  "id" : 21,
  "jsonrpc" : "2.0",
  "method" : "VehicleInfo.GetVehicleType"
}

Example Response

{
  "id" : 21,
  "jsonrpc" : "2.0",
  "result" :
  {
    "vehicleType" :
    [
      "make" : "Ford",
      "model" : "Fusion",
      "modelYear" : "2013",
      "trim" : "SE"
    ]
    "code" : 0,
    "method" : "VehicleInfo.GetVehicleType"
  }
}

Example Error

{
  "id" : 21,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 9,
    "message" : "The requested data is not available",
    "data" :
    {
      "method" : "VehicleInfo.GetVehicleType"
    }
  }
}
View on GitHub.com
Previous Section Next Section