Mercedes.Agency.Orchestration.API

<back to all web services

GetMotabilityVehiclesRequest

Vehicle
Requires Authentication
The following routes are available for this service:
GET/v1/vehicle/MotabilityVehiclesGet motability eligible vehicles
MotabilityStockResponse<T> Parameters:
NameParameterData TypeRequiredDescription
TotalVehiclesformintNo
VehiclesformList<MotabilityVehicle>Yes
MotabilityVehicle Parameters:
NameParameterData TypeRequiredDescription
CommissionNumberformstringYes
VinformstringYes
VtnformstringNo
DescriptionformstringYes
ModelformstringYes
BM7NSTformstringYes
ModelYearCodeformstringYes
HalfModelYearCodeformstringYes
FullModelYearCodeformstringYes
FuelformstringYes
PrimaryPaintColourCodeformstringYes
ColourformstringYes
PrimaryUpholsteryCodeformstringYes
UpholsteryformstringYes
PackagesformICollection<Package>Yes
AccountformstringYes
LocationformstringYes
IsDisplayStockformboolNo
DisplayStockAgentformstringYes
IsSellableformboolNo
Package Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DescriptionformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}]}