Skip to content

Commit c17a14d

Browse files
committed
Update documentation for vehicle event format.
1 parent feab245 commit c17a14d

File tree

1 file changed

+53
-20
lines changed

1 file changed

+53
-20
lines changed

source/includes/_events.md

Lines changed: 53 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -76,55 +76,88 @@ Field Key | Example Value | Field Format
7676
```javascript
7777
{
7878
accountId: "futuredemodealer",
79-
bodyStyle: "Sedan",
80-
certified: "false",
81-
cityFuelEconomy: 30,
79+
address: {
80+
accountName: "ROI Motors",
81+
city: "Burlington",
82+
state: "VT",
83+
postalCode: "05401",
84+
country: "US"
85+
},
86+
autodataCaId: "1234567",
87+
bodyStyle: "SUV",
88+
certified: false,
89+
chromeId: "411601",
90+
cityFuelEconomy: 28,
8291
classification: "primary",
83-
doors: "4-door",
84-
driveLine: "FWD",
92+
dealerCodes: {
93+
"dealertrack-post": "futuredemodealer",
94+
dtid: "12345",
95+
"dt-dr-profile": "futuredemodealer",
96+
affiliate_promotions: "avis",
97+
"at-kbb": "12345678"
98+
},
99+
driveLine: "Front-wheel Drive",
85100
engine: "I-4 cyl",
86-
exteriorColor: "Platinum White Pearl",
87-
finalPrice: 28360,
101+
engineSize: "1.5L",
102+
exteriorColor: "Crystal Black Pearl",
103+
finalPrice: 34345,
88104
fuelType: "Regular Unleaded",
89-
highwayFuelEconomy: 38,
90-
interiorColor: "Black",
91-
internetPrice: 28360,
105+
highwayFuelEconomy: 34,
106+
images: [
107+
"https://pictures.dealer.com/f/futuredemodealer/1182/0686eb936bd7a4905f751493cc28dcb9x.jpg",
108+
"https://pictures.dealer.com/f/futuredemodealer/1509/beaa11b53bdfdaf7ecff5bb82368a71fx.jpg",
109+
"https://pictures.dealer.com/f/futuredemodealer/1745/ce8b19151d15eb1bd2570e15f9d388efx.jpg"
110+
],
111+
interiorColor: "White",
92112
inventoryType: "new",
93113
make: "Honda",
94-
model: "Accord",
95-
msrp: 28360,
96-
odometer: 5,
97-
status: "Live",
98-
stockNumber: "00180772",
114+
model: "CR-V",
115+
modelCode: "RW1H9LKNW",
116+
msrp: 34345,
117+
odometer: 3,
118+
optionCodes: [
119+
"ABC",
120+
"123",
121+
"321"
122+
],
123+
stockNumber: "00100060",
99124
transmission: "Variable",
100-
trim: "EX",
101-
uuid: "ab119e0e0a0a00f944d6f3031cd34854",
102-
vin: "1HGCV1F42JA141468",
103-
year: 2018
125+
trim: "Touring 2WD",
126+
uuid: "a897d95c0a0a00f95adba92bfd388557",
127+
vin: "7FARW1H9XLE000953",
128+
year: 2020
104129
}
105130
```
106131

107132
Field Key | Example Value | Field Format
108133
-------------- | -------------- | --------------
109134
`accountId` | `futuredemodealer` | `String`
135+
`address` | `{"accountName": "ROI Motors", "city": "Burlington", "state": "VT", "postalCode": "05401", "country": "US"}` | `Object`
136+
`autodataCaId` | `CAD00CHT27CG0` | `String`
110137
`bodyStyle` | `Sedan` | `String`
111-
`certified` | `false` | `String`
138+
`certified` | `false` | `Boolean`
139+
`chromeId` | `407123` | `String`
112140
`cityFuelEconomy` | `30` | `Integer`
113141
`classification` | `primary` | `String`
142+
`dealerCodes` | `{"dealertrack-post": "futuredemodealer", "dtid": "12345", "dt-dr-profile": "futuredemodealer"}` | `Object`
114143
`doors` | `4-door` | `String`
115144
`driveLine` | `FWD` | `String`
116145
`engine` | `I-4 cyl` | `String`
146+
`engineSize` | `1.5L` | `String`
117147
`exteriorColor` | `Platinum White Pearl` | `String`
118148
`finalPrice` | `28360` | `Integer`
119149
`fuelType` | `Regular Unleaded` | `String`
120150
`highwayFuelEconomy` | `38` | `Integer`
151+
`images` | `["https://pictures.dealer.com/1.jpg", "https://pictures.dealer.com/2.jpg"]` | `Array`
121152
`interiorColor` | `Black` | `String`
122153
`internetPrice` | `28360` | `Integer`
123154
`inventoryType` | `new` | `String`
124155
`make` | `Honda` | `String`
125156
`model` | `Accord` | `String`
157+
`modelCode` | `RW1H9LKNW` | `String`
126158
`msrp` | `28360` | `Integer`
127159
`odometer` | `5` | `Integer`
160+
`optionCodes` | `["ABC", "123", "321"]` | `Array`
128161
`status` | `Live` | `String`
129162
`stockNumber` | `00180772` | `String`
130163
`transmission` | `Variable` | `String`

0 commit comments

Comments
 (0)