Mercedes.VehicleManagement.API

<back to all web services

UpdateVehicleV2Request

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v2/{VehicleType}/Vehicle/UpdateVehicleRefresh vehicle data for Nexus
"use strict";
export class Brand {
    /** @param {{id?:number,description?:string,displayName?:string,enabledNew?:boolean,enabledUsed?:boolean,bodyStyles?:BodyStyle[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    displayName;
    /** @type {boolean} */
    enabledNew;
    /** @type {boolean} */
    enabledUsed;
    /** @type {BodyStyle[]} */
    bodyStyles;
}
export class MappedFuelType {
    /** @param {{id?:number,description?:string,fuelTypes?:string,sortOrder?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    fuelTypes;
    /** @type {number} */
    sortOrder;
}
export class ProductRange {
    /** @param {{modelId?:number,model?:Model,fuelTypeId?:number,mapped_FuelType?:MappedFuelType,productRangeCode?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    modelId;
    /** @type {?Model} */
    model;
    /** @type {number} */
    fuelTypeId;
    /** @type {?MappedFuelType} */
    mapped_FuelType;
    /** @type {?number} */
    productRangeCode;
}
export class VehicleClass {
    /** @param {{id?:number,description?:string,priority?:number,vehicleClasses?:Model[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {number} */
    priority;
    /** @type {?Model[]} */
    vehicleClasses;
}
export class Model {
    /** @param {{id?:number,description?:string,displayName?:string,productRange?:string,bodyStyle_Id?:number,overrideBodyStyleId?:number,bodyStyle?:BodyStyle,productRanges?:ProductRange[],imageUrlNew?:string,imageUrlUsed?:string,specialistNew?:boolean,specialistUsed?:boolean,excludeFromFiltersNew?:boolean,excludeFromFiltersUsed?:boolean,priorityNew?:number,priorityUsed?:number,alternativeModelsNew?:string,alternativeModelsUsed?:string,vehicleClass_Id?:number,vehicleClass?:VehicleClass,oneWebModelUrlNew?:string,oneWebModelUrlUsed?:string,lastEdited?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    displayName;
    /** @type {?string} */
    productRange;
    /** @type {?number} */
    bodyStyle_Id;
    /** @type {?number} */
    overrideBodyStyleId;
    /** @type {?BodyStyle} */
    bodyStyle;
    /** @type {ProductRange[]} */
    productRanges;
    /** @type {?string} */
    imageUrlNew;
    /** @type {?string} */
    imageUrlUsed;
    /** @type {boolean} */
    specialistNew;
    /** @type {boolean} */
    specialistUsed;
    /** @type {boolean} */
    excludeFromFiltersNew;
    /** @type {boolean} */
    excludeFromFiltersUsed;
    /** @type {number} */
    priorityNew;
    /** @type {number} */
    priorityUsed;
    /** @type {?string} */
    alternativeModelsNew;
    /** @type {?string} */
    alternativeModelsUsed;
    /** @type {?number} */
    vehicleClass_Id;
    /** @type {?VehicleClass} */
    vehicleClass;
    /** @type {string} */
    oneWebModelUrlNew;
    /** @type {string} */
    oneWebModelUrlUsed;
    /** @type {?string} */
    lastEdited;
}
export class BodyStyle {
    /** @param {{id?:number,description?:string,styleCode?:string,styleCodeElectric?:string,styleCodeHybrid?:string,sortOrder?:number,brand?:Brand,brand_Id?:number,models?:Model[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    styleCode;
    /** @type {?string} */
    styleCodeElectric;
    /** @type {?string} */
    styleCodeHybrid;
    /** @type {number} */
    sortOrder;
    /** @type {?Brand} */
    brand;
    /** @type {?number} */
    brand_Id;
    /** @type {Model[]} */
    models;
}
export class Consumption {
    /** @param {{id?:number,lkm?:number,mpg?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {number} */
    lkm;
    /** @type {number} */
    mpg;
}
export class RetailerGroup {
    /** @param {{id?:number,retailerGroupId?:string,retailerGroupName?:string,creationDate?:string,creationSource?:string,maintenanceDate?:string,maintenanceSource?:string,priorityServiceNew?:number,priorityServiceUsed?:number,legacyId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    retailerGroupId;
    /** @type {?string} */
    retailerGroupName;
    /** @type {?string} */
    creationDate;
    /** @type {?string} */
    creationSource;
    /** @type {?string} */
    maintenanceDate;
    /** @type {?string} */
    maintenanceSource;
    /** @type {?number} */
    priorityServiceNew;
    /** @type {?number} */
    priorityServiceUsed;
    /** @type {?string} */
    legacyId;
}
export class MarketArea {
    /** @param {{id?:number,marketAreaId?:number,marketAreaName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {number} */
    marketAreaId;
    /** @type {string} */
    marketAreaName;
}
export class Port {
    /** @param {{id?:number,creation?:string,modified?:string,description?:string,latitude?:number,longitude?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    creation;
    /** @type {?string} */
    modified;
    /** @type {?string} */
    description;
    /** @type {number} */
    latitude;
    /** @type {number} */
    longitude;
}
export class RetailerAccount {
    /** @param {{id?:number,stpNumber?:string,retailer_Id?:number,retailer?:Dealer}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    stpNumber;
    /** @type {number} */
    retailer_Id;
    /** @type {Dealer} */
    retailer;
}
export class Region {
    /** @param {{id?:number,regionName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    regionName;
}
export class Dealer {
    /** @param {{id?:number,description?:string,rodCode?:string,gssnOutletId?:string,latitude?:number,longitude?:number,retailerGroupId?:string,street?:string,city?:string,district?:string,postcode?:string,phone?:string,fax?:string,email?:string,website?:string,isOnline?:boolean,isNewCarRetailer?:boolean,isUsedCarRetailer?:boolean,isCentralRetailer?:boolean,campaignExcluded?:boolean,creationDate?:string,creationSource?:string,maintenanceDate?:string,maintenanceSource?:string,chatEnabled?:boolean,tradeInEnabled?:boolean,retailerGroup?:RetailerGroup,retailerGroup_Id?:number,marketArea?:MarketArea,marketArea_Id?:number,displayPhoneNumberNew?:string,displayPhoneNumberUsed?:string,smart?:boolean,smartDescription?:string,smartWebsite?:string,smartEmail?:string,smartPhone?:string,additionalInformation?:string,legacyId?:string,agent?:boolean,port?:Port,port_Id?:number,retailerAccount?:RetailerAccount[],digitalLoungeParentGssnId?:string,sendLeadsToDigitalLoungeParent?:boolean,isExcludedFromImport?:boolean,region_Id?:number,region?:Region}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    rodCode;
    /** @type {?string} */
    gssnOutletId;
    /** @type {number} */
    latitude;
    /** @type {number} */
    longitude;
    /** @type {?string} */
    retailerGroupId;
    /** @type {?string} */
    street;
    /** @type {?string} */
    city;
    /** @type {?string} */
    district;
    /** @type {?string} */
    postcode;
    /** @type {?string} */
    phone;
    /** @type {?string} */
    fax;
    /** @type {?string} */
    email;
    /** @type {?string} */
    website;
    /** @type {boolean} */
    isOnline;
    /** @type {boolean} */
    isNewCarRetailer;
    /** @type {boolean} */
    isUsedCarRetailer;
    /** @type {boolean} */
    isCentralRetailer;
    /** @type {boolean} */
    campaignExcluded;
    /** @type {?string} */
    creationDate;
    /** @type {?string} */
    creationSource;
    /** @type {?string} */
    maintenanceDate;
    /** @type {?string} */
    maintenanceSource;
    /** @type {boolean} */
    chatEnabled;
    /** @type {boolean} */
    tradeInEnabled;
    /** @type {?RetailerGroup} */
    retailerGroup;
    /** @type {?number} */
    retailerGroup_Id;
    /** @type {?MarketArea} */
    marketArea;
    /** @type {?number} */
    marketArea_Id;
    /** @type {?string} */
    displayPhoneNumberNew;
    /** @type {?string} */
    displayPhoneNumberUsed;
    /** @type {boolean} */
    smart;
    /** @type {?string} */
    smartDescription;
    /** @type {?string} */
    smartWebsite;
    /** @type {?string} */
    smartEmail;
    /** @type {?string} */
    smartPhone;
    /** @type {?string} */
    additionalInformation;
    /** @type {?string} */
    legacyId;
    /** @type {boolean} */
    agent;
    /** @type {?Port} */
    port;
    /** @type {?number} */
    port_Id;
    /** @type {?RetailerAccount[]} */
    retailerAccount;
    /** @type {?string} */
    digitalLoungeParentGssnId;
    /** @type {?boolean} */
    sendLeadsToDigitalLoungeParent;
    /** @type {?boolean} */
    isExcludedFromImport;
    /** @type {?number} */
    region_Id;
    /** @type {?Region} */
    region;
}
export class Engine {
    /** @param {{id?:number,badge?:string,brand_Id?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    badge;
    /** @type {?number} */
    brand_Id;
}
export class MappedColourGroup {
    /** @param {{id?:number,description?:string,colours?:string,imageUrl?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    colours;
    /** @type {?string} */
    imageUrl;
}
export class MappedTransmissionGroup {
    /** @param {{id?:number,description?:string,alias?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    alias;
}
export class Upholstery {
    /** @param {{id?:number,price?:string,code?:string,type?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    price;
    /** @type {?string} */
    code;
    /** @type {?string} */
    type;
}
export class Line {
    /** @param {{id?:number,description?:string,alias?:string,overridesId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    description;
    /** @type {?string} */
    alias;
    /** @type {?string} */
    overridesId;
}
export class UsedCarImage {
    /** @param {{id?:number,creationDate?:string,creationSource?:string,maintenanceDate?:string,maintenanceSource?:string,vehicleId?:number,vehicle?:Vehicle,imageUrl?:string,primaryImage?:boolean,perspective?:string,index?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    creationDate;
    /** @type {?string} */
    creationSource;
    /** @type {?string} */
    maintenanceDate;
    /** @type {?string} */
    maintenanceSource;
    /** @type {number} */
    vehicleId;
    /** @type {?Vehicle} */
    vehicle;
    /** @type {?string} */
    imageUrl;
    /** @type {boolean} */
    primaryImage;
    /** @type {?string} */
    perspective;
    /** @type {number} */
    index;
}
export class Packages {
    /** @param {{id?:number,description?:string,alias?:string,overridesId?:string,packageDataOverridesId?:string,vehiclePackages?:VehiclePackage[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    description;
    /** @type {?string} */
    alias;
    /** @type {?string} */
    overridesId;
    /** @type {?string} */
    packageDataOverridesId;
    /** @type {?VehiclePackage[]} */
    vehiclePackages;
}
export class VehiclePackage {
    /** @param {{vehicleId?:number,packageId?:number,vehicle?:Vehicle,package?:Packages}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    vehicleId;
    /** @type {number} */
    packageId;
    /** @type {Vehicle} */
    vehicle;
    /** @type {Packages} */
    package;
}
export class VehicleSecured {
    /** @param {{id?:number,reason?:string,created?:string,userId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    reason;
    /** @type {string} */
    created;
    /** @type {string} */
    userId;
}
export class VehicleImage {
    /** @param {{id?:number,commissionNumber?:string,cachedImageUrl?:string,imageDescriptor?:string,createdDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    commissionNumber;
    /** @type {string} */
    cachedImageUrl;
    /** @type {string} */
    imageDescriptor;
    /** @type {string} */
    createdDate;
}
export class VehicleSecuredAudit {
    /** @param {{id?:number,userId?:string,mbukSecured?:boolean,vin?:string,vehicleType?:string,reason?:string,created?:string,vehicle?:Vehicle,commissionNumber?:string,isBulkUpdate?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    userId;
    /** @type {boolean} */
    mbukSecured;
    /** @type {?string} */
    vin;
    /** @type {string} */
    vehicleType;
    /** @type {string} */
    reason;
    /** @type {string} */
    created;
    /** @type {?Vehicle} */
    vehicle;
    /** @type {?string} */
    commissionNumber;
    /** @type {boolean} */
    isBulkUpdate;
}
export class Vehicle {
    /** @param {{id?:number,vin?:string,commissionNumber?:string,isAllWheel?:boolean,isAMG?:boolean,isAvailableOnline?:boolean,isSellable?:boolean,isDisplayStock?:boolean,creationDate?:string,maintenanceDate?:string,horsePower?:number,deliveryCharge?:number,deliveryChargeNet?:number,deliveryChargeVAT?:number,firstRegFee?:number,otr?:number,p11D?:number,otR_Value?:number,actualPrice?:number,totalOfferValue?:number,campaignOfferContribution?:number,retailerOfferContribution?:number,campaignGovernmentGrantOfferContribution?:number,offerExpiryDate?:string,hasNonMonetaryOffers?:boolean,plates?:number,platesNet?:number,platesVAT?:number,fuelCharge?:number,fuelChargeNet?:number,fuelChargeVAT?:number,powerKW?:number,retailPrice_ExVAT?:number,retailPrice_IncVAT?:number,veD_Year1?:number,veD_Year2?:number,cc?:number,cyclinders?:number,baumuster?:string,marketingCode?:string,chassisNumber?:string,colourDescription?:string,colourCode?:string,emissionCombined?:string,emissionDirective?:string,normalisedEmissionDirective?:string,emissionExtraUrban?:string,emissionUrban?:string,energyEfficiencyClass?:string,wltpEmissionCombined?:string,imageUrl?:string,line?:string,modelYear?:string,modelYearCode?:string,halfModelYearCode?:string,nst?:string,numberOfDoors?:string,numberOfGears?:string,numberOfSeats?:string,rvOptions?:string,salesDescription?:string,salesDescriptionShort?:string,upholsteryCode?:string,upholsteryDescription?:string,transmissionDescription?:string,vehicleCategory?:string,vehicleClass?:string,vehicleType?:string,vid?:string,latestModel?:boolean,portArrivalDate?:string,productionDate?:string,confirmedProductionDate?:string,tradeInDate?:string,electricConsumption?:number,electricRange?:number,locationTypeName?:string,cesarIdShipToParty?:string,vehicleUsageCode?:string,account?:string,isSpecialistCar?:boolean,bootCapacity?:number,driveConcept?:string,driveType?:string,combustionPowerHp?:number,electricPowerKw?:number,electricPowerHp?:number,combinedPowerKw?:number,combinedPowerHP?:number,mbukReserve?:string,bm7NST?:string,gbDestDate?:string,fin?:string,bodyStyle?:BodyStyle,bodyStyle_Id?:number,brand?:Brand,brandId?:number,consumptionCombined?:Consumption,consumptionExtraUrban?:Consumption,consumptionUrban?:Consumption,wltpFuelConsumptionExtraHigh?:Consumption,wltpFuelConsumptionHigh?:Consumption,wltpFuelConsumptionMedium?:Consumption,wltpFuelConsumptionLow?:Consumption,wltpFuelConsumptionCombined?:Consumption,dealer?:Dealer,dealer_Id?:number,displayRetailer?:Dealer,displayRetailer_Id?:number,engine?:Engine,mapped_ColourGroup?:MappedColourGroup,mapped_ColourGroup_Id?:number,mapped_FuelType?:MappedFuelType,mapped_FuelType_Id?:number,mapped_TransmissionGroup?:MappedTransmissionGroup,model_Id?:number,model?:Model,upholstery?:Upholstery,upholstery_Id?:number,mapped_Line?:Line,mapped_Line_Id?:number,mileage?:number,condition?:string,source?:string,registrationDate?:string,registrationNumber?:string,topSpeed?:number,acceleration?:number,torque?:number,usedCarImages?:UsedCarImage[],taxAmount?:number,vatQualifying?:number,promoCode?:string,campaignPromoOfferContribution?:number,reserved?:boolean,emission?:number,underOffer?:boolean,allocatedToBackOrder?:boolean,paintSwatchUrl?:string,upholsterySwatchUrl?:string,packages?:VehiclePackage[],secured?:VehicleSecured,cachedImage?:VehicleImage,hasMildHybridEquipmentCode?:boolean,eligibleForIntegratedServiceCare?:boolean,vehicleSecuredAudit?:VehicleSecuredAudit[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {?string} */
    vin;
    /** @type {?string} */
    commissionNumber;
    /** @type {boolean} */
    isAllWheel;
    /** @type {boolean} */
    isAMG;
    /** @type {boolean} */
    isAvailableOnline;
    /** @type {boolean} */
    isSellable;
    /** @type {boolean} */
    isDisplayStock;
    /** @type {string} */
    creationDate;
    /** @type {?string} */
    maintenanceDate;
    /** @type {number} */
    horsePower;
    /** @type {number} */
    deliveryCharge;
    /** @type {?number} */
    deliveryChargeNet;
    /** @type {?number} */
    deliveryChargeVAT;
    /** @type {number} */
    firstRegFee;
    /** @type {number} */
    otr;
    /** @type {number} */
    p11D;
    /** @type {number} */
    otR_Value;
    /** @type {?number} */
    actualPrice;
    /** @type {?number} */
    totalOfferValue;
    /** @type {?number} */
    campaignOfferContribution;
    /** @type {?number} */
    retailerOfferContribution;
    /** @type {?number} */
    campaignGovernmentGrantOfferContribution;
    /** @type {?string} */
    offerExpiryDate;
    /** @type {boolean} */
    hasNonMonetaryOffers;
    /** @type {number} */
    plates;
    /** @type {?number} */
    platesNet;
    /** @type {?number} */
    platesVAT;
    /** @type {number} */
    fuelCharge;
    /** @type {?number} */
    fuelChargeNet;
    /** @type {?number} */
    fuelChargeVAT;
    /** @type {number} */
    powerKW;
    /** @type {number} */
    retailPrice_ExVAT;
    /** @type {number} */
    retailPrice_IncVAT;
    /** @type {number} */
    veD_Year1;
    /** @type {number} */
    veD_Year2;
    /** @type {number} */
    cc;
    /** @type {number} */
    cyclinders;
    /** @type {?string} */
    baumuster;
    /** @type {?string} */
    marketingCode;
    /** @type {?string} */
    chassisNumber;
    /** @type {?string} */
    colourDescription;
    /** @type {?string} */
    colourCode;
    /** @type {?string} */
    emissionCombined;
    /** @type {?string} */
    emissionDirective;
    /** @type {?string} */
    normalisedEmissionDirective;
    /** @type {?string} */
    emissionExtraUrban;
    /** @type {?string} */
    emissionUrban;
    /** @type {?string} */
    energyEfficiencyClass;
    /** @type {?string} */
    wltpEmissionCombined;
    /** @type {?string} */
    imageUrl;
    /** @type {?string} */
    line;
    /** @type {?string} */
    modelYear;
    /** @type {?string} */
    modelYearCode;
    /** @type {?string} */
    halfModelYearCode;
    /** @type {?string} */
    nst;
    /** @type {?string} */
    numberOfDoors;
    /** @type {?string} */
    numberOfGears;
    /** @type {?string} */
    numberOfSeats;
    /** @type {?string} */
    rvOptions;
    /** @type {?string} */
    salesDescription;
    /** @type {?string} */
    salesDescriptionShort;
    /** @type {?string} */
    upholsteryCode;
    /** @type {?string} */
    upholsteryDescription;
    /** @type {?string} */
    transmissionDescription;
    /** @type {?string} */
    vehicleCategory;
    /** @type {?string} */
    vehicleClass;
    /** @type {?string} */
    vehicleType;
    /** @type {?string} */
    vid;
    /** @type {boolean} */
    latestModel;
    /** @type {?string} */
    portArrivalDate;
    /** @type {?string} */
    productionDate;
    /** @type {?string} */
    confirmedProductionDate;
    /** @type {?string} */
    tradeInDate;
    /** @type {?number} */
    electricConsumption;
    /** @type {?number} */
    electricRange;
    /** @type {?string} */
    locationTypeName;
    /** @type {?string} */
    cesarIdShipToParty;
    /** @type {?string} */
    vehicleUsageCode;
    /** @type {?string} */
    account;
    /** @type {boolean} */
    isSpecialistCar;
    /** @type {?number} */
    bootCapacity;
    /** @type {?string} */
    driveConcept;
    /** @type {?string} */
    driveType;
    /** @type {?number} */
    combustionPowerHp;
    /** @type {?number} */
    electricPowerKw;
    /** @type {?number} */
    electricPowerHp;
    /** @type {?number} */
    combinedPowerKw;
    /** @type {?number} */
    combinedPowerHP;
    /** @type {?string} */
    mbukReserve;
    /** @type {?string} */
    bm7NST;
    /** @type {?string} */
    gbDestDate;
    /** @type {?string} */
    fin;
    /** @type {?BodyStyle} */
    bodyStyle;
    /** @type {?number} */
    bodyStyle_Id;
    /** @type {?Brand} */
    brand;
    /** @type {?number} */
    brandId;
    /** @type {?Consumption} */
    consumptionCombined;
    /** @type {?Consumption} */
    consumptionExtraUrban;
    /** @type {?Consumption} */
    consumptionUrban;
    /** @type {?Consumption} */
    wltpFuelConsumptionExtraHigh;
    /** @type {?Consumption} */
    wltpFuelConsumptionHigh;
    /** @type {?Consumption} */
    wltpFuelConsumptionMedium;
    /** @type {?Consumption} */
    wltpFuelConsumptionLow;
    /** @type {?Consumption} */
    wltpFuelConsumptionCombined;
    /** @type {?Dealer} */
    dealer;
    /** @type {?number} */
    dealer_Id;
    /** @type {?Dealer} */
    displayRetailer;
    /** @type {?number} */
    displayRetailer_Id;
    /** @type {?Engine} */
    engine;
    /** @type {?MappedColourGroup} */
    mapped_ColourGroup;
    /** @type {?number} */
    mapped_ColourGroup_Id;
    /** @type {?MappedFuelType} */
    mapped_FuelType;
    /** @type {?number} */
    mapped_FuelType_Id;
    /** @type {?MappedTransmissionGroup} */
    mapped_TransmissionGroup;
    /** @type {?number} */
    model_Id;
    /** @type {?Model} */
    model;
    /** @type {?Upholstery} */
    upholstery;
    /** @type {?number} */
    upholstery_Id;
    /** @type {?Line} */
    mapped_Line;
    /** @type {?number} */
    mapped_Line_Id;
    /** @type {?number} */
    mileage;
    /** @type {?string} */
    condition;
    /** @type {?string} */
    source;
    /** @type {?string} */
    registrationDate;
    /** @type {?string} */
    registrationNumber;
    /** @type {?number} */
    topSpeed;
    /** @type {?number} */
    acceleration;
    /** @type {?number} */
    torque;
    /** @type {?UsedCarImage[]} */
    usedCarImages;
    /** @type {?number} */
    taxAmount;
    /** @type {?number} */
    vatQualifying;
    /** @type {?string} */
    promoCode;
    /** @type {?number} */
    campaignPromoOfferContribution;
    /** @type {boolean} */
    reserved;
    /** @type {?number} */
    emission;
    /** @type {boolean} */
    underOffer;
    /** @type {boolean} */
    allocatedToBackOrder;
    /** @type {?string} */
    paintSwatchUrl;
    /** @type {?string} */
    upholsterySwatchUrl;
    /** @type {VehiclePackage[]} */
    packages;
    /** @type {?VehicleSecured} */
    secured;
    /** @type {?VehicleImage} */
    cachedImage;
    /** @type {boolean} */
    hasMildHybridEquipmentCode;
    /** @type {boolean} */
    eligibleForIntegratedServiceCare;
    /** @type {?VehicleSecuredAudit[]} */
    vehicleSecuredAudit;
}
export class EquipmentCache {
    /** @param {{code?:string,description?:string,standardFlag?:string,price?:number,category?:string,importance?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    code;
    /** @type {string} */
    description;
    /** @type {string} */
    standardFlag;
    /** @type {number} */
    price;
    /** @type {string} */
    category;
    /** @type {string} */
    importance;
}
export class OpenSearchVehicle extends Vehicle {
    /** @param {{vehicleIdentifier?:string,lastUpdated?:string,equipmentCacheList?:EquipmentCache[],key?:string,id?:number,vin?:string,commissionNumber?:string,isAllWheel?:boolean,isAMG?:boolean,isAvailableOnline?:boolean,isSellable?:boolean,isDisplayStock?:boolean,creationDate?:string,maintenanceDate?:string,horsePower?:number,deliveryCharge?:number,deliveryChargeNet?:number,deliveryChargeVAT?:number,firstRegFee?:number,otr?:number,p11D?:number,otR_Value?:number,actualPrice?:number,totalOfferValue?:number,campaignOfferContribution?:number,retailerOfferContribution?:number,campaignGovernmentGrantOfferContribution?:number,offerExpiryDate?:string,hasNonMonetaryOffers?:boolean,plates?:number,platesNet?:number,platesVAT?:number,fuelCharge?:number,fuelChargeNet?:number,fuelChargeVAT?:number,powerKW?:number,retailPrice_ExVAT?:number,retailPrice_IncVAT?:number,veD_Year1?:number,veD_Year2?:number,cc?:number,cyclinders?:number,baumuster?:string,marketingCode?:string,chassisNumber?:string,colourDescription?:string,colourCode?:string,emissionCombined?:string,emissionDirective?:string,normalisedEmissionDirective?:string,emissionExtraUrban?:string,emissionUrban?:string,energyEfficiencyClass?:string,wltpEmissionCombined?:string,imageUrl?:string,line?:string,modelYear?:string,modelYearCode?:string,halfModelYearCode?:string,nst?:string,numberOfDoors?:string,numberOfGears?:string,numberOfSeats?:string,rvOptions?:string,salesDescription?:string,salesDescriptionShort?:string,upholsteryCode?:string,upholsteryDescription?:string,transmissionDescription?:string,vehicleCategory?:string,vehicleClass?:string,vehicleType?:string,vid?:string,latestModel?:boolean,portArrivalDate?:string,productionDate?:string,confirmedProductionDate?:string,tradeInDate?:string,electricConsumption?:number,electricRange?:number,locationTypeName?:string,cesarIdShipToParty?:string,vehicleUsageCode?:string,account?:string,isSpecialistCar?:boolean,bootCapacity?:number,driveConcept?:string,driveType?:string,combustionPowerHp?:number,electricPowerKw?:number,electricPowerHp?:number,combinedPowerKw?:number,combinedPowerHP?:number,mbukReserve?:string,bm7NST?:string,gbDestDate?:string,fin?:string,bodyStyle?:BodyStyle,bodyStyle_Id?:number,brand?:Brand,brandId?:number,consumptionCombined?:Consumption,consumptionExtraUrban?:Consumption,consumptionUrban?:Consumption,wltpFuelConsumptionExtraHigh?:Consumption,wltpFuelConsumptionHigh?:Consumption,wltpFuelConsumptionMedium?:Consumption,wltpFuelConsumptionLow?:Consumption,wltpFuelConsumptionCombined?:Consumption,dealer?:Dealer,dealer_Id?:number,displayRetailer?:Dealer,displayRetailer_Id?:number,engine?:Engine,mapped_ColourGroup?:MappedColourGroup,mapped_ColourGroup_Id?:number,mapped_FuelType?:MappedFuelType,mapped_FuelType_Id?:number,mapped_TransmissionGroup?:MappedTransmissionGroup,model_Id?:number,model?:Model,upholstery?:Upholstery,upholstery_Id?:number,mapped_Line?:Line,mapped_Line_Id?:number,mileage?:number,condition?:string,source?:string,registrationDate?:string,registrationNumber?:string,topSpeed?:number,acceleration?:number,torque?:number,usedCarImages?:UsedCarImage[],taxAmount?:number,vatQualifying?:number,promoCode?:string,campaignPromoOfferContribution?:number,reserved?:boolean,emission?:number,underOffer?:boolean,allocatedToBackOrder?:boolean,paintSwatchUrl?:string,upholsterySwatchUrl?:string,packages?:VehiclePackage[],secured?:VehicleSecured,cachedImage?:VehicleImage,hasMildHybridEquipmentCode?:boolean,eligibleForIntegratedServiceCare?:boolean,vehicleSecuredAudit?:VehicleSecuredAudit[]}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {string} */
    vehicleIdentifier;
    /** @type {string} */
    lastUpdated;
    /** @type {EquipmentCache[]} */
    equipmentCacheList = [];
    /** @type {string} */
    key;
}
export class UpdateVehicleV2Request {
    /** @param {{vehicleIdentifier?:string,vin?:string,vehicleType?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    vehicleIdentifier;
    /** @type {string} */
    vin;
    /** @type {string} */
    vehicleType;
}
/** @typedef {'Insert'|'Update'|'Offline'|'NoAction'|'Error'} */
export var ActionType;
(function (ActionType) {
    ActionType["Insert"] = "Insert"
    ActionType["Update"] = "Update"
    ActionType["Offline"] = "Offline"
    ActionType["NoAction"] = "NoAction"
    ActionType["Error"] = "Error"
})(ActionType || (ActionType = {}));
/** @typedef TVehicle {any} */
export class ProcessResult {
    /** @param {{success?:boolean,rejected?:boolean,mappedVehicle?:OpenSearchVehicle,action?:ActionType}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    success;
    /** @type {boolean} */
    rejected;
    /** @type {?OpenSearchVehicle} */
    mappedVehicle;
    /** @type {ActionType} */
    action;
}

JavaScript UpdateVehicleV2Request DTOs

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

HTTP + JSV

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

POST /v2/{VehicleType}/Vehicle/UpdateVehicle HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	vehicleIdentifier: String,
	vin: String,
	vehicleType: String
}