Mercedes.Agency.Orchestration.API

<back to all web services

GetBackOrderVehicleOtherMatchCsvRequest

BackOrder
Requires Authentication
The following routes are available for this service:
GET/v1/backorder/othermatchcsv/{Guid}Get Back Order Matches by Guid
import Foundation
import ServiceStack

public class GetBackOrderVehicleOtherMatchCsvRequest : GetBackOrderMatchRequest, IGet
{
    required public init(){ super.init() }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
    }
}

public class GetBackOrderMatchRequest : Codable
{
    public var guid:String

    required public init(){}
}

public class GetBackOrderVehicleOtherMatchCsvResponse : Codable
{
    public var vehicles:[BackOrderVehicleCsv] = []

    required public init(){}
}

public class BackOrderVehicleCsv : Codable
{
    public var vehicleType:String
    public var vid:String
    public var vin:String
    public var fin:String
    public var commissionNumber:String
    public var chassisNumber:String
    public var line:String
    public var packages:[String] = []
    public var modelYear:String
    public var modelYearCode:String
    public var Description:String
    public var vehicleClass:String
    public var retailPrice_ExVAT:String
    public var retailPrice_IncVAT:Double?
    public var otr:String
    public var actualPrice:String
    public var bodyStyle:String
    public var model:String
    public var colour:String
    public var colourGroup:String
    public var fuel:String
    public var productRange:String
    public var engine:String
    public var isAMG:Bool
    public var transmission:String
    public var upholstery:String
    public var nst:String
    public var bM7NST:String
    public var acceleration:Double?
    public var bootCapacity:Double?
    public var topSpeed:Double?
    public var driveConcept:String
    public var combustionPowerHp:Double?
    public var electricPowerKw:Double?
    public var electricPowerHp:Double?
    public var combinedPowerKw:Double?
    public var combinedPowerHP:Double?
    public var electricRange:Double?
    public var electricConsumption:Double?
    public var emissionCombined:String
    public var emissionExtraUrban:String
    public var emissionUrban:String
    public var emission:Double?
    public var emissionDirective:String
    public var energyEfficiencyClass:String
    public var wltpCombined:Double?
    public var wltpLow:Double?
    public var wltpMedium:Double?
    public var wltpHigh:Double?
    public var wltpExtraHigh:Double?
    public var wltpEmissionCombined:Double?
    public var portArrivalDate:String
    public var creationDate:Date?
    public var lastUpdated:Date?
    public var isDisplayStock:Bool
    public var displayStockAgent:String
    public var isSpecialistCar:Bool
    public var account:String
    public var location:String
    public var cesarIdShipToParty:String
    public var vehicleUsageCode:String
    public var isSellable:Bool
    public var underOffer:Bool
    public var mbukSecured:Bool
    public var halfModelYearCode:String
    public var fullModelYearCode:String
    public var productionDate:String
    public var isMotability:Bool

    required public init(){}
}


Swift GetBackOrderVehicleOtherMatchCsvRequest DTOs

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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":"\/Date(-62135596800000-0000)\/","LastUpdated":"\/Date(-62135596800000-0000)\/","IsDisplayStock":false,"DisplayStockAgent":"String","IsSpecialistCar":false,"Account":"String","Location":"String","CesarIdShipToParty":"String","VehicleUsageCode":"String","IsSellable":false,"UnderOffer":false,"MbukSecured":false,"HalfModelYearCode":"String","FullModelYearCode":"String","ProductionDate":"String","IsMotability":false}]}