PartSource.Api
This controller exists to enable legacy support for the old Nexpart-based vehicle lookup.
This endpoint gets vehicle data from WHI's SEO data.
Get Vehicles
OK: An array of vehicles matching the query.
No Content: The query executed successfully, but no vehicles were found.
Get Vehicle by ID
A WHI VehicleToEngineConfigId
OK: The vehicle with the provided VehicleToEngineConfigId.
Not Found: No vehicle was found matching the provided VehicleToEngineConfigId.
Get Makes
OK: An array of makes matching the query.
No Content: The query executed successfully, but no makes were found.
Get Make by ID
A WHI MakeId
OK: The make with the provided MakeId.
Not Found: No make was found matching the provided MakeId.
Get Models
OK: An array of models matching the query.
No Content: The query executed successfully, but no models were found.
Get Model by ID
A WHI ModelId
OK: The model with the provided ModelId.
Not Found: No model was found matching the provided ModelId.
Get Submodels
/// Note: Submodels can be shared between models. Do not assume a submodel is unique to a given model.
OK: An array of submodels matching the query.
No Content: The query executed successfully, but no submodels were found.
Get Submodel by ID
Note: Submodels can be shared between models. Do not assume a submodel is unique to a given model.
A WHI SubmodelId
OK: The submodel with the provided SubmodelId.
Not Found: No submodel was found matching the provided SubmodelId.
Get Base Vehicles
OK: An array of base vehicles matching the query.
No Content: The query executed successfully, but no base vehicles were found.
Get Base Vehicle by ID
A WHI BaseVehicleId
OK: The base vehicle with the provided BaseVehicleId.
Not Found: No base vehicle was found matching the provided BaseVehicleId.
Get Engines
OK: An array of engines matching the query.
No Content: The query executed successfully, but no engines were found.
Get Engine by ID
A WHI EngineConfigId
OK: The engine with the provided EngineConfigId.
Not Found: No engine was found matching the provided EngineConfigId.