Mercedes.VehicleManagement.API

<back to all web services

DisplayStockOverviewRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/DisplayStockOverviewFilter Display Stock vehicle data with usedCode and MBUKSecured
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.ServiceModel
Imports Mercedes.VehicleManagement.API.Shared.POCO

Namespace Global

    Namespace Mercedes.VehicleManagement.API.ServiceModel

        Public Partial Class DisplayStockOverviewRequest
            Implements IPost
            '''<Summary>
            '''Is vehicle secured
            '''</Summary>
            <ApiMember(Description:="Is vehicle secured", IsRequired:=true)>
            Public Overridable Property IsSecured As Boolean?

            '''<Summary>
            '''Usage codes
            '''</Summary>
            <ApiMember(Description:="Usage codes", IsRequired:=true)>
            Public Overridable Property UsageCode As List(Of String) = New List(Of String)
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.Shared.POCO

        Public Partial Class DisplayStockOverviewResponse
            Public Overridable Property Vehicles As List(Of VehicleDisplayStock) = New List(Of VehicleDisplayStock)
        End Class

        Public Partial Class VehicleDisplayStock
            Public Overridable Property Vin As String
            Public Overridable Property VehicleDescription As String
            Public Overridable Property CommissionNumber As String
            Public Overridable Property Retailer As String
            Public Overridable Property Model As String
            Public Overridable Property FuelType As String
            Public Overridable Property Transmission As String
            Public Overridable Property Colour As String
            Public Overridable Property ActualPrice As String
            Public Overridable Property GBDestDate As Date?
            Public Overridable Property VehicleUsage As String
            Public Overridable Property UnderOffer As Boolean
            Public Overridable Property IsSellable As Boolean
            Public Overridable Property VehicleType As String
            Public Overridable Property Vid As String
            Public Overridable Property Fin As String
            Public Overridable Property ChassisNumber As String
            Public Overridable Property Line As String
            Public Overridable Property ModelYear As String
            Public Overridable Property ModelYearCode As String
            Public Overridable Property VehicleClass As String
            Public Overridable Property RetailPrice_ExVAT As String
            Public Overridable Property RetailPrice_IncVAT As String
            Public Overridable Property Otr As String
            Public Overridable Property BodyStyle As String
            Public Overridable Property ProductRange As String
            Public Overridable Property Engine As String
            Public Overridable Property IsAMG As Boolean
            Public Overridable Property ColourGroup As String
            Public Overridable Property Upholstery As String
            Public Overridable Property Packages As String
            Public Overridable Property Nst As String
            Public Overridable Property BM7NST As String
            Public Overridable Property Acceleration As String
            Public Overridable Property BootCapacity As String
            Public Overridable Property TopSpeed As String
            Public Overridable Property DriveConcept As String
            Public Overridable Property CombustionPowerHp As String
            Public Overridable Property ElectricPowerKw As String
            Public Overridable Property ElectricPowerHp As String
            Public Overridable Property CombinedPowerKw As String
            Public Overridable Property CombinedPowerHP As String
            Public Overridable Property ElectricRange As String
            Public Overridable Property ElectricConsumption As String
            Public Overridable Property EmissionCombined As String
            Public Overridable Property EmissionExtraUrban As String
            Public Overridable Property EmissionUrban As String
            Public Overridable Property Emission As String
            Public Overridable Property EmissionDirective As String
            Public Overridable Property EnergyEfficiencyClass As String
            Public Overridable Property WltpCombined As String
            Public Overridable Property WltpLow As String
            Public Overridable Property WltpMedium As String
            Public Overridable Property WltpHigh As String
            Public Overridable Property WltpExtraHigh As String
            Public Overridable Property WltpEmissionCombined As String
            Public Overridable Property PortArrivalDate As Date?
            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 MbukSecured As Boolean
            Public Overridable Property IsAllocatedToBackOrder As Boolean
            Public Overridable Property BackOrderReference As String
            Public Overridable Property MarketAreaName As String
            Public Overridable Property MarketAreaId As Integer?
            Public Overridable Property DaysAtSite As String
        End Class
    End Namespace
End Namespace

