| GET | /v1/backorder/othermatchcsv/{Guid} | Get Back Order Matches by Guid | Get Back Order Matches by Guid |
|---|
const std = @import("std");
pub const GetBackOrderMatchRequest = struct {
guid: ?[]const u8 = null,
};
pub const BackOrderVehicleCsv = struct {
vehicle_type: ?[]const u8 = null,
vid: ?[]const u8 = null,
vin: ?[]const u8 = null,
fin: ?[]const u8 = null,
commission_number: ?[]const u8 = null,
chassis_number: ?[]const u8 = null,
line: ?[]const u8 = null,
packages: [][]const u8 = &.{},
model_year: ?[]const u8 = null,
model_year_code: ?[]const u8 = null,
description: ?[]const u8 = null,
vehicle_class: ?[]const u8 = null,
retail_price__ex_v_a_t: ?[]const u8 = null,
retail_price__inc_v_a_t: ?f64 = null,
otr: ?[]const u8 = null,
actual_price: ?[]const u8 = null,
body_style: ?[]const u8 = null,
model: ?[]const u8 = null,
colour: ?[]const u8 = null,
colour_group: ?[]const u8 = null,
fuel: ?[]const u8 = null,
product_range: ?[]const u8 = null,
engine: ?[]const u8 = null,
is_a_m_g: bool = false,
transmission: ?[]const u8 = null,
upholstery: ?[]const u8 = null,
nst: ?[]const u8 = null,
b_m7_n_s_t: ?[]const u8 = null,
acceleration: ?f64 = null,
boot_capacity: ?f64 = null,
top_speed: ?f64 = null,
drive_concept: ?[]const u8 = null,
combustion_power_hp: ?f64 = null,
electric_power_kw: ?f64 = null,
electric_power_hp: ?f64 = null,
combined_power_kw: ?f64 = null,
combined_power_h_p: ?f64 = null,
electric_range: ?f64 = null,
electric_consumption: ?f64 = null,
emission_combined: ?[]const u8 = null,
emission_extra_urban: ?[]const u8 = null,
emission_urban: ?[]const u8 = null,
emission: ?f64 = null,
emission_directive: ?[]const u8 = null,
energy_efficiency_class: ?[]const u8 = null,
wltp_combined: ?f64 = null,
wltp_low: ?f64 = null,
wltp_medium: ?f64 = null,
wltp_high: ?f64 = null,
wltp_extra_high: ?f64 = null,
wltp_emission_combined: ?f64 = null,
port_arrival_date: ?[]const u8 = null,
creation_date: ?[]const u8 = null,
last_updated: ?[]const u8 = null,
is_display_stock: bool = false,
display_stock_agent: ?[]const u8 = null,
is_specialist_car: bool = false,
account: ?[]const u8 = null,
location: ?[]const u8 = null,
cesar_id_ship_to_party: ?[]const u8 = null,
vehicle_usage_code: ?[]const u8 = null,
is_sellable: bool = false,
under_offer: bool = false,
mbuk_secured: bool = false,
half_model_year_code: ?[]const u8 = null,
full_model_year_code: ?[]const u8 = null,
is_motability: bool = false,
confirmed_production_date: ?[]const u8 = null,
forecasted_arrival_date: ?[]const u8 = null,
};
pub const GetBackOrderVehicleOtherMatchCsvResponse = struct {
vehicles: []BackOrderVehicleCsv = &.{},
};
pub const GetBackOrderVehicleOtherMatchCsvRequest = struct {
guid: ?[]const u8 = null,
};
Zig GetBackOrderVehicleOtherMatchCsvRequest 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/backorder/othermatchcsv/{Guid} 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
{
Vehicles:
[
{
VehicleType: String,
Vid: String,
Vin: String,
Fin: String,
CommissionNumber: String,
ChassisNumber: String,
Line: String,
Packages:
[
String
],
ModelYear: String,
ModelYearCode: String,
Description: String,
VehicleClass: String,
RetailPrice_ExVAT: String,
RetailPrice_IncVAT: 0,
OTR: String,
ActualPrice: String,
BodyStyle: String,
Model: String,
Colour: String,
ColourGroup: String,
Fuel: String,
ProductRange: String,
Engine: String,
IsAMG: False,
Transmission: String,
Upholstery: String,
Nst: String,
BM7NST: String,
Acceleration: 0,
BootCapacity: 0,
TopSpeed: 0,
DriveConcept: String,
CombustionPowerHp: 0,
ElectricPowerKw: 0,
ElectricPowerHp: 0,
CombinedPowerKw: 0,
CombinedPowerHP: 0,
ElectricRange: 0,
ElectricConsumption: 0,
EmissionCombined: String,
EmissionExtraUrban: String,
EmissionUrban: String,
Emission: 0,
EmissionDirective: String,
EnergyEfficiencyClass: String,
WltpCombined: 0,
WltpLow: 0,
WltpMedium: 0,
WltpHigh: 0,
WltpExtraHigh: 0,
WltpEmissionCombined: 0,
PortArrivalDate: String,
CreationDate: 0001-01-01,
LastUpdated: 0001-01-01,
IsDisplayStock: False,
DisplayStockAgent: String,
IsSpecialistCar: False,
Account: String,
Location: String,
CesarIdShipToParty: String,
VehicleUsageCode: String,
IsSellable: False,
UnderOffer: False,
MbukSecured: False,
HalfModelYearCode: String,
FullModelYearCode: String,
IsMotability: False,
ConfirmedProductionDate: 0001-01-01,
ForecastedArrivalDate: 0001-01-01
}
]
}