| GET | /v1/vehicleswap/{VehicleSwapGuid} | Returns current vehicle for vehicle swap Guid and replacement vehicle | Returns the current vehicle for vehicle swap Guid. If the commission number is presentthen the replacement vehicle + offers + optimal vehicle (if there is one) on an existing order with an equivalent vehicle sent in the request or selected in OneAdmin |
|---|---|---|---|
| GET | /v1/vehicleswap/detail/{VehicleSwapGuid} | Returns current vehicle for vehicle swap Guid and replacement vehicle | Returns the current vehicle for vehicle swap Guid. If the commission number is presentthen the replacement vehicle + offers + optimal vehicle (if there is one) on an existing order with an equivalent vehicle sent in the request or selected in OneAdmin |
"use strict";
export class SwapRequestDetails {
/** @param {{GssnId?:string,VehicleSwapGuid?:string,OrderGuid?:string,BackOrderGuid?:string,OrderReference?:string,OrderType?:string,Showroom?:string,SentToCesar?:string,RequestReason?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
GssnId;
/** @type {string} */
VehicleSwapGuid;
/** @type {string} */
OrderGuid;
/** @type {?string} */
BackOrderGuid;
/** @type {string} */
OrderReference;
/** @type {string} */
OrderType;
/** @type {?string} */
Showroom;
/** @type {string} */
SentToCesar;
/** @type {?string} */
RequestReason;
}
export class Model {
/** @param {{Id?:number,Description?:string,DisplayName?:string,ImageUrlSmall?:string,ImageUrlMedium?:string,ImageUrlLarge?:string,Specialist?:boolean,Priority?:number,ExcludeFromOnlineShowroomFilters?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {?string} */
Description;
/** @type {?string} */
DisplayName;
/** @type {?string} */
ImageUrlSmall;
/** @type {?string} */
ImageUrlMedium;
/** @type {?string} */
ImageUrlLarge;
/** @type {boolean} */
Specialist;
/** @type {?number} */
Priority;
/** @type {?boolean} */
ExcludeFromOnlineShowroomFilters;
}
export class BodyStyle {
/** @param {{Id?:number,Description?:string,Models?:Model[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {?string} */
Description;
/** @type {?Model[]} */
Models;
}
export class Brand {
/** @param {{Id?:number,Description?:string,DisplayName?:string,BodyStyles?:BodyStyle[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {?string} */
Description;
/** @type {?string} */
DisplayName;
/** @type {?BodyStyle[]} */
BodyStyles;
}
export class Engine {
/** @param {{Id?:number,Badge?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
Id;
/** @type {string} */
Badge;
}
export class Media {
/** @param {{NoImage?:boolean,MainImageUrl?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
NoImage;
/** @type {string} */
MainImageUrl;
}
/** @typedef {'LIST_PRICE'|'NUMBER_PLATE_FEE'|'DELIVERY_CHARGE'|'FUEL_CHARGE'|'MANUFACTURER_OFFER'|'PERSONALISED_MONEYOFFER'|'PERSONALISED_NONMONEYOFFER'|'PERSONALISED_NONMONEYOFFER_NEG'|'SERVICE'|'SERVICE_NEG'|'GOVERNMENT_GRANT'|'OUTRIGHT_PURCHASE_DISCOUNT'|'VIP_OFFER'|'WALLBOX_OFFER'|'WALLBOX_OFFER_NEG'|'ROAD_FUND_LICENCE'|'FIRST_REGISTRATION_FEE'|'NOT_FOUND'|'ACCESSORY_OFFER'|'ACCESSORY_OFFER_NEG'|'MOTABILITY_DISCOUNT'} */
export var OfferPriceProductType;
(function (OfferPriceProductType) {
OfferPriceProductType["LIST_PRICE"] = "LIST_PRICE"
OfferPriceProductType["NUMBER_PLATE_FEE"] = "NUMBER_PLATE_FEE"
OfferPriceProductType["DELIVERY_CHARGE"] = "DELIVERY_CHARGE"
OfferPriceProductType["FUEL_CHARGE"] = "FUEL_CHARGE"
OfferPriceProductType["MANUFACTURER_OFFER"] = "MANUFACTURER_OFFER"
OfferPriceProductType["PERSONALISED_MONEYOFFER"] = "PERSONALISED_MONEYOFFER"
OfferPriceProductType["PERSONALISED_NONMONEYOFFER"] = "PERSONALISED_NONMONEYOFFER"
OfferPriceProductType["PERSONALISED_NONMONEYOFFER_NEG"] = "PERSONALISED_NONMONEYOFFER_NEG"
OfferPriceProductType["SERVICE"] = "SERVICE"
OfferPriceProductType["SERVICE_NEG"] = "SERVICE_NEG"
OfferPriceProductType["GOVERNMENT_GRANT"] = "GOVERNMENT_GRANT"
OfferPriceProductType["OUTRIGHT_PURCHASE_DISCOUNT"] = "OUTRIGHT_PURCHASE_DISCOUNT"
OfferPriceProductType["VIP_OFFER"] = "VIP_OFFER"
OfferPriceProductType["WALLBOX_OFFER"] = "WALLBOX_OFFER"
OfferPriceProductType["WALLBOX_OFFER_NEG"] = "WALLBOX_OFFER_NEG"
OfferPriceProductType["ROAD_FUND_LICENCE"] = "ROAD_FUND_LICENCE"
OfferPriceProductType["FIRST_REGISTRATION_FEE"] = "FIRST_REGISTRATION_FEE"
OfferPriceProductType["NOT_FOUND"] = "NOT_FOUND"
OfferPriceProductType["ACCESSORY_OFFER"] = "ACCESSORY_OFFER"
OfferPriceProductType["ACCESSORY_OFFER_NEG"] = "ACCESSORY_OFFER_NEG"
OfferPriceProductType["MOTABILITY_DISCOUNT"] = "MOTABILITY_DISCOUNT"
})(OfferPriceProductType || (OfferPriceProductType = {}));
export class Price {
/** @param {{Id?:string,Description?:string,Net?:number,VAT?:number,Gross?:number,Product?:OfferPriceProductType}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Id;
/** @type {string} */
Description;
/** @type {number} */
Net;
/** @type {number} */
VAT;
/** @type {number} */
Gross;
/** @type {OfferPriceProductType} */
Product;
}
export class RetailerOpeningTime {
/** @param {{Day?:string,OpenFrom?:string,OpenTo?:string,Special?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Day;
/** @type {string} */
OpenFrom;
/** @type {string} */
OpenTo;
/** @type {string} */
Special;
}
export class RetailerOpeningTimes {
/** @param {{New?:RetailerOpeningTime[],Used?:RetailerOpeningTime[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {RetailerOpeningTime[]} */
New = [];
/** @type {RetailerOpeningTime[]} */
Used = [];
}
export class Retailer {
/** @param {{Id?:number,GssnId?:string,Description?:string,Street?:string,City?:string,Postcode?:string,GoogleMapPostcode?:string,Phone?:string,Fax?:string,Email?:string,Website?:string,RetailerGroupId?:string,RetailerGroupName?:string,IsOnline?:boolean,IsNewCarRetailer?:boolean,IsUsedCarRetailer?:boolean,IsCentralRetailer?:boolean,ChatEnabled?:boolean,TradeInEnabled?:boolean,smart?:boolean,DisplayPhoneNumberNew?:string,DisplayPhoneNumberUsed?:string,Latitude?:number,Longitude?:number,smartDescription?:string,smartWebsite?:string,smartPhone?:string,LegacyId?:string,Agent?:boolean,MarketAreaId?:number,DigitalLoungeParentGssnId?:string,SendLeadsToDigitalLoungeParent?:boolean,OpeningTimes?:RetailerOpeningTimes}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
GssnId;
/** @type {string} */
Description;
/** @type {string} */
Street;
/** @type {string} */
City;
/** @type {string} */
Postcode;
/** @type {string} */
GoogleMapPostcode;
/** @type {string} */
Phone;
/** @type {string} */
Fax;
/** @type {string} */
Email;
/** @type {string} */
Website;
/** @type {string} */
RetailerGroupId;
/** @type {string} */
RetailerGroupName;
/** @type {boolean} */
IsOnline;
/** @type {boolean} */
IsNewCarRetailer;
/** @type {boolean} */
IsUsedCarRetailer;
/** @type {boolean} */
IsCentralRetailer;
/** @type {boolean} */
ChatEnabled;
/** @type {boolean} */
TradeInEnabled;
/** @type {boolean} */
smart;
/** @type {string} */
DisplayPhoneNumberNew;
/** @type {string} */
DisplayPhoneNumberUsed;
/** @type {number} */
Latitude;
/** @type {number} */
Longitude;
/** @type {string} */
smartDescription;
/** @type {string} */
smartWebsite;
/** @type {string} */
smartPhone;
/** @type {string} */
LegacyId;
/** @type {boolean} */
Agent;
/** @type {number} */
MarketAreaId;
/** @type {?string} */
DigitalLoungeParentGssnId;
/** @type {boolean} */
SendLeadsToDigitalLoungeParent;
/** @type {?RetailerOpeningTimes} */
OpeningTimes;
}
export class VehicleConsumption {
/** @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 Equipment {
/** @param {{Id?:number,Code?:string,Description?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
Id;
/** @type {?string} */
Code;
/** @type {?string} */
Description;
}
export class Equipmentv2 extends Equipment {
/** @param {{Importance?:number,IsAdditional?:boolean,Id?:number,Code?:string,Description?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {number} */
Importance;
/** @type {boolean} */
IsAdditional;
}
export class VehicleEquipmentCategory {
/** @param {{Order?:number,Code?:string,Description?:string,Equipment?:Equipmentv2[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Order;
/** @type {?string} */
Code;
/** @type {?string} */
Description;
/** @type {?Equipmentv2[]} */
Equipment;
}
export class VehicleEmissionClass {
/** @param {{Colour?:string,Rating?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
Colour;
/** @type {?string} */
Rating;
}
export class VehicleAttribute {
/** @param {{Description?:string,Value?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
Description;
/** @type {?string} */
Value;
}
export class VehicleIntegratedServiceCareOption {
/** @param {{OptionCode?:string,BM7NST?:string,FullModelYear?:string,IntegratedProductType?:string,CustomerDescription?:string,OneAgentProductType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
OptionCode;
/** @type {?string} */
BM7NST;
/** @type {?string} */
FullModelYear;
/** @type {?string} */
IntegratedProductType;
/** @type {?string} */
CustomerDescription;
/** @type {?string} */
OneAgentProductType;
}
export class VehicleDetailDto {
/** @param {{BodyStyle?:string,Vin?:string,Description?:string,Colour?:string,ColourCode?:string,ColourDescription?:string,ColourGroup?:string,Model?:string,CommissionNumber?:string,BrandId?:number,Brand?:Brand,Engine?:Engine,EngineBadge?:string,Media?:Media,Line?:string,UpholsteryCode?:string,UpholsteryType?:string,Upholstery?:string,UpholsteryDescription?:string,AvailablePackages?:string[],Packages?:string[],P11D?:number,PortArrivalDate?:string,Prices?:Price[],TransmissionType?:string,FuelType?:string,VehicleClass?:string,ProductRange?:string,VehicleType?:string,Emission?:number,IsAvailableOnline?:boolean,UnderOffer?:boolean,IsExcluded?:boolean,IsSellable?:boolean,OnHold?:boolean,ElectricConsumption?:number,ElectricRange?:number,ImageUrl?:string,Baumuster?:string,Retailer?:Retailer,Bm7NST?:string,OTR?:number,ActualPrice?:number,IsDisplayStock?:boolean,DisplayRetailerId?:number,DisplayRetailer?:string,DisplayRetailerGssnId?:string,DisplayRetailerMarketAreaId?:string,IsSmartDisplayRetailer?:boolean,IsSpecialistCar?:boolean,Age?:number,Secured?:boolean,IsHOBackOrderAccountVehicle?:boolean,IsAllocatedToBackOrder?:boolean,UsageCode?:string,EmissionCombined?:number,NormalisedEmissionDirective?:string,HasMildHybridEquipmentCode?:boolean,RetailPriceExVat?:number,RetailPrice_IncVAT?:number,RetailPrice_ExVAT?:number,ModelId?:number,VID?:string,ProductionDate?:string,FullModelYearCode?:string,ChassisNumber?:string,EligibleForIntegratedServiceCare?:boolean,AccountType?:string,ConsumptionCombined?:VehicleConsumption,ConsumptionExtraUrban?:VehicleConsumption,ConsumptionUrban?:VehicleConsumption,WltpFuelConsumptionCombined?:VehicleConsumption,WltpFuelConsumptionExtraHigh?:VehicleConsumption,WltpFuelConsumptionHigh?:VehicleConsumption,WltpFuelConsumptionLow?:VehicleConsumption,WltpFuelConsumptionMedium?:VehicleConsumption,Equipment?:Equipmentv2[],EquipmentCategories?:VehicleEquipmentCategory[],EnergyEfficiencyClass?:VehicleEmissionClass,VehicleData?:VehicleAttribute[],IntegratedServiceCareOptions?:VehicleIntegratedServiceCareOption[],IspVehicleCustomerDescriptions?:string[],ConfirmedProductionDate?:string,ForecastedArrivalDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
BodyStyle;
/** @type {string} */
Vin;
/** @type {string} */
Description;
/** @type {string} */
Colour;
/** @type {string} */
ColourCode;
/** @type {string} */
ColourDescription;
/** @type {string} */
ColourGroup;
/** @type {string} */
Model;
/** @type {string} */
CommissionNumber;
/** @type {?number} */
BrandId;
/** @type {Brand} */
Brand;
/** @type {Engine} */
Engine;
/** @type {string} */
EngineBadge;
/** @type {Media} */
Media;
/** @type {string} */
Line;
/** @type {string} */
UpholsteryCode;
/** @type {string} */
UpholsteryType;
/** @type {string} */
Upholstery;
/** @type {string} */
UpholsteryDescription;
/** @type {string[]} */
AvailablePackages = [];
/** @type {string[]} */
Packages = [];
/** @type {number} */
P11D;
/** @type {?string} */
PortArrivalDate;
/** @type {Price[]} */
Prices = [];
/** @type {string} */
TransmissionType;
/** @type {string} */
FuelType;
/** @type {string} */
VehicleClass;
/** @type {string} */
ProductRange;
/** @type {string} */
VehicleType;
/** @type {?number} */
Emission;
/** @type {boolean} */
IsAvailableOnline;
/** @type {boolean} */
UnderOffer;
/** @type {boolean} */
IsExcluded;
/** @type {boolean} */
IsSellable;
/** @type {boolean} */
OnHold;
/** @type {?number} */
ElectricConsumption;
/** @type {?number} */
ElectricRange;
/** @type {string} */
ImageUrl;
/** @type {string} */
Baumuster;
/** @type {Retailer} */
Retailer;
/** @type {string} */
Bm7NST;
/** @type {number} */
OTR;
/** @type {number} */
ActualPrice;
/** @type {boolean} */
IsDisplayStock;
/** @type {?number} */
DisplayRetailerId;
/** @type {string} */
DisplayRetailer;
/** @type {string} */
DisplayRetailerGssnId;
/** @type {string} */
DisplayRetailerMarketAreaId;
/** @type {boolean} */
IsSmartDisplayRetailer;
/** @type {boolean} */
IsSpecialistCar;
/** @type {?number} */
Age;
/** @type {boolean} */
Secured;
/** @type {boolean} */
IsHOBackOrderAccountVehicle;
/** @type {boolean} */
IsAllocatedToBackOrder;
/** @type {string} */
UsageCode;
/** @type {?number} */
EmissionCombined;
/** @type {?string} */
NormalisedEmissionDirective;
/** @type {boolean} */
HasMildHybridEquipmentCode;
/** @type {number} */
RetailPriceExVat;
/** @type {number} */
RetailPrice_IncVAT;
/** @type {number} */
RetailPrice_ExVAT;
/** @type {number} */
ModelId;
/** @type {?string} */
VID;
/** @type {?string} */
ProductionDate;
/** @type {?string} */
FullModelYearCode;
/** @type {?string} */
ChassisNumber;
/** @type {boolean} */
EligibleForIntegratedServiceCare;
/** @type {?string} */
AccountType;
/** @type {?VehicleConsumption} */
ConsumptionCombined;
/** @type {?VehicleConsumption} */
ConsumptionExtraUrban;
/** @type {?VehicleConsumption} */
ConsumptionUrban;
/** @type {?VehicleConsumption} */
WltpFuelConsumptionCombined;
/** @type {?VehicleConsumption} */
WltpFuelConsumptionExtraHigh;
/** @type {?VehicleConsumption} */
WltpFuelConsumptionHigh;
/** @type {?VehicleConsumption} */
WltpFuelConsumptionLow;
/** @type {?VehicleConsumption} */
WltpFuelConsumptionMedium;
/** @type {?Equipmentv2[]} */
Equipment;
/** @type {?VehicleEquipmentCategory[]} */
EquipmentCategories;
/** @type {?VehicleEmissionClass} */
EnergyEfficiencyClass;
/** @type {?VehicleAttribute[]} */
VehicleData;
/** @type {VehicleIntegratedServiceCareOption[]} */
IntegratedServiceCareOptions = [];
/** @type {?string[]} */
IspVehicleCustomerDescriptions;
/** @type {?string} */
ConfirmedProductionDate;
/** @type {?string} */
ForecastedArrivalDate;
}
export class OneAgentOfferDetails {
/** @param {{CampaignOfferType?:string,Description?:string,Net?:number,Vat?:number,Gross?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
CampaignOfferType;
/** @type {?string} */
Description;
/** @type {?number} */
Net;
/** @type {?number} */
Vat;
/** @type {?number} */
Gross;
}
export class VehicleError {
/** @param {{Field?:string,Message?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Field;
/** @type {string} */
Message;
}
export class OfferDetails {
/** @param {{Id?:number,CampaignId?:number,Campaign?:string,CampaignOfferType?:string,Description?:string,Net?:number,From?:string,To?:string,GovernmentGrant?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?number} */
Id;
/** @type {?number} */
CampaignId;
/** @type {?string} */
Campaign;
/** @type {?string} */
CampaignOfferType;
/** @type {string} */
Description;
/** @type {?number} */
Net;
/** @type {string} */
From;
/** @type {string} */
To;
/** @type {?boolean} */
GovernmentGrant;
}
export class PersonalisedOfferDetails {
/** @param {{Id?:number,CampaignId?:number,Campaign?:string,Description?:string,Reference?:string,Category?:string,Net?:number,VAT?:number,Gross?:number,Vin?:string,MoneyOffVehicle?:boolean,IsVATCharged?:boolean,IsVATVariable?:boolean,CertificateRequired?:boolean,AutoSelect?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {number} */
CampaignId;
/** @type {string} */
Campaign;
/** @type {string} */
Description;
/** @type {string} */
Reference;
/** @type {string} */
Category;
/** @type {?number} */
Net;
/** @type {number} */
VAT;
/** @type {number} */
Gross;
/** @type {string} */
Vin;
/** @type {boolean} */
MoneyOffVehicle;
/** @type {boolean} */
IsVATCharged;
/** @type {boolean} */
IsVATVariable;
/** @type {boolean} */
CertificateRequired;
/** @type {boolean} */
AutoSelect;
}
export class GetVehicleSwapDataResponse {
/** @param {{SwapRequestDetails?:SwapRequestDetails,ActualPrice?:number,CurrentVehicle?:VehicleDetailDto,CurrentVehicleCampaignOffers?:OneAgentOfferDetails[],CurrentVehiclePersonalisedOffers?:OneAgentOfferDetails[],SwapVehicle?:VehicleDetailDto,SwapVehicleErrors?:VehicleError[],VehicleSwapCampaignOffers?:OfferDetails[],VehicleSwapPersonalisedOffers?:PersonalisedOfferDetails[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {SwapRequestDetails} */
SwapRequestDetails;
/** @type {number} */
ActualPrice;
/** @type {VehicleDetailDto} */
CurrentVehicle;
/** @type {OneAgentOfferDetails[]} */
CurrentVehicleCampaignOffers = [];
/** @type {OneAgentOfferDetails[]} */
CurrentVehiclePersonalisedOffers = [];
/** @type {VehicleDetailDto} */
SwapVehicle;
/** @type {?VehicleError[]} */
SwapVehicleErrors;
/** @type {OfferDetails[]} */
VehicleSwapCampaignOffers = [];
/** @type {PersonalisedOfferDetails[]} */
VehicleSwapPersonalisedOffers = [];
}
export class GetVehicleSwapDataRequest {
/** @param {{VehicleSwapGuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
VehicleSwapGuid;
}
JavaScript GetVehicleSwapDataRequest DTOs
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/vehicleswap/{VehicleSwapGuid} 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
{
SwapRequestDetails:
{
GssnId: String,
VehicleSwapGuid: 00000000000000000000000000000000,
OrderGuid: 00000000000000000000000000000000,
BackOrderGuid: 00000000000000000000000000000000,
OrderReference: String,
OrderType: String,
Showroom: String,
SentToCesar: String,
RequestReason: String
},
ActualPrice: 0,
CurrentVehicle:
{
BodyStyle: String,
Vin: String,
Description: String,
Colour: String,
ColourCode: String,
ColourDescription: String,
ColourGroup: String,
Model: String,
CommissionNumber: String,
BrandId: 0,
Brand:
{
Id: 0,
Description: String,
DisplayName: String,
BodyStyles:
[
{
Id: 0,
Description: String,
Models:
[
{
Id: 0,
Description: String,
DisplayName: String,
ImageUrlSmall: String,
ImageUrlMedium: String,
ImageUrlLarge: String,
Specialist: False,
Priority: 0,
ExcludeFromOnlineShowroomFilters: False
}
]
}
]
},
Engine:
{
Id: 0,
Badge: String
},
EngineBadge: String,
Media:
{
NoImage: False,
MainImageUrl: String
},
Line: String,
UpholsteryCode: String,
UpholsteryType: String,
Upholstery: String,
UpholsteryDescription: String,
AvailablePackages:
[
String
],
Packages:
[
String
],
P11D: 0,
PortArrivalDate: 0001-01-01,
Prices:
[
{
Id: String,
Description: String,
Net: 0,
VAT: 0,
Gross: 0,
Product: LIST_PRICE
}
],
TransmissionType: String,
FuelType: String,
VehicleClass: String,
ProductRange: String,
VehicleType: String,
Emission: 0,
IsAvailableOnline: False,
UnderOffer: False,
IsExcluded: False,
IsSellable: False,
OnHold: False,
ElectricConsumption: 0,
ElectricRange: 0,
ImageUrl: String,
Baumuster: String,
Retailer:
{
Id: 0,
GssnId: String,
Description: String,
Street: String,
City: String,
Postcode: String,
GoogleMapPostcode: String,
Phone: String,
Fax: String,
Email: String,
Website: String,
RetailerGroupId: String,
RetailerGroupName: String,
IsOnline: False,
IsNewCarRetailer: False,
IsUsedCarRetailer: False,
IsCentralRetailer: False,
ChatEnabled: False,
TradeInEnabled: False,
smart: False,
DisplayPhoneNumberNew: String,
DisplayPhoneNumberUsed: String,
Latitude: 0,
Longitude: 0,
smartDescription: String,
smartWebsite: String,
smartPhone: String,
LegacyId: String,
Agent: False,
MarketAreaId: 0,
DigitalLoungeParentGssnId: String,
SendLeadsToDigitalLoungeParent: False,
OpeningTimes:
{
New:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
],
Used:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
]
}
},
Bm7NST: String,
OTR: 0,
ActualPrice: 0,
IsDisplayStock: False,
DisplayRetailerId: 0,
DisplayRetailer: String,
DisplayRetailerGssnId: String,
DisplayRetailerMarketAreaId: String,
IsSmartDisplayRetailer: False,
IsSpecialistCar: False,
Age: 0,
Secured: False,
IsHOBackOrderAccountVehicle: False,
IsAllocatedToBackOrder: False,
UsageCode: String,
EmissionCombined: 0,
NormalisedEmissionDirective: String,
HasMildHybridEquipmentCode: False,
RetailPriceExVat: 0,
RetailPrice_IncVAT: 0,
RetailPrice_ExVAT: 0,
ModelId: 0,
VID: String,
ProductionDate: String,
FullModelYearCode: String,
ChassisNumber: String,
EligibleForIntegratedServiceCare: False,
AccountType: String,
ConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionExtraUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionExtraHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionLow:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionMedium:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
Equipment:
[
{
Importance: 0,
IsAdditional: False,
Id: 0,
Code: String,
Description: String
}
],
EquipmentCategories:
[
{
Order: 0,
Code: String,
Description: String,
Equipment:
[
{
Importance: 0,
IsAdditional: False,
Id: 0,
Code: String,
Description: String
}
]
}
],
EnergyEfficiencyClass:
{
Colour: String,
Rating: String
},
VehicleData:
[
{
Description: String,
Value: String
}
],
IntegratedServiceCareOptions:
[
{
OptionCode: String,
BM7NST: String,
FullModelYear: String,
IntegratedProductType: String,
CustomerDescription: String,
OneAgentProductType: String
}
],
IspVehicleCustomerDescriptions:
[
String
],
ConfirmedProductionDate: String,
ForecastedArrivalDate: String
},
CurrentVehicleCampaignOffers:
[
{
CampaignOfferType: String,
Description: String,
Net: 0,
Vat: 0,
Gross: 0
}
],
CurrentVehiclePersonalisedOffers:
[
{
CampaignOfferType: String,
Description: String,
Net: 0,
Vat: 0,
Gross: 0
}
],
SwapVehicle:
{
BodyStyle: String,
Vin: String,
Description: String,
Colour: String,
ColourCode: String,
ColourDescription: String,
ColourGroup: String,
Model: String,
CommissionNumber: String,
BrandId: 0,
Brand:
{
Id: 0,
Description: String,
DisplayName: String,
BodyStyles:
[
{
Id: 0,
Description: String,
Models:
[
{
Id: 0,
Description: String,
DisplayName: String,
ImageUrlSmall: String,
ImageUrlMedium: String,
ImageUrlLarge: String,
Specialist: False,
Priority: 0,
ExcludeFromOnlineShowroomFilters: False
}
]
}
]
},
Engine:
{
Id: 0,
Badge: String
},
EngineBadge: String,
Media:
{
NoImage: False,
MainImageUrl: String
},
Line: String,
UpholsteryCode: String,
UpholsteryType: String,
Upholstery: String,
UpholsteryDescription: String,
AvailablePackages:
[
String
],
Packages:
[
String
],
P11D: 0,
PortArrivalDate: 0001-01-01,
Prices:
[
{
Id: String,
Description: String,
Net: 0,
VAT: 0,
Gross: 0,
Product: LIST_PRICE
}
],
TransmissionType: String,
FuelType: String,
VehicleClass: String,
ProductRange: String,
VehicleType: String,
Emission: 0,
IsAvailableOnline: False,
UnderOffer: False,
IsExcluded: False,
IsSellable: False,
OnHold: False,
ElectricConsumption: 0,
ElectricRange: 0,
ImageUrl: String,
Baumuster: String,
Retailer:
{
Id: 0,
GssnId: String,
Description: String,
Street: String,
City: String,
Postcode: String,
GoogleMapPostcode: String,
Phone: String,
Fax: String,
Email: String,
Website: String,
RetailerGroupId: String,
RetailerGroupName: String,
IsOnline: False,
IsNewCarRetailer: False,
IsUsedCarRetailer: False,
IsCentralRetailer: False,
ChatEnabled: False,
TradeInEnabled: False,
smart: False,
DisplayPhoneNumberNew: String,
DisplayPhoneNumberUsed: String,
Latitude: 0,
Longitude: 0,
smartDescription: String,
smartWebsite: String,
smartPhone: String,
LegacyId: String,
Agent: False,
MarketAreaId: 0,
DigitalLoungeParentGssnId: String,
SendLeadsToDigitalLoungeParent: False,
OpeningTimes:
{
New:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
],
Used:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
]
}
},
Bm7NST: String,
OTR: 0,
ActualPrice: 0,
IsDisplayStock: False,
DisplayRetailerId: 0,
DisplayRetailer: String,
DisplayRetailerGssnId: String,
DisplayRetailerMarketAreaId: String,
IsSmartDisplayRetailer: False,
IsSpecialistCar: False,
Age: 0,
Secured: False,
IsHOBackOrderAccountVehicle: False,
IsAllocatedToBackOrder: False,
UsageCode: String,
EmissionCombined: 0,
NormalisedEmissionDirective: String,
HasMildHybridEquipmentCode: False,
RetailPriceExVat: 0,
RetailPrice_IncVAT: 0,
RetailPrice_ExVAT: 0,
ModelId: 0,
VID: String,
ProductionDate: String,
FullModelYearCode: String,
ChassisNumber: String,
EligibleForIntegratedServiceCare: False,
AccountType: String,
ConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionExtraUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionExtraHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionLow:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionMedium:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
Equipment:
[
{
Importance: 0,
IsAdditional: False,
Id: 0,
Code: String,
Description: String
}
],
EquipmentCategories:
[
{
Order: 0,
Code: String,
Description: String,
Equipment:
[
{
Importance: 0,
IsAdditional: False,
Id: 0,
Code: String,
Description: String
}
]
}
],
EnergyEfficiencyClass:
{
Colour: String,
Rating: String
},
VehicleData:
[
{
Description: String,
Value: String
}
],
IntegratedServiceCareOptions:
[
{
OptionCode: String,
BM7NST: String,
FullModelYear: String,
IntegratedProductType: String,
CustomerDescription: String,
OneAgentProductType: String
}
],
IspVehicleCustomerDescriptions:
[
String
],
ConfirmedProductionDate: String,
ForecastedArrivalDate: String
},
SwapVehicleErrors:
[
{
Field: String,
Message: String
}
],
VehicleSwapCampaignOffers:
[
{
Id: 0,
CampaignId: 0,
Campaign: String,
CampaignOfferType: String,
Description: String,
Net: 0,
From: 0001-01-01,
To: 0001-01-01,
GovernmentGrant: False
}
],
VehicleSwapPersonalisedOffers:
[
{
Id: 0,
CampaignId: 0,
Campaign: String,
Description: String,
Reference: String,
Category: String,
Net: 0,
VAT: 0,
Gross: 0,
Vin: String,
MoneyOffVehicle: False,
IsVATCharged: False,
IsVATVariable: False,
CertificateRequired: False,
AutoSelect: False
}
]
}