VB.NET DisplayStockOverviewRequest DTOs

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/DisplayStockOverview HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DisplayStockOverviewRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.ServiceModel">
  <IsSecured>false</IsSecured>
  <UsageCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </UsageCode>
</DisplayStockOverviewRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DisplayStockOverviewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
  <Vehicles>
    <VehicleDisplayStock>
      <Acceleration>String</Acceleration>
      <Account>String</Account>
      <ActualPrice>String</ActualPrice>
      <BM7NST>String</BM7NST>
      <BackOrderReference>String</BackOrderReference>
      <BodyStyle>String</BodyStyle>
      <BootCapacity>String</BootCapacity>
      <CesarIdShipToParty>String</CesarIdShipToParty>
      <ChassisNumber>String</ChassisNumber>
      <Colour>String</Colour>
      <ColourGroup>String</ColourGroup>
      <CombinedPowerHP>String</CombinedPowerHP>
      <CombinedPowerKw>String</CombinedPowerKw>
      <CombustionPowerHp>String</CombustionPowerHp>
      <CommissionNumber>String</CommissionNumber>
      <CreationDate>0001-01-01T00:00:00</CreationDate>
      <DaysAtSite>String</DaysAtSite>
      <DisplayStockAgent>String</DisplayStockAgent>
      <DriveConcept>String</DriveConcept>
      <ElectricConsumption>String</ElectricConsumption>
      <ElectricPowerHp>String</ElectricPowerHp>
      <ElectricPowerKw>String</ElectricPowerKw>
      <ElectricRange>String</ElectricRange>
      <Emission>String</Emission>
      <EmissionCombined>String</EmissionCombined>
      <EmissionDirective>String</EmissionDirective>
      <EmissionExtraUrban>String</EmissionExtraUrban>
      <EmissionUrban>String</EmissionUrban>
      <EnergyEfficiencyClass>String</EnergyEfficiencyClass>
      <Engine>String</Engine>
      <Fin>String</Fin>
      <FuelType>String</FuelType>
      <GBDestDate>0001-01-01T00:00:00</GBDestDate>
      <IsAMG>false</IsAMG>
      <IsAllocatedToBackOrder>false</IsAllocatedToBackOrder>
      <IsDisplayStock>false</IsDisplayStock>
      <IsSellable>false</IsSellable>
      <IsSpecialistCar>false</IsSpecialistCar>
      <LastUpdated>0001-01-01T00:00:00</LastUpdated>
      <Line>String</Line>
      <Location>String</Location>
      <MarketAreaId>0</MarketAreaId>
      <MarketAreaName>String</MarketAreaName>
      <MbukSecured>false</MbukSecured>
      <Model>String</Model>
      <ModelYear>String</ModelYear>
      <ModelYearCode>String</ModelYearCode>
      <Nst>String</Nst>
      <Otr>String</Otr>
      <Packages>String</Packages>
      <PortArrivalDate>0001-01-01T00:00:00</PortArrivalDate>
      <ProductRange>String</ProductRange>
      <RetailPrice_ExVAT>String</RetailPrice_ExVAT>
      <RetailPrice_IncVAT>String</RetailPrice_IncVAT>
      <Retailer>String</Retailer>
      <TopSpeed>String</TopSpeed>
      <Transmission>String</Transmission>
      <UnderOffer>false</UnderOffer>
      <Upholstery>String</Upholstery>
      <VehicleClass>String</VehicleClass>
      <VehicleDescription>String</VehicleDescription>
      <VehicleType>String</VehicleType>
      <VehicleUsage>String</VehicleUsage>
      <VehicleUsageCode>String</VehicleUsageCode>
      <Vid>String</Vid>
      <Vin>String</Vin>
      <WltpCombined>String</WltpCombined>
      <WltpEmissionCombined>String</WltpEmissionCombined>
      <WltpExtraHigh>String</WltpExtraHigh>
      <WltpHigh>String</WltpHigh>
      <WltpLow>String</WltpLow>
      <WltpMedium>String</WltpMedium>
    </VehicleDisplayStock>
  </Vehicles>
</DisplayStockOverviewResponse>