GET | /v1/backorder/customer/{CustomerId} | Get Customer Back Order by Customer Id |
---|
"use strict";
export class BackOrderHistory {
/** @param {{Status?:number,CommissionNumber?:string,VIN?:string,CustomerCriteria?:string,AgentCriteria?:string,CreationDate?:string,MaintenanceDate?:string,GasId?:string,Sellable?:boolean,AdditionalInformation?:string,Reason?:string,ConfigCode?:string,FleetBaseOrder?:string,AssistanceDetail?:string,AssistanceProvider?:string,LinkedByUserType?:string,MotabilityVTN?:string,MotabilityBackOrderDropDown?:string,MotabilityValidFrom?:string,MotabilityValidTo?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Status;
/** @type {?string} */
CommissionNumber;
/** @type {?string} */
VIN;
/** @type {string} */
CustomerCriteria;
/** @type {string} */
AgentCriteria;
/** @type {string} */
CreationDate;
/** @type {string} */
MaintenanceDate;
/** @type {string} */
GasId;
/** @type {boolean} */
Sellable;
/** @type {string} */
AdditionalInformation;
/** @type {string} */
Reason;
/** @type {string} */
ConfigCode;
/** @type {string} */
FleetBaseOrder;
/** @type {?string} */
AssistanceDetail;
/** @type {?string} */
AssistanceProvider;
/** @type {?string} */
LinkedByUserType;
/** @type {?string} */
MotabilityVTN;
/** @type {?string} */
MotabilityBackOrderDropDown;
/** @type {?string} */
MotabilityValidFrom;
/** @type {?string} */
MotabilityValidTo;
}
export class Order {
/** @param {{Guid?:string,Reference?:string,Status?:number,CustomerId?:string,MulesoftReference?:string,GasId?:string,OrderDate?:string,OfferSnapShot?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
Reference;
/** @type {number} */
Status;
/** @type {string} */
CustomerId;
/** @type {string} */
MulesoftReference;
/** @type {string} */
GasId;
/** @type {string} */
OrderDate;
/** @type {string} */
OfferSnapShot;
}
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 MotabilityPricingCsv {
/** @param {{Id?:number,CriteriaBM7NST?:string,VTN?:string,BackOrderDropDown?:string,CriteriaFullModelYearCode?:string,CriteriaValidOptionCodes?:string,CriteriaInvalidOptionCodes?:string,PIPNet?:number,PIPVat?:number,PIPGross?:number,WPMSNet?:number,WPMSVat?:number,WPMSGross?:number,DiscountNet?:number,DiscountVat?:number,DiscountGross?:number,ListPriceNet?:number,ListPriceVat?:number,ListPriceGross?:number,DeliveryChargeNet?:number,DeliveryChargeVat?:number,DeliveryChargeGross?:number,FuelChargeNet?:number,FuelChargeVat?:number,FuelChargeGross?:number,NumberPlateFeeNet?:number,NumberPlateFeeVat?:number,NumberPlateFeeGross?:number,FirstRegistrationFeeNet?:number,FirstRegistrationFeeVat?:number,FirstRegistrationFeeGross?:number,RoadFundLicenceNet?:number,RoadFundLicenceVat?:number,RoadFundLicenceGross?:number,ValidFrom?:string,ValidTo?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
CriteriaBM7NST;
/** @type {string} */
VTN;
/** @type {string} */
BackOrderDropDown;
/** @type {string} */
CriteriaFullModelYearCode;
/** @type {?string} */
CriteriaValidOptionCodes;
/** @type {?string} */
CriteriaInvalidOptionCodes;
/** @type {number} */
PIPNet;
/** @type {number} */
PIPVat;
/** @type {number} */
PIPGross;
/** @type {number} */
WPMSNet;
/** @type {number} */
WPMSVat;
/** @type {number} */
WPMSGross;
/** @type {number} */
DiscountNet;
/** @type {number} */
DiscountVat;
/** @type {number} */
DiscountGross;
/** @type {number} */
ListPriceNet;
/** @type {number} */
ListPriceVat;
/** @type {number} */
ListPriceGross;
/** @type {number} */
DeliveryChargeNet;
/** @type {number} */
DeliveryChargeVat;
/** @type {number} */
DeliveryChargeGross;
/** @type {number} */
FuelChargeNet;
/** @type {number} */
FuelChargeVat;
/** @type {number} */
FuelChargeGross;
/** @type {number} */
NumberPlateFeeNet;
/** @type {number} */
NumberPlateFeeVat;
/** @type {number} */
NumberPlateFeeGross;
/** @type {number} */
FirstRegistrationFeeNet;
/** @type {number} */
FirstRegistrationFeeVat;
/** @type {number} */
FirstRegistrationFeeGross;
/** @type {number} */
RoadFundLicenceNet;
/** @type {number} */
RoadFundLicenceVat;
/** @type {number} */
RoadFundLicenceGross;
/** @type {string} */
ValidFrom;
/** @type {string} */
ValidTo;
}
/** @typedef {'Pending'|'Current'|'RecentlyExpired'|'Expired'} */
export var MotabilityPricingStatus;
(function (MotabilityPricingStatus) {
MotabilityPricingStatus["Pending"] = "Pending"
MotabilityPricingStatus["Current"] = "Current"
MotabilityPricingStatus["RecentlyExpired"] = "RecentlyExpired"
MotabilityPricingStatus["Expired"] = "Expired"
})(MotabilityPricingStatus || (MotabilityPricingStatus = {}));
export class MotabilityPricing extends MotabilityPricingCsv {
/** @param {{MotabilityPricingStatus?:MotabilityPricingStatus,Id?:number,CriteriaBM7NST?:string,VTN?:string,BackOrderDropDown?:string,CriteriaFullModelYearCode?:string,CriteriaValidOptionCodes?:string,CriteriaInvalidOptionCodes?:string,PIPNet?:number,PIPVat?:number,PIPGross?:number,WPMSNet?:number,WPMSVat?:number,WPMSGross?:number,DiscountNet?:number,DiscountVat?:number,DiscountGross?:number,ListPriceNet?:number,ListPriceVat?:number,ListPriceGross?:number,DeliveryChargeNet?:number,DeliveryChargeVat?:number,DeliveryChargeGross?:number,FuelChargeNet?:number,FuelChargeVat?:number,FuelChargeGross?:number,NumberPlateFeeNet?:number,NumberPlateFeeVat?:number,NumberPlateFeeGross?:number,FirstRegistrationFeeNet?:number,FirstRegistrationFeeVat?:number,FirstRegistrationFeeGross?:number,RoadFundLicenceNet?:number,RoadFundLicenceVat?:number,RoadFundLicenceGross?:number,ValidFrom?:string,ValidTo?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {MotabilityPricingStatus} */
MotabilityPricingStatus;
}
export class CarConfigurator {
/** @param {{Id?:number,BackOrderId?:number,ConfiguratorCode?:string,GasId?:string,Status?:number,DateOfLastUpdate?:string,LastExceptionMessage?:string,LastException?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {?number} */
BackOrderId;
/** @type {string} */
ConfiguratorCode;
/** @type {?string} */
GasId;
/** @type {number} */
Status;
/** @type {string} */
DateOfLastUpdate;
/** @type {?string} */
LastExceptionMessage;
/** @type {?string} */
LastException;
}
export class KeyInformation {
/** @param {{BM7NST?:string,ConfigurationDate?:string,ModelYear?:string,HalfYear?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
BM7NST;
/** @type {?string} */
ConfigurationDate;
/** @type {?string} */
ModelYear;
/** @type {?string} */
HalfYear;
}
export class OrderingOptions {
/** @param {{Interior?:string[],Exterior?:string[],Other?:string[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string[]} */
Interior;
/** @type {?string[]} */
Exterior;
/** @type {?string[]} */
Other;
}
export class CarConfiguratorResponse {
/** @param {{Name?:string,KeyInformation?:KeyInformation,OrderingOptions?:OrderingOptions,ResponseStatus?:ResponseStatus,ConfiguratorCode?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
Name;
/** @type {?KeyInformation} */
KeyInformation;
/** @type {?OrderingOptions} */
OrderingOptions;
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {?string} */
ConfiguratorCode;
}
export class BackOrderBase {
/** @param {{Guid?:string,Status?:number,CustomerId?:string,Id?:number,Reference?:string,Agent?:string,Gssn?:string,CreationDate?:string,MaintenanceDate?:string,CustomerCriteria?:string,AgentCriteria?:string,History?:BackOrderHistory[],IsAllocatedToOrder?:boolean,Vin?:string,CommissionNumber?:string,Order?:Order,Source?:string,Specialist?:boolean,OutrightPurchase?:boolean,Sellable?:boolean,MulesoftReference?:string,AdditionalInformation?:string,ConfigCode?:string,FleetBaseOrder?:string,GasId?:string,OutrightPurchaseCustomerIdentifier?:string,Retailer?:Retailer,CustomerMode?:number,CanEdit?:boolean,DigitalLoungeGssnId?:string,DigitalLounge?:string,Motability?:boolean,MotabilityPricing?:MotabilityPricing,LinkedByUserType?:string,AssistanceProviderId?:number,AssistanceProvider?:string,AssistanceDetail?:string,LastAssistanceMessageDate?:string,LastAssistanceUser?:string,IsCOPConverter?:boolean,IsEligibleCOPConverter?:boolean,CarConfigurator?:CarConfigurator,CarConfiguratorResponse?:CarConfiguratorResponse}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {number} */
Status;
/** @type {string} */
CustomerId;
/** @type {number} */
Id;
/** @type {string} */
Reference;
/** @type {string} */
Agent;
/** @type {string} */
Gssn;
/** @type {string} */
CreationDate;
/** @type {string} */
MaintenanceDate;
/** @type {string} */
CustomerCriteria;
/** @type {?string} */
AgentCriteria;
/** @type {?BackOrderHistory[]} */
History;
/** @type {boolean} */
IsAllocatedToOrder;
/** @type {string} */
Vin;
/** @type {?string} */
CommissionNumber;
/** @type {?Order} */
Order;
/** @type {string} */
Source;
/** @type {boolean} */
Specialist;
/** @type {boolean} */
OutrightPurchase;
/** @type {boolean} */
Sellable;
/** @type {string} */
MulesoftReference;
/** @type {string} */
AdditionalInformation;
/** @type {string} */
ConfigCode;
/** @type {string} */
FleetBaseOrder;
/** @type {string} */
GasId;
/** @type {string} */
OutrightPurchaseCustomerIdentifier;
/** @type {Retailer} */
Retailer;
/** @type {number} */
CustomerMode;
/** @type {boolean} */
CanEdit;
/** @type {?string} */
DigitalLoungeGssnId;
/** @type {?string} */
DigitalLounge;
/** @type {boolean} */
Motability;
/** @type {?MotabilityPricing} */
MotabilityPricing;
/** @type {?string} */
LinkedByUserType;
/** @type {?number} */
AssistanceProviderId;
/** @type {?string} */
AssistanceProvider;
/** @type {?string} */
AssistanceDetail;
/** @type {?string} */
LastAssistanceMessageDate;
/** @type {?string} */
LastAssistanceUser;
/** @type {boolean} */
IsCOPConverter;
/** @type {boolean} */
IsEligibleCOPConverter;
/** @type {?CarConfigurator} */
CarConfigurator;
/** @type {?CarConfiguratorResponse} */
CarConfiguratorResponse;
}
export class Vehicle {
/** @param {{Vin?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
Vin;
}
export class VehicleCriteriaMatch {
/** @param {{Fuel?:boolean,Transmission?:boolean,Colour?:boolean,Upholstery?:boolean,Line?:boolean,Engine?:boolean,BodyStyle?:boolean,Packages?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
Fuel;
/** @type {boolean} */
Transmission;
/** @type {boolean} */
Colour;
/** @type {boolean} */
Upholstery;
/** @type {boolean} */
Line;
/** @type {boolean} */
Engine;
/** @type {boolean} */
BodyStyle;
/** @type {boolean} */
Packages;
}
/** @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 VehicleBaseDetail extends Vehicle {
/** @param {{Description?:string,CommissionNumber?:string,PortArrivalDate?:string,OfferExpiryDate?:string,Fuel?:string,Transmission?:string,TransmissionType?:string,Colour?:string,ColourDescription?:string,ImageUrl?:string,Specialist?:boolean,VehicleCriteriaMatch?:VehicleCriteriaMatch,ColourGroup?:string,Model?:string,BodyStyle?:string,Brand?:string,Engine?:string,EngineDescription?:string,Line?:string,Upholstery?:string,UpholsteryDescription?:string,Packages?:string[],P11D?:number,Prices?:Price[],VehicleClass?:string,ProductRange?:string,VehicleType?:string,Emission?:number,Baumuster?:string,IsSellable?:boolean,Bm7NST?:string,ElectricRange?:number,ElectricConsumption?:number,IsDisplayStock?:boolean,DisplayRetailer_Id?:number,DisplayRetailer?:string,DisplayRetailerGssnId?:string,Retailer?:Retailer,Age?:number,ModelYearCode?:string,HalfModelYearCode?:string,FullModelYearCode?:string,ProductionDate?:string,ChassisNumber?:string,EligibleForIntegratedServiceCare?:boolean,Vin?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
Description;
/** @type {string} */
CommissionNumber;
/** @type {string} */
PortArrivalDate;
/** @type {string} */
OfferExpiryDate;
/** @type {string} */
Fuel;
/** @type {string} */
Transmission;
/** @type {string} */
TransmissionType;
/** @type {string} */
Colour;
/** @type {string} */
ColourDescription;
/** @type {string} */
ImageUrl;
/** @type {boolean} */
Specialist;
/** @type {?VehicleCriteriaMatch} */
VehicleCriteriaMatch;
/** @type {string} */
ColourGroup;
/** @type {string} */
Model;
/** @type {string} */
BodyStyle;
/** @type {string} */
Brand;
/** @type {string} */
Engine;
/** @type {string} */
EngineDescription;
/** @type {string} */
Line;
/** @type {string} */
Upholstery;
/** @type {string} */
UpholsteryDescription;
/** @type {string[]} */
Packages = [];
/** @type {number} */
P11D;
/** @type {Price[]} */
Prices = [];
/** @type {string} */
VehicleClass;
/** @type {string} */
ProductRange;
/** @type {string} */
VehicleType;
/** @type {?number} */
Emission;
/** @type {string} */
Baumuster;
/** @type {boolean} */
IsSellable;
/** @type {string} */
Bm7NST;
/** @type {?number} */
ElectricRange;
/** @type {?number} */
ElectricConsumption;
/** @type {boolean} */
IsDisplayStock;
/** @type {?number} */
DisplayRetailer_Id;
/** @type {string} */
DisplayRetailer;
/** @type {string} */
DisplayRetailerGssnId;
/** @type {Retailer} */
Retailer;
/** @type {?number} */
Age;
/** @type {string} */
ModelYearCode;
/** @type {string} */
HalfModelYearCode;
/** @type {string} */
FullModelYearCode;
/** @type {string} */
ProductionDate;
/** @type {?string} */
ChassisNumber;
/** @type {boolean} */
EligibleForIntegratedServiceCare;
}
export class VehicleDecimalDetail extends VehicleBaseDetail {
/** @param {{RetailPrice_ExVAT?:number,OTR?:number,ActualPrice?:number,TotalOfferValue?:number,Description?:string,CommissionNumber?:string,PortArrivalDate?:string,OfferExpiryDate?:string,Fuel?:string,Transmission?:string,TransmissionType?:string,Colour?:string,ColourDescription?:string,ImageUrl?:string,Specialist?:boolean,VehicleCriteriaMatch?:VehicleCriteriaMatch,ColourGroup?:string,Model?:string,BodyStyle?:string,Brand?:string,Engine?:string,EngineDescription?:string,Line?:string,Upholstery?:string,UpholsteryDescription?:string,Packages?:string[],P11D?:number,Prices?:Price[],VehicleClass?:string,ProductRange?:string,VehicleType?:string,Emission?:number,Baumuster?:string,IsSellable?:boolean,Bm7NST?:string,ElectricRange?:number,ElectricConsumption?:number,IsDisplayStock?:boolean,DisplayRetailer_Id?:number,DisplayRetailer?:string,DisplayRetailerGssnId?:string,Retailer?:Retailer,Age?:number,ModelYearCode?:string,HalfModelYearCode?:string,FullModelYearCode?:string,ProductionDate?:string,ChassisNumber?:string,EligibleForIntegratedServiceCare?:boolean,Vin?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {number} */
RetailPrice_ExVAT;
/** @type {number} */
OTR;
/** @type {number} */
ActualPrice;
/** @type {?number} */
TotalOfferValue;
}
export class BackOrderDecimal extends BackOrderBase {
/** @param {{Vehicle?:VehicleDecimalDetail,Guid?:string,Status?:number,CustomerId?:string,Id?:number,Reference?:string,Agent?:string,Gssn?:string,CreationDate?:string,MaintenanceDate?:string,CustomerCriteria?:string,AgentCriteria?:string,History?:BackOrderHistory[],IsAllocatedToOrder?:boolean,Vin?:string,CommissionNumber?:string,Order?:Order,Source?:string,Specialist?:boolean,OutrightPurchase?:boolean,Sellable?:boolean,MulesoftReference?:string,AdditionalInformation?:string,ConfigCode?:string,FleetBaseOrder?:string,GasId?:string,OutrightPurchaseCustomerIdentifier?:string,Retailer?:Retailer,CustomerMode?:number,CanEdit?:boolean,DigitalLoungeGssnId?:string,DigitalLounge?:string,Motability?:boolean,MotabilityPricing?:MotabilityPricing,LinkedByUserType?:string,AssistanceProviderId?:number,AssistanceProvider?:string,AssistanceDetail?:string,LastAssistanceMessageDate?:string,LastAssistanceUser?:string,IsCOPConverter?:boolean,IsEligibleCOPConverter?:boolean,CarConfigurator?:CarConfigurator,CarConfiguratorResponse?:CarConfiguratorResponse}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {VehicleDecimalDetail} */
Vehicle;
}
export class FeatureStatus {
/** @param {{AgencyEnabled?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
AgencyEnabled;
}
export class GetBackOrderCustomerResponse {
/** @param {{BackOrders?:BackOrderDecimal[],FeatureStatus?:FeatureStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {BackOrderDecimal[]} */
BackOrders = [];
/** @type {FeatureStatus} */
FeatureStatus;
}
export class GetBackOrderCustomerRequest {
/** @param {{CustomerId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
CustomerId;
}
JavaScript GetBackOrderCustomerRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/backorder/customer/{CustomerId} HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetBackOrderCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses"> <BackOrders xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO"> <d2p1:BackOrderDecimal> <d2p1:AdditionalInformation>String</d2p1:AdditionalInformation> <d2p1:Agent>String</d2p1:Agent> <d2p1:AgentCriteria>String</d2p1:AgentCriteria> <d2p1:AssistanceDetail>String</d2p1:AssistanceDetail> <d2p1:AssistanceProvider>String</d2p1:AssistanceProvider> <d2p1:AssistanceProviderId>0</d2p1:AssistanceProviderId> <d2p1:CanEdit>false</d2p1:CanEdit> <d2p1:CarConfigurator xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO.CarConfigurator"> <d4p1:BackOrderId>0</d4p1:BackOrderId> <d4p1:ConfiguratorCode>String</d4p1:ConfiguratorCode> <d4p1:DateOfLastUpdate>0001-01-01T00:00:00</d4p1:DateOfLastUpdate> <d4p1:GasId>String</d4p1:GasId> <d4p1:Id>0</d4p1:Id> <d4p1:LastException>String</d4p1:LastException> <d4p1:LastExceptionMessage>String</d4p1:LastExceptionMessage> <d4p1:Status>0</d4p1:Status> </d2p1:CarConfigurator> <d2p1:CarConfiguratorResponse xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO.CarConfigurator"> <d4p1:ConfiguratorCode>String</d4p1:ConfiguratorCode> <d4p1:KeyInformation> <d4p1:BM7NST>String</d4p1:BM7NST> <d4p1:ConfigurationDate>String</d4p1:ConfigurationDate> <d4p1:HalfYear>String</d4p1:HalfYear> <d4p1:ModelYear>String</d4p1:ModelYear> </d4p1:KeyInformation> <d4p1:Name>String</d4p1:Name> <d4p1:OrderingOptions> <d4p1:Exterior xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>String</d6p1:string> </d4p1:Exterior> <d4p1:Interior xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>String</d6p1:string> </d4p1:Interior> <d4p1:Other xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>String</d6p1:string> </d4p1:Other> </d4p1:OrderingOptions> <d4p1:ResponseStatus xmlns:d5p1="http://schemas.servicestack.net/types"> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:Message>String</d5p1:Message> <d5p1:StackTrace>String</d5p1:StackTrace> <d5p1:Errors> <d5p1:ResponseError> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:FieldName>String</d5p1:FieldName> <d5p1:Message>String</d5p1:Message> <d5p1:Meta xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:KeyValueOfstringstring> <d8p1:Key>String</d8p1:Key> <d8p1:Value>String</d8p1:Value> </d8p1:KeyValueOfstringstring> </d5p1:Meta> </d5p1:ResponseError> </d5p1:Errors> <d5p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d5p1:Meta> </d4p1:ResponseStatus> </d2p1:CarConfiguratorResponse> <d2p1:CommissionNumber>String</d2p1:CommissionNumber> <d2p1:ConfigCode>String</d2p1:ConfigCode> <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate> <d2p1:CustomerCriteria>String</d2p1:CustomerCriteria> <d2p1:CustomerId>String</d2p1:CustomerId> <d2p1:CustomerMode>0</d2p1:CustomerMode> <d2p1:DigitalLounge>String</d2p1:DigitalLounge> <d2p1:DigitalLoungeGssnId>String</d2p1:DigitalLoungeGssnId> <d2p1:GasId>String</d2p1:GasId> <d2p1:Gssn>String</d2p1:Gssn> <d2p1:Guid>String</d2p1:Guid> <d2p1:History> <d2p1:BackOrderHistory> <d2p1:AdditionalInformation>String</d2p1:AdditionalInformation> <d2p1:AgentCriteria>String</d2p1:AgentCriteria> <d2p1:AssistanceDetail>String</d2p1:AssistanceDetail> <d2p1:AssistanceProvider>String</d2p1:AssistanceProvider> <d2p1:CommissionNumber>String</d2p1:CommissionNumber> <d2p1:ConfigCode>String</d2p1:ConfigCode> <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate> <d2p1:CustomerCriteria>String</d2p1:CustomerCriteria> <d2p1:GasId>String</d2p1:GasId> <d2p1:LinkedByUserType>String</d2p1:LinkedByUserType> <d2p1:MaintenanceDate>0001-01-01T00:00:00</d2p1:MaintenanceDate> <d2p1:MotabilityBackOrderDropDown>String</d2p1:MotabilityBackOrderDropDown> <d2p1:MotabilityVTN>String</d2p1:MotabilityVTN> <d2p1:MotabilityValidFrom>0001-01-01T00:00:00</d2p1:MotabilityValidFrom> <d2p1:MotabilityValidTo>0001-01-01T00:00:00</d2p1:MotabilityValidTo> <d2p1:Reason>String</d2p1:Reason> <d2p1:Sellable>false</d2p1:Sellable> <d2p1:Status>0</d2p1:Status> <d2p1:VIN>String</d2p1:VIN> </d2p1:BackOrderHistory> </d2p1:History> <d2p1:Id>0</d2p1:Id> <d2p1:IsAllocatedToOrder>false</d2p1:IsAllocatedToOrder> <d2p1:IsCOPConverter>false</d2p1:IsCOPConverter> <d2p1:IsEligibleCOPConverter>false</d2p1:IsEligibleCOPConverter> <d2p1:LastAssistanceMessageDate>0001-01-01T00:00:00</d2p1:LastAssistanceMessageDate> <d2p1:LastAssistanceUser>String</d2p1:LastAssistanceUser> <d2p1:LinkedByUserType>String</d2p1:LinkedByUserType> <d2p1:MaintenanceDate>0001-01-01T00:00:00</d2p1:MaintenanceDate> <d2p1:Motability>false</d2p1:Motability> <d2p1:MotabilityPricing xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO.Motability"> <d4p1:BackOrderDropDown>String</d4p1:BackOrderDropDown> <d4p1:CriteriaBM7NST>String</d4p1:CriteriaBM7NST> <d4p1:CriteriaFullModelYearCode>String</d4p1:CriteriaFullModelYearCode> <d4p1:CriteriaInvalidOptionCodes>String</d4p1:CriteriaInvalidOptionCodes> <d4p1:CriteriaValidOptionCodes>String</d4p1:CriteriaValidOptionCodes> <d4p1:DeliveryChargeGross>0</d4p1:DeliveryChargeGross> <d4p1:DeliveryChargeNet>0</d4p1:DeliveryChargeNet> <d4p1:DeliveryChargeVat>0</d4p1:DeliveryChargeVat> <d4p1:DiscountGross>0</d4p1:DiscountGross> <d4p1:DiscountNet>0</d4p1:DiscountNet> <d4p1:DiscountVat>0</d4p1:DiscountVat> <d4p1:FirstRegistrationFeeGross>0</d4p1:FirstRegistrationFeeGross> <d4p1:FirstRegistrationFeeNet>0</d4p1:FirstRegistrationFeeNet> <d4p1:FirstRegistrationFeeVat>0</d4p1:FirstRegistrationFeeVat> <d4p1:FuelChargeGross>0</d4p1:FuelChargeGross> <d4p1:FuelChargeNet>0</d4p1:FuelChargeNet> <d4p1:FuelChargeVat>0</d4p1:FuelChargeVat> <d4p1:Id>0</d4p1:Id> <d4p1:ListPriceGross>0</d4p1:ListPriceGross> <d4p1:ListPriceNet>0</d4p1:ListPriceNet> <d4p1:ListPriceVat>0</d4p1:ListPriceVat> <d4p1:NumberPlateFeeGross>0</d4p1:NumberPlateFeeGross> <d4p1:NumberPlateFeeNet>0</d4p1:NumberPlateFeeNet> <d4p1:NumberPlateFeeVat>0</d4p1:NumberPlateFeeVat> <d4p1:PIPGross>0</d4p1:PIPGross> <d4p1:PIPNet>0</d4p1:PIPNet> <d4p1:PIPVat>0</d4p1:PIPVat> <d4p1:RoadFundLicenceGross>0</d4p1:RoadFundLicenceGross> <d4p1:RoadFundLicenceNet>0</d4p1:RoadFundLicenceNet> <d4p1:RoadFundLicenceVat>0</d4p1:RoadFundLicenceVat> <d4p1:VTN>String</d4p1:VTN> <d4p1:ValidFrom>0001-01-01T00:00:00</d4p1:ValidFrom> <d4p1:ValidTo>0001-01-01T00:00:00</d4p1:ValidTo> <d4p1:WPMSGross>0</d4p1:WPMSGross> <d4p1:WPMSNet>0</d4p1:WPMSNet> <d4p1:WPMSVat>0</d4p1:WPMSVat> <d4p1:MotabilityPricingStatus>Pending</d4p1:MotabilityPricingStatus> </d2p1:MotabilityPricing> <d2p1:MulesoftReference>String</d2p1:MulesoftReference> <d2p1:Order> <d2p1:CustomerId>String</d2p1:CustomerId> <d2p1:GasId>String</d2p1:GasId> <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid> <d2p1:MulesoftReference>String</d2p1:MulesoftReference> <d2p1:OfferSnapShot>String</d2p1:OfferSnapShot> <d2p1:OrderDate>String</d2p1:OrderDate> <d2p1:Reference>String</d2p1:Reference> <d2p1:Status>0</d2p1:Status> </d2p1:Order> <d2p1:OutrightPurchase>false</d2p1:OutrightPurchase> <d2p1:OutrightPurchaseCustomerIdentifier>String</d2p1:OutrightPurchaseCustomerIdentifier> <d2p1:Reference>String</d2p1:Reference> <d2p1:Retailer> <d2p1:Agent>false</d2p1:Agent> <d2p1:ChatEnabled>false</d2p1:ChatEnabled> <d2p1:City>String</d2p1:City> <d2p1:Description>String</d2p1:Description> <d2p1:DigitalLoungeParentGssnId>String</d2p1:DigitalLoungeParentGssnId> <d2p1:DisplayPhoneNumberNew>String</d2p1:DisplayPhoneNumberNew> <d2p1:DisplayPhoneNumberUsed>String</d2p1:DisplayPhoneNumberUsed> <d2p1:Email>String</d2p1:Email> <d2p1:Fax>String</d2p1:Fax> <d2p1:GoogleMapPostcode>String</d2p1:GoogleMapPostcode> <d2p1:GssnId>String</d2p1:GssnId> <d2p1:Id>0</d2p1:Id> <d2p1:IsCentralRetailer>false</d2p1:IsCentralRetailer> <d2p1:IsNewCarRetailer>false</d2p1:IsNewCarRetailer> <d2p1:IsOnline>false</d2p1:IsOnline> <d2p1:IsUsedCarRetailer>false</d2p1:IsUsedCarRetailer> <d2p1:Latitude>0</d2p1:Latitude> <d2p1:LegacyId>String</d2p1:LegacyId> <d2p1:Longitude>0</d2p1:Longitude> <d2p1:MarketAreaId>0</d2p1:MarketAreaId> <d2p1:OpeningTimes> <d2p1:New> <d2p1:RetailerOpeningTime> <d2p1:Day>String</d2p1:Day> <d2p1:OpenFrom>String</d2p1:OpenFrom> <d2p1:OpenTo>String</d2p1:OpenTo> <d2p1:Special>String</d2p1:Special> </d2p1:RetailerOpeningTime> </d2p1:New> <d2p1:Used> <d2p1:RetailerOpeningTime> <d2p1:Day>String</d2p1:Day> <d2p1:OpenFrom>String</d2p1:OpenFrom> <d2p1:OpenTo>String</d2p1:OpenTo> <d2p1:Special>String</d2p1:Special> </d2p1:RetailerOpeningTime> </d2p1:Used> </d2p1:OpeningTimes> <d2p1:Phone>String</d2p1:Phone> <d2p1:Postcode>String</d2p1:Postcode> <d2p1:RetailerGroupId>String</d2p1:RetailerGroupId> <d2p1:RetailerGroupName>String</d2p1:RetailerGroupName> <d2p1:SendLeadsToDigitalLoungeParent>false</d2p1:SendLeadsToDigitalLoungeParent> <d2p1:Street>String</d2p1:Street> <d2p1:TradeInEnabled>false</d2p1:TradeInEnabled> <d2p1:Website>String</d2p1:Website> <d2p1:smart>false</d2p1:smart> <d2p1:smartDescription>String</d2p1:smartDescription> <d2p1:smartPhone>String</d2p1:smartPhone> <d2p1:smartWebsite>String</d2p1:smartWebsite> </d2p1:Retailer> <d2p1:Sellable>false</d2p1:Sellable> <d2p1:Source>String</d2p1:Source> <d2p1:Specialist>false</d2p1:Specialist> <d2p1:Status>0</d2p1:Status> <d2p1:Vin>String</d2p1:Vin> <d2p1:Vehicle> <d2p1:Vin>String</d2p1:Vin> <d2p1:Age>0</d2p1:Age> <d2p1:Baumuster>String</d2p1:Baumuster> <d2p1:Bm7NST>String</d2p1:Bm7NST> <d2p1:BodyStyle>String</d2p1:BodyStyle> <d2p1:Brand>String</d2p1:Brand> <d2p1:ChassisNumber>String</d2p1:ChassisNumber> <d2p1:Colour>String</d2p1:Colour> <d2p1:ColourDescription>String</d2p1:ColourDescription> <d2p1:ColourGroup>String</d2p1:ColourGroup> <d2p1:CommissionNumber>String</d2p1:CommissionNumber> <d2p1:Description>String</d2p1:Description> <d2p1:DisplayRetailer>String</d2p1:DisplayRetailer> <d2p1:DisplayRetailerGssnId>String</d2p1:DisplayRetailerGssnId> <d2p1:DisplayRetailer_Id>0</d2p1:DisplayRetailer_Id> <d2p1:ElectricConsumption>0</d2p1:ElectricConsumption> <d2p1:ElectricRange>0</d2p1:ElectricRange> <d2p1:EligibleForIntegratedServiceCare>false</d2p1:EligibleForIntegratedServiceCare> <d2p1:Emission>0</d2p1:Emission> <d2p1:Engine>String</d2p1:Engine> <d2p1:EngineDescription>String</d2p1:EngineDescription> <d2p1:Fuel>String</d2p1:Fuel> <d2p1:FullModelYearCode>String</d2p1:FullModelYearCode> <d2p1:HalfModelYearCode>String</d2p1:HalfModelYearCode> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:IsDisplayStock>false</d2p1:IsDisplayStock> <d2p1:IsSellable>false</d2p1:IsSellable> <d2p1:Line>String</d2p1:Line> <d2p1:Model>String</d2p1:Model> <d2p1:ModelYearCode>String</d2p1:ModelYearCode> <d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate> <d2p1:P11D>0</d2p1:P11D> <d2p1:Packages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </d2p1:Packages> <d2p1:PortArrivalDate>String</d2p1:PortArrivalDate> <d2p1:Prices> <d2p1:Price> <d2p1:Description>String</d2p1:Description> <d2p1:Gross>0</d2p1:Gross> <d2p1:Id>String</d2p1:Id> <d2p1:Net>0</d2p1:Net> <d2p1:Product>LIST_PRICE</d2p1:Product> <d2p1:VAT>0</d2p1:VAT> </d2p1:Price> </d2p1:Prices> <d2p1:ProductRange>String</d2p1:ProductRange> <d2p1:ProductionDate>String</d2p1:ProductionDate> <d2p1:Retailer> <d2p1:Agent>false</d2p1:Agent> <d2p1:ChatEnabled>false</d2p1:ChatEnabled> <d2p1:City>String</d2p1:City> <d2p1:Description>String</d2p1:Description> <d2p1:DigitalLoungeParentGssnId>String</d2p1:DigitalLoungeParentGssnId> <d2p1:DisplayPhoneNumberNew>String</d2p1:DisplayPhoneNumberNew> <d2p1:DisplayPhoneNumberUsed>String</d2p1:DisplayPhoneNumberUsed> <d2p1:Email>String</d2p1:Email> <d2p1:Fax>String</d2p1:Fax> <d2p1:GoogleMapPostcode>String</d2p1:GoogleMapPostcode> <d2p1:GssnId>String</d2p1:GssnId> <d2p1:Id>0</d2p1:Id> <d2p1:IsCentralRetailer>false</d2p1:IsCentralRetailer> <d2p1:IsNewCarRetailer>false</d2p1:IsNewCarRetailer> <d2p1:IsOnline>false</d2p1:IsOnline> <d2p1:IsUsedCarRetailer>false</d2p1:IsUsedCarRetailer> <d2p1:Latitude>0</d2p1:Latitude> <d2p1:LegacyId>String</d2p1:LegacyId> <d2p1:Longitude>0</d2p1:Longitude> <d2p1:MarketAreaId>0</d2p1:MarketAreaId> <d2p1:OpeningTimes> <d2p1:New> <d2p1:RetailerOpeningTime> <d2p1:Day>String</d2p1:Day> <d2p1:OpenFrom>String</d2p1:OpenFrom> <d2p1:OpenTo>String</d2p1:OpenTo> <d2p1:Special>String</d2p1:Special> </d2p1:RetailerOpeningTime> </d2p1:New> <d2p1:Used> <d2p1:RetailerOpeningTime> <d2p1:Day>String</d2p1:Day> <d2p1:OpenFrom>String</d2p1:OpenFrom> <d2p1:OpenTo>String</d2p1:OpenTo> <d2p1:Special>String</d2p1:Special> </d2p1:RetailerOpeningTime> </d2p1:Used> </d2p1:OpeningTimes> <d2p1:Phone>String</d2p1:Phone> <d2p1:Postcode>String</d2p1:Postcode> <d2p1:RetailerGroupId>String</d2p1:RetailerGroupId> <d2p1:RetailerGroupName>String</d2p1:RetailerGroupName> <d2p1:SendLeadsToDigitalLoungeParent>false</d2p1:SendLeadsToDigitalLoungeParent> <d2p1:Street>String</d2p1:Street> <d2p1:TradeInEnabled>false</d2p1:TradeInEnabled> <d2p1:Website>String</d2p1:Website> <d2p1:smart>false</d2p1:smart> <d2p1:smartDescription>String</d2p1:smartDescription> <d2p1:smartPhone>String</d2p1:smartPhone> <d2p1:smartWebsite>String</d2p1:smartWebsite> </d2p1:Retailer> <d2p1:Specialist>false</d2p1:Specialist> <d2p1:Transmission>String</d2p1:Transmission> <d2p1:TransmissionType>String</d2p1:TransmissionType> <d2p1:Upholstery>String</d2p1:Upholstery> <d2p1:UpholsteryDescription>String</d2p1:UpholsteryDescription> <d2p1:VehicleClass>String</d2p1:VehicleClass> <d2p1:VehicleCriteriaMatch> <d2p1:BodyStyle>false</d2p1:BodyStyle> <d2p1:Colour>false</d2p1:Colour> <d2p1:Engine>false</d2p1:Engine> <d2p1:Fuel>false</d2p1:Fuel> <d2p1:Line>false</d2p1:Line> <d2p1:Packages>false</d2p1:Packages> <d2p1:Transmission>false</d2p1:Transmission> <d2p1:Upholstery>false</d2p1:Upholstery> </d2p1:VehicleCriteriaMatch> <d2p1:VehicleType>String</d2p1:VehicleType> <d2p1:ActualPrice>0</d2p1:ActualPrice> <d2p1:OTR>0</d2p1:OTR> <d2p1:RetailPrice_ExVAT>0</d2p1:RetailPrice_ExVAT> <d2p1:TotalOfferValue>0</d2p1:TotalOfferValue> </d2p1:Vehicle> </d2p1:BackOrderDecimal> </BackOrders> <FeatureStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO"> <d2p1:AgencyEnabled>false</d2p1:AgencyEnabled> </FeatureStatus> </GetBackOrderCustomerResponse>