POST api/Vehicle/GetVehiclesById
Request Information
URI Parameters
None.
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of 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" }, { "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:
<ArrayOfVehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibs.Nags.Domain.Models"> <VehicleModel> <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> <VehicleModel> <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> </ArrayOfVehicleModel>