GET | /v1/vehicle/MotabilityVehicles | Get motability eligible vehicles |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalVehicles | form | int | No | |
Vehicles | form | List<MotabilityVehicle> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CommissionNumber | form | string | Yes | |
Vin | form | string | Yes | |
Vtn | form | string | No | |
Description | form | string | Yes | |
Model | form | string | Yes | |
BM7NST | form | string | Yes | |
ModelYearCode | form | string | Yes | |
HalfModelYearCode | form | string | Yes | |
FullModelYearCode | form | string | Yes | |
Fuel | form | string | Yes | |
PrimaryPaintColourCode | form | string | Yes | |
Colour | form | string | Yes | |
PrimaryUpholsteryCode | form | string | Yes | |
Upholstery | form | string | Yes | |
Packages | form | ICollection<Package> | Yes | |
Account | form | string | Yes | |
Location | form | string | Yes | |
IsDisplayStock | form | bool | No | |
DisplayStockAgent | form | string | Yes | |
IsSellable | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Description | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/vehicle/MotabilityVehicles HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { TotalVehicles: 0, Vehicles: [ { CommissionNumber: String, Vin: String, Vtn: String, Description: String, Model: String, BM7NST: String, ModelYearCode: String, HalfModelYearCode: String, FullModelYearCode: String.String, Fuel: String, PrimaryPaintColourCode: String, Colour: String, PrimaryUpholsteryCode: String, Upholstery: String, Account: String, Location: String, IsDisplayStock: False, DisplayStockAgent: String, IsSellable: False } ] }