• Pages
  • /
  • Dealers
  • /
  • Data Depot
  • /
  • Version 4
  • /
  • API
  • /
  • Services
  • /
  • Vehicles

Vehicles

The Vehicle endpoint allows you to retrieve a collection of all our Vehicles, or the data surrounding a specific Vehicle via the entity endpoint.

The association of Vehiclemodels to Vehicleyears form first-class citizens we call Vehicles. A Vehicle is just that; the actual, physical machine. It is a veritable dirt bike, or ATV, or snowmobile, or whatever. But even still, it is not just a model that was produced at some point in time, like for example a CRF250R; it is a specific year 2014 CRF250R dirt bike.

If any exist in our system, you can also determine the Attributevalues that are associated to the Vehicle, such as OEM specifications like: Bolt Pattern, Fuel Capacity, etc.

Lastly, if you wish to determine all the Items associated with a particular vehicle, the Vehicles endpoint is where you would make that request.

Example requests

Collection

http://api.wps-inc.com/vehicles

Entity

http://api.wps-inc.com/vehicles/1

...or send multiple ids separated by a comma(,)

http://api.wps-inc.com/vehicles/1,2,3,4,5

Associated Attributevalues

http://api.wps-inc.com/vehicles/1/attributevalues

Associated Items

http://api.wps-inc.com/vehicles/1/items