GET api/passengercar/bodytypes
All passengercar bodytypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Kooijmans.Vehicle.VehicleBody| Name | 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>