Mercedes.VehicleManagement.API

<back to all web services

GetCentralVehicleFiltersRequest

Filter
Requires Authentication
The following routes are available for this service:
GET/v1/Vehicle/Filters/CentralGet Central Stock Vehicle Filters
"use strict";
export class AgeFilter {
    /** @param {{ageLowerBound?:number,ageUpperBound?:number,label?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    ageLowerBound;
    /** @type {number} */
    ageUpperBound;
    /** @type {string} */
    label;
}
export class VehicleFilters {
    /** @param {{ageFilters?:AgeFilter[],ageRange?:AgeFilter}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {AgeFilter[]} */
    ageFilters;
    /** @type {AgeFilter} */
    ageRange;
}
export class VehicleFiltersResponse {
    /** @param {{vehicleFilters?:VehicleFilters}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {VehicleFilters} */
    vehicleFilters;
}
export class GetCentralVehicleFiltersRequest {
    constructor(init) { Object.assign(this, init) }
}

JavaScript GetCentralVehicleFiltersRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/Vehicle/Filters/Central HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"vehicleFilters":{"ageRange":{"ageLowerBound":0,"ageUpperBound":0,"label":"String"}}}