GET | /v1/details/{vehicleType}/{Identifier} | Get Vehicle Details | |
---|---|---|---|
GET | /details/{vehicleType}/{Identifier} | Get Vehicle Details |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.VehicleManagement.API.Shared.POCO.V3
Namespace Global
Namespace Mercedes.VehicleManagement.API.Shared.POCO.V3
Public Partial Class BackOrderVehicleDetails
Inherits BackOrderVehicleDetailsBase
Public Overridable Property Engine As String
End Class
Public Partial Class BackOrderVehicleDetailsBase
Public Overridable Property Vin As String
Public Overridable Property CommissionNumber As String
Public Overridable Property Description As String
Public Overridable Property Model As String
Public Overridable Property FullModelYearCode As String
Public Overridable Property RetailerId As Integer
Public Overridable Property ImageUrl As String
Public Overridable Property Colour As String
Public Overridable Property ColourDescription As String
Public Overridable Property BodyStyle As String
Public Overridable Property FuelType As String
Public Overridable Property Transmission As String
Public Overridable Property TransmissionType As String
Public Overridable Property Package As String
Public Overridable Property Packages As List(Of String) = New List(Of String)
Public Overridable Property Line As String
Public Overridable Property Upholstery As String
Public Overridable Property UpholsteryDescription As String
Public Overridable Property UsageCode As String
Public Overridable Property Account As String
Public Overridable Property NST As String
Public Overridable Property Baumuster As String
Public Overridable Property ElectricRange As Decimal?
Public Overridable Property ElectricConsumption As Decimal?
Public Overridable Property RetailPrice_ExVAT As Decimal
Public Overridable Property ActualPrice As Decimal?
Public Overridable Property OTRPrice As Decimal
Public Overridable Property VehicleType As String
Public Overridable Property Secured As Boolean
Public Overridable Property ProductionDate As String
Public Overridable Property PortArrivalDate As Date?
Public Overridable Property DisplayRetailer As String
Public Overridable Property Location As String
Public Overridable Property Bm7NST As String
Public Overridable Property IsAvailableOnline As Boolean
Public Overridable Property IsSpecialistCar As Boolean
Public Overridable Property IsSellable As Boolean
Public Overridable Property InBackOrderAccount As Boolean
Public Overridable Property VehicleAuditDetails As List(Of VehicleAuditDetails) = New List(Of VehicleAuditDetails)
Public Overridable Property IspVehicleCustomerDescriptions As List(Of String)
Public Overridable Property UnderOffer As Boolean
Public Overridable Property IsAllocatedToBackOrder As Boolean
End Class
Public Partial Class VehicleAuditDetails
Public Overridable Property UserId As String
Public Overridable Property Status As Boolean
Public Overridable Property Notes As String
Public Overridable Property CreationDate As String
End Class
Public Partial Class VehicleDetailsRequest
Implements IGet
Public Overridable Property Identifier As String
Public Overridable Property VehicleType As String
End Class
Public Partial Class VehicleDetailsResponse
Public Overridable Property Vehicle As BackOrderVehicleDetails
End Class
End Namespace
End Namespace
VB.NET VehicleDetailsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/details/{vehicleType}/{Identifier} HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"vehicle":{"engine":"String","vin":"String","commissionNumber":"String","description":"String","model":"String","fullModelYearCode":"String","retailerId":0,"imageUrl":"String","colour":"String","colourDescription":"String","bodyStyle":"String","fuelType":"String","transmission":"String","transmissionType":"String","package":"String","packages":["String"],"line":"String","upholstery":"String","upholsteryDescription":"String","usageCode":"String","account":"String","nst":"String","baumuster":"String","electricRange":0,"electricConsumption":0,"retailPrice_ExVAT":0,"actualPrice":0,"otrPrice":0,"vehicleType":"String","secured":false,"productionDate":"String","portArrivalDate":"\/Date(-62135596800000-0000)\/","displayRetailer":"String","location":"String","bm7NST":"String","isAvailableOnline":false,"isSpecialistCar":false,"isSellable":false,"inBackOrderAccount":false,"vehicleAuditDetails":[{"userId":"String","status":false,"notes":"String","creationDate":"String"}],"ispVehicleCustomerDescriptions":["String"],"underOffer":false,"isAllocatedToBackOrder":false}}