PartnerHub

<back to all web services

VehicleChange

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/VehicleChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<VehicleChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <IsAsynchronous>false</IsAsynchronous>
  <UserRef>00000000-0000-0000-0000-000000000000</UserRef>
  <UserRequest>String</UserRequest>
  <VehicleInfo>
    <AdditionalDrivers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>00000000-0000-0000-0000-000000000000</d3p1:guid>
    </AdditionalDrivers>
    <Air>0</Air>
    <AppraisedValue>0</AppraisedValue>
    <BaseMSR>0</BaseMSR>
    <BlueBookValue>0</BlueBookValue>
    <Body>String</Body>
    <Category>String</Category>
    <Configuration>String</Configuration>
    <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>
    <DeliveryDate>0001-01-01T00:00:00</DeliveryDate>
    <DisplayTrim>String</DisplayTrim>
    <DriveWheel>String</DriveWheel>
    <Engine>String</Engine>
    <ExteriorColor>
      <BaseColor>String</BaseColor>
      <Code>String</Code>
      <Description>String</Description>
    </ExteriorColor>
    <FleetNumber>String</FleetNumber>
    <FloorPlanAmount>0</FloorPlanAmount>
    <FloorPlanCode>String</FloorPlanCode>
    <Freight>0</Freight>
    <Fuel>String</Fuel>
    <Hold>
      <Comments>String</Comments>
      <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
      <HoldFrom>0001-01-01T00:00:00</HoldFrom>
      <HoldUntil>0001-01-01T00:00:00</HoldUntil>
      <UserRef>00000000-0000-0000-0000-000000000000</UserRef>
      <VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
    </Hold>
    <Holdback>0</Holdback>
    <InServiceDate>0001-01-01T00:00:00</InServiceDate>
    <Insurance>
      <AgentName>String</AgentName>
      <AgentPhoneNumber>String</AgentPhoneNumber>
      <Company>String</Company>
      <ExpiryDate>0001-01-01T00:00:00</ExpiryDate>
      <Policy>String</Policy>
    </Insurance>
    <InteriorColor>
      <BaseColor>String</BaseColor>
      <Code>String</Code>
      <Description>String</Description>
    </InteriorColor>
    <InternetNotes>String</InternetNotes>
    <InternetPrice>0</InternetPrice>
    <Inventory>0</Inventory>
    <IsCertified>false</IsCertified>
    <IsConditionallySold>false</IsConditionallySold>
    <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>
    <LotDescription>String</LotDescription>
    <Lotpack>0</Lotpack>
    <MSR>0</MSR>
    <Make>String</Make>
    <Model>String</Model>
    <ModelNumber>String</ModelNumber>
    <Notes>String</Notes>
    <Odometer>0</Odometer>
    <Options>
      <VehicleOption>
        <AdditionalInfo>String</AdditionalInfo>
        <Code>String</Code>
        <Cost>0</Cost>
        <Description>String</Description>
        <Group>String</Group>
        <Price>0</Price>
        <Residual>0</Residual>
      </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>
    <OrderDetails>
      <Distributor>String</Distributor>
    </OrderDetails>
    <OwnerRef>00000000-0000-0000-0000-000000000000</OwnerRef>
    <PDI>0</PDI>
    <PrimaryImageRef>00000000-0000-0000-0000-000000000000</PrimaryImageRef>
    <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>
    <SalesDivision>0</SalesDivision>
    <SeatingCapacity>String</SeatingCapacity>
    <SerialNumber>String</SerialNumber>
    <ShortVIN>String</ShortVIN>
    <ShowOnWeb>false</ShowOnWeb>
    <Status>String</Status>
    <StockNumber>String</StockNumber>
    <StyleRef>String</StyleRef>
    <TotalCost>0</TotalCost>
    <Transmission>String</Transmission>
    <Trim>String</Trim>
    <VIN>String</VIN>
    <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
    <VehicleType>String</VehicleType>
    <VideoURL>String</VideoURL>
    <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>
    <WarrantyExpiry>0001-01-01T00:00:00</WarrantyExpiry>
    <Weight>0</Weight>
    <Year>String</Year>
  </VehicleInfo>
</VehicleChange>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Confirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Message>String</Message>
  <ReferenceId>String</ReferenceId>
  <ReferenceNumber>String</ReferenceNumber>
  <WasSuccessful>false</WasSuccessful>
</Confirmation>