Api documentation

Api documentation

Get Car Style Details by Car Style ID

Spec: Style
 
 
v3 v2
 
 

Response format

JSON Response w/ view=basic (default)

{
  "id": {integer},
  "name": {string},
  "make": {
    "id": {integer},
    "name": {string},
    "niceName": {string}
  },
  "model": {
    "id": {string},
    "name": {string},
    "niceName": {string}
  },
  "year": {
    "id": {integer},
    "year": {integer}
  },
  "submodel": {
    "body": {string},
    "fuel": {string}, // is not always populated
	"tuner": {string}, // is not always populated
    "modelName": {string},
    "niceName": {string}
  },
  "trim": {string}
}

The make, model, year and submodel objects are identical to what’s returned in the Make and Model specs.

Property Description Visibility
id The style ID Edmunds, Partners, Public
name The style name Edmunds, Partners, Public
make The car make details (id, name and nicename) Edmunds, Partners, Public
model The car model details (id, name and nicename) Edmunds, Partners, Public
year The car model year ID and four-digit year Edmunds, Partners, Public
submodel Car submode details Edmunds, Partners, Public
trim The car trim Edmunds, Partners, Public

JSON Response w/ view=full

{
  "id": {integer},
  "name": {string},
  "make": {
    "id": {integer},
    "name": {string},
    "niceName": {string}
  },
  "model": {
    "id": {string},
    "name": {string},
    "niceName": {string}
  },
  "year": {
    "id": {integer},
    "year": {integer}
  },
  "submodel": {
    "body": {string},
    "fuel": {string}, // is not always populated
	"tuner": {string}, // is not always populated
    "modelName": {string},
    "niceName": {string}
  },
  "trim": {string},
  "states": {array},
  "engine": {object},
  "transmission": {object},
  "options": [
    {
      "category": {string},
      "options": {array}
    }
  ],
  "colors": [
    {
      "category": {string},
      "options": {array}
    }
  ],
  "drivenWheels": {string},
  "numOfDoors": {string},
  "squishVins": {array},
  "categories": {object},
  "MPG": {object},
  "manufacturerCode": {string},
  "price": {object}
}
Property Description Visibility
id The style ID Edmunds, Partners, Public
name The style name Edmunds, Partners, Public
make The car make details (id, name and nicename) Edmunds, Partners, Public
model The car model details (id, name and nicename) Edmunds, Partners, Public
year The car model year ID and four-digit year Edmunds, Partners, Public
submodel Car submode details Edmunds, Partners, Public
trim The car trim Edmunds, Partners, Public
states The state of this style (e.g. NEW, USED, or FUTURE) Edmunds, Partners, Public
engine The engine details on this style (see below) Edmunds, Partners, Public
transmission The transmission details on this style (see below) Edmunds, Partners, Public
options Available options for this style (see below) Edmunds, Partners, Public
colors Available colors for this style (see below) Edmunds, Partners, Public
drivenWheels The car drive Edmunds, Partners, Public
numOfDoors The number of doors on the car Edmunds, Partners, Public
squishVins All the squish Vins associated with this style Edmunds, Partners, Public
categories The car categories (e.g. EPA Class, Size, Type) Edmunds, Partners, Public
MPG The highway and city MPG details Edmunds, Partners, Public
manufacturerCode The manufacturer code of the car Edmunds, Partners, Public
price The price details for this style Edmunds, Partners, Public

The properties within the engine object are:

"id": {string},
"name": {string},
"compressionRatio": {float},
"cylinder": {integer},
"size": {float},
"displacement": {integer},
"configuration": {string},
"fuelType": {string},
"horsepower": {integer},
"torque": {integer},
"totalValves": {integer},
"manufacturerEngineCode": {string},
"type": {string},
"code": {string},
"compressorType": {string}
Property Description Visibility
id The engine ID Edmunds, Partners, Public
name The engine name Edmunds, Partners, Public
compressionRatio The engine compression ratio Edmunds, Partners, Public
cylinder The number of cylinders this engine has Edmunds, Partners, Public
size The car model year ID and four-digit year Edmunds, Partners, Public
displacement The engine size Edmunds, Partners, Public
configuration The engine configuration Edmunds, Partners, Public
fuelType The engine fuel type Edmunds, Partners, Public
horsepower The engine horsepower Edmunds, Partners, Public
torque The engine torque Edmunds, Partners, Public
totalValves The total values in the engine Edmunds, Partners, Public
type The type type (gas, hybrid, diesel, …etc) Edmunds, Partners, Public
code The engine code Edmunds, Partners, Public
compressorType The engine compressor type Edmunds, Partners, Public

The properties within the transmission object are:

"id": {integer},
"name": {string},
"automaticType": {string},
"transmissionType": {string},
"numberOfSpeeds": {integer}
Property Description Visibility
id The transmission ID Edmunds, Partners, Public
name The transmission name Edmunds, Partners, Public
automaticType The type of automatic transmission Edmunds, Partners, Public
transmissionType The transmission type (automatic, manual, ..etc) Edmunds, Partners, Public
numberOfSpeeds The number of speed the car has Edmunds, Partners, Public

Each element in the options array follows this format:

{
  "id": {integer},
  "name": {string},
  "equipmentType": {string},
  "manufactureOptionName": {string},
  "manufactureOptionCode": {string},
  "category": {string}
}
Property Description Visibility
id The option ID Edmunds, Partners, Public
name The option name Edmunds, Partners, Public
equipmentType The equipment type (see overview) Edmunds, Partners, Public
manufactureOptionName The name of this option at the manufacturer Edmunds, Partners, Public
manufactureOptionCode The code of this option at the manufacturer Edmunds, Partners, Public
category The option category (see overview) Edmunds, Partners, Public

Each element in the colors options array follows this format:

{
  "id": {integer},
  "name": {string},
  "equipmentType": {string},
  "manufactureOptionName": {string},
  "manufactureOptionCode": {string},
  "category": {string},
  "colorChips": {
    "primary": {
      "r": {integer},
      "g": {integer},
      "b": {integer},
      "hex": {string}
    }
  },
  "fabricType": {string}
}
Property Description Visibility
id The option ID Edmunds, Partners, Public
name The option name Edmunds, Partners, Public
equipmentType The equipment type. It’s always “COLOR” Edmunds, Partners, Public
manufactureOptionName The name of this option at the manufacturer Edmunds, Partners, Public
manufactureOptionCode The code of this option at the manufacturer Edmunds, Partners, Public
category The option category. Interior OR Exterior Edmunds, Partners, Public
colorChips Primary and Secondary colors. Each with RGB and Hex values Edmunds, Partners, Public
fabricType The fabric type for interior Edmunds, Partners, Public