GET api/Vehicle/GetVehicleByLookup?year={year}&makeId={makeId}&modelId={modelId}&bodyStyleId={bodyStyleId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
year | integer |
Required |
|
makeId | integer |
Required |
|
modelId | integer |
Required |
|
bodyStyleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
VehicleModelName | Description | Type | Additional information |
---|---|---|---|
VehicleId | integer |
None. |
|
ModelYear | integer |
None. |
|
Make | string |
None. |
|
MakeId | integer |
None. |
|
Model | string |
None. |
|
MakeModelId | integer |
None. |
|
BodyStyle | string |
None. |
|
BodyStyleId | integer |
None. |
|
FullDescription | string |
None. |
|
GraphicId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "VehicleId": 1, "ModelYear": 1, "Make": "sample string 2", "MakeId": 1, "Model": "sample string 3", "MakeModelId": 1, "BodyStyle": "sample string 4", "BodyStyleId": 1, "FullDescription": "sample string 5", "GraphicId": "sample string 6" }
application/xml, text/xml
Sample:
<VehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibs.Nags.Domain.Models"> <BodyStyle>sample string 4</BodyStyle> <BodyStyleId>1</BodyStyleId> <FullDescription>sample string 5</FullDescription> <GraphicId>sample string 6</GraphicId> <Make>sample string 2</Make> <MakeId>1</MakeId> <MakeModelId>1</MakeModelId> <Model>sample string 3</Model> <ModelYear>1</ModelYear> <VehicleId>1</VehicleId> </VehicleModel>