PartnerHub

<back to all web services

VehicleGet

To override the Content-type in your clients 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 /xml/reply/VehicleGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<VehicleGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <IncludeBuildVehicles>false</IncludeBuildVehicles>
  <IncludeInactive>false</IncludeInactive>
  <LastSaleSince>0001-01-01T00:00:00</LastSaleSince>
  <LicenseNumber>String</LicenseNumber>
  <Lot>String</Lot>
  <Make>String</Make>
  <Model>String</Model>
  <ModelNumber>String</ModelNumber>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
  <OwnerRef>00000000-0000-0000-0000-000000000000</OwnerRef>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
  <StatusList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </StatusList>
  <StockNumber>String</StockNumber>
  <Trim>String</Trim>
  <VIN>String</VIN>
  <VehicleIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
  </VehicleIDList>
  <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
  <Year>String</Year>
</VehicleGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VehicleGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Vehicles>
    <Vehicle>
      <Air>0</Air>
      <AppraisedValue>0</AppraisedValue>
      <BaseMSR>0</BaseMSR>
      <CriticalMemo>String</CriticalMemo>
      <CustomFields>
        <CustomField>
          <Key>String</Key>
          <Type>String</Type>
          <Value>String</Value>
        </CustomField>
      </CustomFields>
      <Cylinders>String</Cylinders>
      <DateReceived>0001-01-01T00:00:00</DateReceived>
      <DriveWheel>String</DriveWheel>
      <Engine>String</Engine>
      <ExteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </ExteriorColor>
      <FleetNumber>String</FleetNumber>
      <Freight>0</Freight>
      <Fuel>String</Fuel>
      <Holdback>0</Holdback>
      <InServiceDate>0001-01-01T00:00:00</InServiceDate>
      <InteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </InteriorColor>
      <InternetNotes>String</InternetNotes>
      <InternetPrice>0</InternetPrice>
      <Inventory>0</Inventory>
      <IsCertified>false</IsCertified>
      <IsInactive>false</IsInactive>
      <LastSaleDate>0001-01-01T00:00:00</LastSaleDate>
      <LastServiceDate>0001-01-01T00:00:00</LastServiceDate>
      <LastServiceMileage>0</LastServiceMileage>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <LicenseNumber>String</LicenseNumber>
      <Lot>String</Lot>
      <Lotpack>0</Lotpack>
      <MSR>0</MSR>
      <Make>String</Make>
      <Model>String</Model>
      <ModelNumber>String</ModelNumber>
      <Notes>String</Notes>
      <Odometer>0</Odometer>
      <Options>
        <VehicleOption>
          <Code>String</Code>
          <Cost>0</Cost>
          <Description>String</Description>
          <Price>0</Price>
        </VehicleOption>
      </Options>
      <Order>
        <Description>String</Description>
        <DoorKeyCode>String</DoorKeyCode>
        <EstimatedCost>0</EstimatedCost>
        <Eta>String</Eta>
        <IgnitionKeyCode>String</IgnitionKeyCode>
        <InvoiceNumber>String</InvoiceNumber>
        <LocationStatus>String</LocationStatus>
        <LocationStatusDate>0001-01-01T00:00:00</LocationStatusDate>
        <OrderDate>String</OrderDate>
        <Price>0</Price>
        <Status>String</Status>
        <StatusDate>String</StatusDate>
      </Order>
      <OwnerRef>00000000-0000-0000-0000-000000000000</OwnerRef>
      <Refurbishments>
        <VehicleRefurbishment>
          <ApplicationModel>String</ApplicationModel>
          <Cost>0</Cost>
          <Date>0001-01-01T00:00:00</Date>
          <Description>String</Description>
          <Price>0</Price>
          <ReferenceNumber>String</ReferenceNumber>
        </VehicleRefurbishment>
      </Refurbishments>
      <Retail>0</Retail>
      <SerialNumber>String</SerialNumber>
      <Status>String</Status>
      <StockNumber>String</StockNumber>
      <Transmission>String</Transmission>
      <Trim>String</Trim>
      <VIN>String</VIN>
      <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
      <VehicleType>String</VehicleType>
      <Warranties>
        <VehicleWarranty>
          <CompanyName>String</CompanyName>
          <Cost>0</Cost>
          <CoveragePlan>String</CoveragePlan>
          <Deductible>0</Deductible>
          <Description>String</Description>
          <ExpirationDate>String</ExpirationDate>
          <ExpirationMileage>0</ExpirationMileage>
          <PolicyNumber>String</PolicyNumber>
          <Price>0</Price>
          <StartDate>String</StartDate>
          <StartMileage>0</StartMileage>
          <Term>String</Term>
          <Type>String</Type>
        </VehicleWarranty>
      </Warranties>
      <Weight>0</Weight>
      <Year>String</Year>
    </Vehicle>
  </Vehicles>
</VehicleGetResponse>