GET | /v1/backordercsv/match/all | Get Back Order Match All | |
---|---|---|---|
GET | /v1/backordercsv/match/all/{Guid} | Get Back Order Match All by Guid |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders
Imports Mercedes.Agency.API.Shared.POCO
Namespace Global
Namespace Mercedes.Agency.API.Shared.POCO
Public Partial Class BackOrderVehicleCsv
Public Overridable Property VehicleType As String
Public Overridable Property Vid As String
Public Overridable Property Vin As String
Public Overridable Property Fin As String
Public Overridable Property CommissionNumber As String
Public Overridable Property ChassisNumber As String
Public Overridable Property Line As String
Public Overridable Property Packages As List(Of String) = New List(Of String)
Public Overridable Property ModelYear As String
Public Overridable Property ModelYearCode As String
Public Overridable Property Description As String
Public Overridable Property VehicleClass As String
Public Overridable Property RetailPrice_ExVAT As String
Public Overridable Property RetailPrice_IncVAT As Decimal?
Public Overridable Property OTR As String
Public Overridable Property ActualPrice As String
Public Overridable Property BodyStyle As String
Public Overridable Property Model As String
Public Overridable Property Colour As String
Public Overridable Property ColourGroup As String
Public Overridable Property Fuel As String
Public Overridable Property ProductRange As String
Public Overridable Property Engine As String
Public Overridable Property IsAMG As Boolean
Public Overridable Property Transmission As String
Public Overridable Property Upholstery As String
Public Overridable Property Nst As String
Public Overridable Property BM7NST As String
Public Overridable Property Acceleration As Decimal?
Public Overridable Property BootCapacity As Decimal?
Public Overridable Property TopSpeed As Decimal?
Public Overridable Property DriveConcept As String
Public Overridable Property CombustionPowerHp As Decimal?
Public Overridable Property ElectricPowerKw As Decimal?
Public Overridable Property ElectricPowerHp As Decimal?
Public Overridable Property CombinedPowerKw As Decimal?
Public Overridable Property CombinedPowerHP As Decimal?
Public Overridable Property ElectricRange As Decimal?
Public Overridable Property ElectricConsumption As Decimal?
Public Overridable Property EmissionCombined As String
Public Overridable Property EmissionExtraUrban As String
Public Overridable Property EmissionUrban As String
Public Overridable Property Emission As Decimal?
Public Overridable Property EmissionDirective As String
Public Overridable Property EnergyEfficiencyClass As String
Public Overridable Property WltpCombined As Decimal?
Public Overridable Property WltpLow As Decimal?
Public Overridable Property WltpMedium As Decimal?
Public Overridable Property WltpHigh As Decimal?
Public Overridable Property WltpExtraHigh As Decimal?
Public Overridable Property WltpEmissionCombined As Decimal?
Public Overridable Property PortArrivalDate As String
Public Overridable Property CreationDate As Date?
Public Overridable Property LastUpdated As Date?
Public Overridable Property IsDisplayStock As Boolean
Public Overridable Property DisplayStockAgent As String
Public Overridable Property IsSpecialistCar As Boolean
Public Overridable Property Account As String
Public Overridable Property Location As String
Public Overridable Property CesarIdShipToParty As String
Public Overridable Property VehicleUsageCode As String
Public Overridable Property IsSellable As Boolean
Public Overridable Property UnderOffer As Boolean
Public Overridable Property MbukSecured As Boolean
Public Overridable Property HalfModelYearCode As String
Public Overridable Property FullModelYearCode As String
Public Overridable Property ProductionDate As String
Public Overridable Property IsMotability As Boolean
End Class
End Namespace
Namespace Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders
Public Partial Class GetBackOrderCsvMatchAllRequest
Inherits GetBackOrderMatchRequest
Implements IGet
End Class
Public Partial Class GetBackOrderMatchAllCsvResponse
Public Overridable Property Vehicles As List(Of BackOrderVehicleCsv) = New List(Of BackOrderVehicleCsv)
End Class
Public Partial Class GetBackOrderMatchRequest
Public Overridable Property Guid As Guid
End Class
End Namespace
End Namespace
VB.NET GetBackOrderCsvMatchAllRequest 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/backordercsv/match/all 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, ProductionDate: String, IsMotability: False } ] }