GET api/van/{constructiondate}/models/{modelid}/bodytypes
All bodytypes for a specific van-model
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
constructiondate |
Constructiondate in format yyyy or yyyyMM or yyyyMMdd |
integer |
Required |
modelid |
modelid of requested model |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Kooijmans.Vehicle.VehicleBodyName | Description | Type | Additional information |
---|---|---|---|
Code |
Short string identifying the body type |
string |
None. |
Description |
Body type description translated to the language of the caller (Accept-Language http-header) |
string |
None. |
RollsBodyID |
Value to pass to the Rolls calculation engine |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Code": "sample string 1", "Description": "sample string 2", "RollsBodyID": 3 }, { "Code": "sample string 1", "Description": "sample string 2", "RollsBodyID": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfVehicleBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.kooijmans.nl/vehicledata"> <VehicleBody> <Code>sample string 1</Code> <Description>sample string 2</Description> <RollsBodyID>3</RollsBodyID> </VehicleBody> <VehicleBody> <Code>sample string 1</Code> <Description>sample string 2</Description> <RollsBodyID>3</RollsBodyID> </VehicleBody> </ArrayOfVehicleBody>