| GET | /v1/{VehicleType}/Vehicle/{vehicleIdentifier} | Get vehicle data by commission number | This endpoint calls Vehicle Data API and returns the data that populates the car details page in OneAdmin |
|---|
const std = @import("std");
pub const OfferVehicle = struct {
retailPriceExVAT: ?[]const u8 = null,
};
pub const Offer = struct {
id: i32 = 0,
offerType: ?[]const u8 = null,
campaignName: ?[]const u8 = null,
from: ?[]const u8 = null,
to: ?[]const u8 = null,
value: ?[]const u8 = null,
net: ?f64 = null,
offerVehicle: ?OfferVehicle = null,
pending: bool = false,
documentUrl: ?[]const u8 = null,
personalised: bool = false,
isPersonalisedMonetaryOffer: bool = false,
campaignVIPDiscount: bool = false,
offerValueNet: ?f64 = null,
campaignGovernmentGrant: bool = false,
};
pub const PersonalisedOffer = struct {
id: i32 = 0,
offerType: ?[]const u8 = null,
campaignName: ?[]const u8 = null,
from: ?[]const u8 = null,
to: ?[]const u8 = null,
value: ?[]const u8 = null,
net: ?f64 = null,
offerVehicle: ?OfferVehicle = null,
pending: bool = false,
documentUrl: ?[]const u8 = null,
personalised: bool = false,
isPersonalisedMonetaryOffer: bool = false,
campaignVIPDiscount: bool = false,
offerValueNet: ?f64 = null,
campaignGovernmentGrant: bool = false,
category: ?[]const u8 = null,
description: ?[]const u8 = null,
reference: ?[]const u8 = null,
campaignId: i32 = 0,
certificateRequired: ?bool = null,
autoSelect: bool = false,
};
pub const Message = struct {
id: i32 = 0,
vin: ?[]const u8 = null,
campaignId: i32 = 0,
value: ?[]const u8 = null,
campaignDescription: ?[]const u8 = null,
from: ?[]const u8 = null,
to: ?[]const u8 = null,
documentUrl: ?[]const u8 = null,
};
pub const OfferHistory = struct {
id: i32 = 0,
auditType: ?[]const u8 = null,
offerType: ?[]const u8 = null,
source: ?[]const u8 = null,
from: ?[]const u8 = null,
to: ?[]const u8 = null,
personalised: bool = false,
value: ?[]const u8 = null,
net: ?[]const u8 = null,
vat: ?[]const u8 = null,
description: ?[]const u8 = null,
vin: ?[]const u8 = null,
gssn: ?[]const u8 = null,
creation: ?[]const u8 = null,
modified: ?[]const u8 = null,
userId: ?[]const u8 = null,
user: i32 = 0,
offerId: i32 = 0,
commissionNumber: ?[]const u8 = null,
campaignId: ?i32 = null,
campaignDescription: ?[]const u8 = null,
creationDate: ?[]const u8 = null,
isUsedCarOffer: bool = false,
};
pub const FinanceOffer = struct {
campaignDescription: ?[]const u8 = null,
termsAndConditions: ?[]const u8 = null,
label: ?[]const u8 = null,
campaignId: i32 = 0,
documentUrl: ?[]const u8 = null,
from: ?[]const u8 = null,
id: i32 = 0,
to: ?[]const u8 = null,
value: ?[]const u8 = null,
vin: ?[]const u8 = null,
enabled: bool = false,
pending: bool = false,
offerType: ?[]const u8 = null,
};
pub const VehicleByIdentifierResponse = struct {
campaignOffers: []Offer = &.{},
campaignPersonalisedOffers: []PersonalisedOffer = &.{},
campaignVoucherOffers: []PersonalisedOffer = &.{},
campaignGovernmentGrantOffers: []Offer = &.{},
campaignMessages: []Message = &.{},
offerHistories: ?[]OfferHistory = null,
financeOffers: ?[]FinanceOffer = null,
};
pub const VehicleDataBase = struct {
vin: ?[]const u8 = null,
description: ?[]const u8 = null,
model: ?[]const u8 = null,
otr: ?[]const u8 = null,
retailPriceExVAT: ?[]const u8 = null,
actualPrice: ?[]const u8 = null,
p11D: ?[]const u8 = null,
fuelType: ?[]const u8 = null,
transmission: ?[]const u8 = null,
transmissionType: ?[]const u8 = null,
colour: ?[]const u8 = null,
colourCode: ?[]const u8 = null,
colourDescription: ?[]const u8 = null,
commissionNumber: ?[]const u8 = null,
offerAvailable: bool = false,
campaignDiscountOfferTotal: i32 = 0,
campaignDiscountOfferTotalCurrent: i32 = 0,
campaignDiscountOfferTotalPending: i32 = 0,
campaignServiceOfferTotal: i32 = 0,
campaignServiceOfferTotalCurrent: i32 = 0,
campaignServiceOfferTotalPending: i32 = 0,
campaignCustomOfferTotal: i32 = 0,
campaignPersonalisedOfferTotalCurrent: i32 = 0,
campaignPersonalisedOfferTotalPending: i32 = 0,
campaignPersonalisedOfferTotal: i32 = 0,
campaignCustomOfferTotalCurrent: i32 = 0,
campaignCustomOfferTotalPending: i32 = 0,
campaignOtherOfferTotal: i32 = 0,
campaignOtherOfferTotalCurrent: i32 = 0,
campaignOtherOfferTotalPending: i32 = 0,
retailerDiscountOfferTotal: i32 = 0,
retailerDiscountOfferTotalCurrent: i32 = 0,
retailerDiscountOfferTotalPending: i32 = 0,
retailerServiceOfferTotal: i32 = 0,
retailerServiceOfferTotalCurrent: i32 = 0,
retailerServiceOfferTotalPending: i32 = 0,
retailerCustomOfferTotal: i32 = 0,
retailerCustomOfferTotalCurrent: i32 = 0,
retailerCustomOfferTotalPending: i32 = 0,
retailerWarrantyOfferTotal: i32 = 0,
retailerWarrantyOfferTotalCurrent: i32 = 0,
retailerWarrantyOfferTotalPending: i32 = 0,
retailerOfferTotal: i32 = 0,
retailerOfferTotalCurrent: i32 = 0,
retailerOfferTotalPending: i32 = 0,
campaignOfferTotal: i32 = 0,
campaignOfferTotalCurrent: i32 = 0,
campaignOfferTotalPending: i32 = 0,
campaignAndOfferTotal: i32 = 0,
campaignAndOfferTotalCurrent: i32 = 0,
campaignAndOfferTotalPending: i32 = 0,
offerTotal: i32 = 0,
offerTotalCurrent: i32 = 0,
offerTotalPending: i32 = 0,
creation: ?[]const u8 = null,
modified: ?[]const u8 = null,
electricRange: i32 = 0,
electricConsumption: i32 = 0,
portArrivalDate: ?[]const u8 = null,
daysSincePortArrival: ?i32 = null,
retailPriceIncVAT: f64 = 0,
bodyStyle: ?[]const u8 = null,
upholstery: ?[]const u8 = null,
upholsteryCode: ?[]const u8 = null,
upholsteryType: ?[]const u8 = null,
packageNames: [][]const u8 = &.{},
line: ?[]const u8 = null,
mappedLine: ?[]const u8 = null,
currentRetailerOfferPrice: f64 = 0,
retailPrice: ?[]const u8 = null,
vatQualifying: bool = false,
retailerId: i32 = 0,
gssnId: ?[]const u8 = null,
noImage: bool = false,
imageUrl: ?[]const u8 = null,
isAvailableOnline: bool = false,
isBackOrdered: bool = false,
creationDate: ?[]const u8 = null,
maintenanceDate: ?[]const u8 = null,
registrationNumber: ?[]const u8 = null,
registrationDate: ?[]const u8 = null,
mileage: ?i32 = null,
tradeInDate: ?[]const u8 = null,
source: ?[]const u8 = null,
vehicleType: ?[]const u8 = null,
offerAmount: ?[]const u8 = null,
offerExpiry: ?[]const u8 = null,
activeOffers: []i32 = &.{},
campaignMessagesTotal: i32 = 0,
underOffer: bool = false,
isDisplayStock: bool = false,
displayRetailer: ?[]const u8 = null,
displayRetailerGssnId: ?[]const u8 = null,
location: ?[]const u8 = null,
account: ?[]const u8 = null,
accountType: ?[]const u8 = null,
usageCode: ?[]const u8 = null,
bm7NST: ?[]const u8 = null,
isSellable: bool = false,
secured: bool = false,
specialist: bool = false,
isMotabilityRetailer: bool = false,
upholsteryDescription: ?[]const u8 = null,
inBackOrderAccount: bool = false,
fullModelYearCode: ?[]const u8 = null,
baumuster: ?[]const u8 = null,
isMotability: bool = false,
pipAdvanceRentalGross: ?f64 = null,
wpmsAdvanceRentalGross: ?f64 = null,
ispVehicleCustomerDescriptions: ?[][]const u8 = null,
eligibleForMaTransfer: bool = false,
confirmedProductionDate: ?[]const u8 = null,
forecastedArrivalDate: ?[]const u8 = null,
};
pub const VehicleData = struct {
vin: ?[]const u8 = null,
description: ?[]const u8 = null,
model: ?[]const u8 = null,
otr: ?[]const u8 = null,
retailPriceExVAT: ?[]const u8 = null,
actualPrice: ?[]const u8 = null,
p11D: ?[]const u8 = null,
fuelType: ?[]const u8 = null,
transmission: ?[]const u8 = null,
transmissionType: ?[]const u8 = null,
colour: ?[]const u8 = null,
colourCode: ?[]const u8 = null,
colourDescription: ?[]const u8 = null,
commissionNumber: ?[]const u8 = null,
offerAvailable: bool = false,
campaignDiscountOfferTotal: i32 = 0,
campaignDiscountOfferTotalCurrent: i32 = 0,
campaignDiscountOfferTotalPending: i32 = 0,
campaignServiceOfferTotal: i32 = 0,
campaignServiceOfferTotalCurrent: i32 = 0,
campaignServiceOfferTotalPending: i32 = 0,
campaignCustomOfferTotal: i32 = 0,
campaignPersonalisedOfferTotalCurrent: i32 = 0,
campaignPersonalisedOfferTotalPending: i32 = 0,
campaignPersonalisedOfferTotal: i32 = 0,
campaignCustomOfferTotalCurrent: i32 = 0,
campaignCustomOfferTotalPending: i32 = 0,
campaignOtherOfferTotal: i32 = 0,
campaignOtherOfferTotalCurrent: i32 = 0,
campaignOtherOfferTotalPending: i32 = 0,
retailerDiscountOfferTotal: i32 = 0,
retailerDiscountOfferTotalCurrent: i32 = 0,
retailerDiscountOfferTotalPending: i32 = 0,
retailerServiceOfferTotal: i32 = 0,
retailerServiceOfferTotalCurrent: i32 = 0,
retailerServiceOfferTotalPending: i32 = 0,
retailerCustomOfferTotal: i32 = 0,
retailerCustomOfferTotalCurrent: i32 = 0,
retailerCustomOfferTotalPending: i32 = 0,
retailerWarrantyOfferTotal: i32 = 0,
retailerWarrantyOfferTotalCurrent: i32 = 0,
retailerWarrantyOfferTotalPending: i32 = 0,
retailerOfferTotal: i32 = 0,
retailerOfferTotalCurrent: i32 = 0,
retailerOfferTotalPending: i32 = 0,
campaignOfferTotal: i32 = 0,
campaignOfferTotalCurrent: i32 = 0,
campaignOfferTotalPending: i32 = 0,
campaignAndOfferTotal: i32 = 0,
campaignAndOfferTotalCurrent: i32 = 0,
campaignAndOfferTotalPending: i32 = 0,
offerTotal: i32 = 0,
offerTotalCurrent: i32 = 0,
offerTotalPending: i32 = 0,
creation: ?[]const u8 = null,
modified: ?[]const u8 = null,
electricRange: i32 = 0,
electricConsumption: i32 = 0,
portArrivalDate: ?[]const u8 = null,
daysSincePortArrival: ?i32 = null,
retailPriceIncVAT: f64 = 0,
bodyStyle: ?[]const u8 = null,
upholstery: ?[]const u8 = null,
upholsteryCode: ?[]const u8 = null,
upholsteryType: ?[]const u8 = null,
packageNames: [][]const u8 = &.{},
line: ?[]const u8 = null,
mappedLine: ?[]const u8 = null,
currentRetailerOfferPrice: f64 = 0,
retailPrice: ?[]const u8 = null,
vatQualifying: bool = false,
retailerId: i32 = 0,
gssnId: ?[]const u8 = null,
noImage: bool = false,
imageUrl: ?[]const u8 = null,
isAvailableOnline: bool = false,
isBackOrdered: bool = false,
creationDate: ?[]const u8 = null,
maintenanceDate: ?[]const u8 = null,
registrationNumber: ?[]const u8 = null,
registrationDate: ?[]const u8 = null,
mileage: ?i32 = null,
tradeInDate: ?[]const u8 = null,
source: ?[]const u8 = null,
vehicleType: ?[]const u8 = null,
offerAmount: ?[]const u8 = null,
offerExpiry: ?[]const u8 = null,
activeOffers: []i32 = &.{},
campaignMessagesTotal: i32 = 0,
underOffer: bool = false,
isDisplayStock: bool = false,
displayRetailer: ?[]const u8 = null,
displayRetailerGssnId: ?[]const u8 = null,
location: ?[]const u8 = null,
account: ?[]const u8 = null,
accountType: ?[]const u8 = null,
usageCode: ?[]const u8 = null,
bm7NST: ?[]const u8 = null,
isSellable: bool = false,
secured: bool = false,
specialist: bool = false,
isMotabilityRetailer: bool = false,
upholsteryDescription: ?[]const u8 = null,
inBackOrderAccount: bool = false,
fullModelYearCode: ?[]const u8 = null,
baumuster: ?[]const u8 = null,
isMotability: bool = false,
pipAdvanceRentalGross: ?f64 = null,
wpmsAdvanceRentalGross: ?f64 = null,
ispVehicleCustomerDescriptions: ?[][]const u8 = null,
eligibleForMaTransfer: bool = false,
confirmedProductionDate: ?[]const u8 = null,
forecastedArrivalDate: ?[]const u8 = null,
engine: ?[]const u8 = null,
};
pub const Equipment = struct {
id: ?i32 = null,
code: ?[]const u8 = null,
description: ?[]const u8 = null,
};
pub const VehicleIdentifierData = struct {
vin: ?[]const u8 = null,
description: ?[]const u8 = null,
model: ?[]const u8 = null,
otr: ?[]const u8 = null,
retailPriceExVAT: ?[]const u8 = null,
actualPrice: ?[]const u8 = null,
p11D: ?[]const u8 = null,
fuelType: ?[]const u8 = null,
transmission: ?[]const u8 = null,
transmissionType: ?[]const u8 = null,
colour: ?[]const u8 = null,
colourCode: ?[]const u8 = null,
colourDescription: ?[]const u8 = null,
commissionNumber: ?[]const u8 = null,
offerAvailable: bool = false,
campaignDiscountOfferTotal: i32 = 0,
campaignDiscountOfferTotalCurrent: i32 = 0,
campaignDiscountOfferTotalPending: i32 = 0,
campaignServiceOfferTotal: i32 = 0,
campaignServiceOfferTotalCurrent: i32 = 0,
campaignServiceOfferTotalPending: i32 = 0,
campaignCustomOfferTotal: i32 = 0,
campaignPersonalisedOfferTotalCurrent: i32 = 0,
campaignPersonalisedOfferTotalPending: i32 = 0,
campaignPersonalisedOfferTotal: i32 = 0,
campaignCustomOfferTotalCurrent: i32 = 0,
campaignCustomOfferTotalPending: i32 = 0,
campaignOtherOfferTotal: i32 = 0,
campaignOtherOfferTotalCurrent: i32 = 0,
campaignOtherOfferTotalPending: i32 = 0,
retailerDiscountOfferTotal: i32 = 0,
retailerDiscountOfferTotalCurrent: i32 = 0,
retailerDiscountOfferTotalPending: i32 = 0,
retailerServiceOfferTotal: i32 = 0,
retailerServiceOfferTotalCurrent: i32 = 0,
retailerServiceOfferTotalPending: i32 = 0,
retailerCustomOfferTotal: i32 = 0,
retailerCustomOfferTotalCurrent: i32 = 0,
retailerCustomOfferTotalPending: i32 = 0,
retailerWarrantyOfferTotal: i32 = 0,
retailerWarrantyOfferTotalCurrent: i32 = 0,
retailerWarrantyOfferTotalPending: i32 = 0,
retailerOfferTotal: i32 = 0,
retailerOfferTotalCurrent: i32 = 0,
retailerOfferTotalPending: i32 = 0,
campaignOfferTotal: i32 = 0,
campaignOfferTotalCurrent: i32 = 0,
campaignOfferTotalPending: i32 = 0,
campaignAndOfferTotal: i32 = 0,
campaignAndOfferTotalCurrent: i32 = 0,
campaignAndOfferTotalPending: i32 = 0,
offerTotal: i32 = 0,
offerTotalCurrent: i32 = 0,
offerTotalPending: i32 = 0,
creation: ?[]const u8 = null,
modified: ?[]const u8 = null,
electricRange: i32 = 0,
electricConsumption: i32 = 0,
portArrivalDate: ?[]const u8 = null,
daysSincePortArrival: ?i32 = null,
retailPriceIncVAT: f64 = 0,
bodyStyle: ?[]const u8 = null,
upholstery: ?[]const u8 = null,
upholsteryCode: ?[]const u8 = null,
upholsteryType: ?[]const u8 = null,
packageNames: [][]const u8 = &.{},
line: ?[]const u8 = null,
mappedLine: ?[]const u8 = null,
currentRetailerOfferPrice: f64 = 0,
retailPrice: ?[]const u8 = null,
vatQualifying: bool = false,
retailerId: i32 = 0,
gssnId: ?[]const u8 = null,
noImage: bool = false,
imageUrl: ?[]const u8 = null,
isAvailableOnline: bool = false,
isBackOrdered: bool = false,
creationDate: ?[]const u8 = null,
maintenanceDate: ?[]const u8 = null,
registrationNumber: ?[]const u8 = null,
registrationDate: ?[]const u8 = null,
mileage: ?i32 = null,
tradeInDate: ?[]const u8 = null,
source: ?[]const u8 = null,
vehicleType: ?[]const u8 = null,
offerAmount: ?[]const u8 = null,
offerExpiry: ?[]const u8 = null,
activeOffers: []i32 = &.{},
campaignMessagesTotal: i32 = 0,
underOffer: bool = false,
isDisplayStock: bool = false,
displayRetailer: ?[]const u8 = null,
displayRetailerGssnId: ?[]const u8 = null,
location: ?[]const u8 = null,
account: ?[]const u8 = null,
accountType: ?[]const u8 = null,
usageCode: ?[]const u8 = null,
bm7NST: ?[]const u8 = null,
isSellable: bool = false,
secured: bool = false,
specialist: bool = false,
isMotabilityRetailer: bool = false,
upholsteryDescription: ?[]const u8 = null,
inBackOrderAccount: bool = false,
fullModelYearCode: ?[]const u8 = null,
baumuster: ?[]const u8 = null,
isMotability: bool = false,
pipAdvanceRentalGross: ?f64 = null,
wpmsAdvanceRentalGross: ?f64 = null,
ispVehicleCustomerDescriptions: ?[][]const u8 = null,
eligibleForMaTransfer: bool = false,
confirmedProductionDate: ?[]const u8 = null,
forecastedArrivalDate: ?[]const u8 = null,
engine: ?[]const u8 = null,
retailer: ?[]const u8 = null,
hasMotabilityError: bool = false,
equipment: []Equipment = &.{},
vehicleClass: ?[]const u8 = null,
};
pub const VehicleByCommissionNumberResponse = struct {
campaignOffers: []Offer = &.{},
campaignPersonalisedOffers: []PersonalisedOffer = &.{},
campaignVoucherOffers: []PersonalisedOffer = &.{},
campaignGovernmentGrantOffers: []Offer = &.{},
campaignMessages: []Message = &.{},
offerHistories: ?[]OfferHistory = null,
financeOffers: ?[]FinanceOffer = null,
vehicle: ?VehicleIdentifierData = null,
};
pub const VehicleByCommissionNumberRequest = struct {
vehicleIdentifier: ?[]const u8 = null,
vehicleType: ?[]const u8 = null,
};
Zig VehicleByCommissionNumberRequest 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/{VehicleType}/Vehicle/{vehicleIdentifier} HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
vehicle:
{
retailer: String,
hasMotabilityError: False,
equipment:
[
{
id: 0,
code: String,
description: String
}
],
vehicleClass: String,
engine: String,
vin: String,
description: String,
model: String,
otr: String,
retailPriceExVAT: String,
actualPrice: String,
p11D: String,
fuelType: String,
transmission: String,
transmissionType: String,
colour: String,
colourCode: String,
colourDescription: String,
commissionNumber: String,
offerAvailable: False,
campaignDiscountOfferTotal: 0,
campaignDiscountOfferTotalCurrent: 0,
campaignDiscountOfferTotalPending: 0,
campaignServiceOfferTotal: 0,
campaignServiceOfferTotalCurrent: 0,
campaignServiceOfferTotalPending: 0,
campaignCustomOfferTotal: 0,
campaignPersonalisedOfferTotalCurrent: 0,
campaignPersonalisedOfferTotalPending: 0,
campaignPersonalisedOfferTotal: 0,
campaignCustomOfferTotalCurrent: 0,
campaignCustomOfferTotalPending: 0,
campaignOtherOfferTotal: 0,
campaignOtherOfferTotalCurrent: 0,
campaignOtherOfferTotalPending: 0,
retailerDiscountOfferTotal: 0,
retailerDiscountOfferTotalCurrent: 0,
retailerDiscountOfferTotalPending: 0,
retailerServiceOfferTotal: 0,
retailerServiceOfferTotalCurrent: 0,
retailerServiceOfferTotalPending: 0,
retailerCustomOfferTotal: 0,
retailerCustomOfferTotalCurrent: 0,
retailerCustomOfferTotalPending: 0,
retailerWarrantyOfferTotal: 0,
retailerWarrantyOfferTotalCurrent: 0,
retailerWarrantyOfferTotalPending: 0,
retailerOfferTotal: 0,
retailerOfferTotalCurrent: 0,
retailerOfferTotalPending: 0,
campaignOfferTotal: 0,
campaignOfferTotalCurrent: 0,
campaignOfferTotalPending: 0,
campaignAndOfferTotal: 0,
campaignAndOfferTotalCurrent: 0,
campaignAndOfferTotalPending: 0,
offerTotal: 0,
offerTotalCurrent: 0,
offerTotalPending: 0,
creation: String,
modified: String,
electricRange: 0,
electricConsumption: 0,
portArrivalDate: 0001-01-01,
daysSincePortArrival: 0,
retailPriceIncVAT: 0,
bodyStyle: String,
upholstery: String,
upholsteryCode: String,
upholsteryType: String,
packageNames:
[
String
],
line: String,
mappedLine: String,
currentRetailerOfferPrice: 0,
retailPrice: String,
vatQualifying: False,
retailerId: 0,
gssnId: String,
noImage: False,
imageUrl: String,
isAvailableOnline: False,
isBackOrdered: False,
creationDate: String,
maintenanceDate: String,
registrationNumber: String,
registrationDate: 0001-01-01,
mileage: 0,
tradeInDate: 0001-01-01,
source: String,
vehicleType: String,
offerAmount: String,
offerExpiry: String,
activeOffers:
[
0
],
campaignMessagesTotal: 0,
underOffer: False,
isDisplayStock: False,
displayRetailer: String,
displayRetailerGssnId: String,
location: String,
account: String,
accountType: String,
usageCode: String,
bm7NST: String,
isSellable: False,
secured: False,
specialist: False,
isMotabilityRetailer: False,
upholsteryDescription: String,
inBackOrderAccount: False,
fullModelYearCode: String,
baumuster: String,
isMotability: False,
pipAdvanceRentalGross: 0,
wpmsAdvanceRentalGross: 0,
ispVehicleCustomerDescriptions:
[
String
],
eligibleForMaTransfer: False,
confirmedProductionDate: String,
forecastedArrivalDate: String
},
campaignOffers:
[
{
id: 0,
offerType: String,
campaignName: String,
from: String,
to: String,
value: String,
net: 0,
offerVehicle:
{
retailPriceExVAT: String
},
pending: False,
documentUrl: String,
personalised: False,
isPersonalisedMonetaryOffer: False,
campaignVIPDiscount: False,
offerValueNet: 0,
campaignGovernmentGrant: False
}
],
campaignPersonalisedOffers:
[
{
category: String,
description: String,
reference: String,
campaignId: 0,
certificateRequired: False,
autoSelect: False,
id: 0,
offerType: String,
campaignName: String,
from: String,
to: String,
value: String,
net: 0,
offerVehicle:
{
retailPriceExVAT: String
},
pending: False,
documentUrl: String,
personalised: False,
isPersonalisedMonetaryOffer: False,
campaignVIPDiscount: False,
offerValueNet: 0,
campaignGovernmentGrant: False
}
],
campaignVoucherOffers:
[
{
category: String,
description: String,
reference: String,
campaignId: 0,
certificateRequired: False,
autoSelect: False,
id: 0,
offerType: String,
campaignName: String,
from: String,
to: String,
value: String,
net: 0,
offerVehicle:
{
retailPriceExVAT: String
},
pending: False,
documentUrl: String,
personalised: False,
isPersonalisedMonetaryOffer: False,
campaignVIPDiscount: False,
offerValueNet: 0,
campaignGovernmentGrant: False
}
],
campaignGovernmentGrantOffers:
[
{
id: 0,
offerType: String,
campaignName: String,
from: String,
to: String,
value: String,
net: 0,
offerVehicle:
{
retailPriceExVAT: String
},
pending: False,
documentUrl: String,
personalised: False,
isPersonalisedMonetaryOffer: False,
campaignVIPDiscount: False,
offerValueNet: 0,
campaignGovernmentGrant: False
}
],
campaignMessages:
[
{
id: 0,
vin: String,
campaignId: 0,
value: String,
campaignDescription: String,
from: String,
to: String,
documentUrl: String
}
],
offerHistories:
[
{
id: 0,
auditType: String,
offerType: String,
source: String,
from: String,
to: String,
personalised: False,
value: String,
net: String,
vat: String,
description: String,
vin: String,
gssn: String,
creation: String,
modified: String,
userId: String,
user: 0,
offerId: 0,
commissionNumber: String,
campaignId: 0,
campaignDescription: String,
creationDate: 0001-01-01,
isUsedCarOffer: False
}
],
financeOffers:
[
{
campaignDescription: String,
termsAndConditions: String,
label: String,
campaignId: 0,
documentUrl: String,
from: String,
id: 0,
to: String,
value: String,
vin: String,
enabled: False,
pending: False,
offerType: String
}
]
}