Mercedes.VehicleManagement.API

<back to all web services

DisplayStockRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/DisplayStockRetailer/s display stock
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 DisplayStockRequest
            Implements IPost
            '''<Summary>
            '''Gssns
            '''</Summary>
            <ApiMember(Description:="Gssns", IsRequired:=true)>
            Public Overridable Property Gssns As List(Of String) = New List(Of String)
        End Class
    End Namespace

    Namespace Mercedes.VehicleManagement.API.Shared.POCO

        Public Partial Class DisplayStock
            Public Overridable Property VehicleDescription As String
            Public Overridable Property CommissionNumber As String
            Public Overridable Property Vin 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 ActiveOffers As Integer() = New Integer(){}
            Public Overridable Property DaysAtSite As String
            Public Overridable Property OfferTotalCurrent As String
            Public Overridable Property OfferExpiry As String
            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
        End Class

        Public Partial Class DisplayStockResponse
            Public Overridable Property Vehicles As List(Of DisplayStock) = New List(Of DisplayStock)
        End Class
    End Namespace
End Namespace

VB.NET DisplayStockRequest 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/DisplayStock HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

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

<DisplayStockResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
  <Vehicles>
    <DisplayStock>
      <Acceleration>String</Acceleration>
      <Account>String</Account>
      <ActiveOffers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </ActiveOffers>
      <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>
      <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>
      <MbukSecured>false</MbukSecured>
      <Model>String</Model>
      <ModelYear>String</ModelYear>
      <ModelYearCode>String</ModelYearCode>
      <Nst>String</Nst>
      <OfferExpiry>String</OfferExpiry>
      <OfferTotalCurrent>String</OfferTotalCurrent>
      <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>
    </DisplayStock>
  </Vehicles>
</DisplayStockResponse>