GET api/VehicleManufacturers?vehicletype={vehicletype}

Gets a list of active vehiclemanufacturers

Requires Authorization

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vehicletype

Optional parameter. If specified returns all manufacturer that is linked to submitted vehicletype otherwise it returns all manufacturers.

string

Default value is an empty string

Body Parameters

None.

Response Information

Resource Description

A IHttpActionResult with vehiclemanufacturers

Response codes


200 Ok
401 Unauthorized
404 Not Found
500 Internal Server Error
503 Service Unavailable

VehicleManufacturer
NameDescriptionTypeAdditional information
Code

Code of the vehicle manufacturer Example: LA

string

None.

Name

Name of the vehicle manufacturer Example: Lancia

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 4",
  "Name": "sample string 5"
}

application/xml, text/xml

Sample:
<VehicleManufacturer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkingDataService.Common.DTO">
  <Code>sample string 4</Code>
  <Name>sample string 5</Name>
</VehicleManufacturer>