PartnerHub

<back to all web services

DealContactVehicleGet

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

<DealContactVehicleGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ContactDriversLicense>String</ContactDriversLicense>
  <ContactEmailAddress>String</ContactEmailAddress>
  <ContactFirstName>String</ContactFirstName>
  <ContactLastName>String</ContactLastName>
  <ContactPhone>String</ContactPhone>
  <DealId>00000000-0000-0000-0000-000000000000</DealId>
  <DealKey>String</DealKey>
  <DealSalesRep>00000000-0000-0000-0000-000000000000</DealSalesRep>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
  <StatusList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </StatusList>
  <SystemStatus>String</SystemStatus>
  <VehicleVIN>String</VehicleVIN>
</DealContactVehicleGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DealContactVehicleGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Items>
    <DealContactVehicle>
      <ContactAddress>String</ContactAddress>
      <ContactApartmentNumber>String</ContactApartmentNumber>
      <ContactBirthDate>0001-01-01T00:00:00</ContactBirthDate>
      <ContactBusinessPhone>String</ContactBusinessPhone>
      <ContactCellPhone>String</ContactCellPhone>
      <ContactCity>String</ContactCity>
      <ContactCode>String</ContactCode>
      <ContactCommunicationPreferences>
        <Email>String</Email>
        <Letter>String</Letter>
        <Phone>String</Phone>
        <Preferred>String</Preferred>
        <TextMessage>String</TextMessage>
      </ContactCommunicationPreferences>
      <ContactContactName>String</ContactContactName>
      <ContactCounty>String</ContactCounty>
      <ContactCriticalMemo>String</ContactCriticalMemo>
      <ContactDriverLicense>String</ContactDriverLicense>
      <ContactEmailAddress>String</ContactEmailAddress>
      <ContactFaxNumber>String</ContactFaxNumber>
      <ContactFirstName>String</ContactFirstName>
      <ContactGender>String</ContactGender>
      <ContactHomePhone>String</ContactHomePhone>
      <ContactId>00000000-0000-0000-0000-000000000000</ContactId>
      <ContactIsBusiness>false</ContactIsBusiness>
      <ContactIsInactive>false</ContactIsInactive>
      <ContactLastName>String</ContactLastName>
      <ContactMiddleName>String</ContactMiddleName>
      <ContactNotes>String</ContactNotes>
      <ContactPreferredContactMethods xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </ContactPreferredContactMethods>
      <ContactSalutation>String</ContactSalutation>
      <ContactState>String</ContactState>
      <ContactZipCode>String</ContactZipCode>
      <DealCreationDate>0001-01-01T00:00:00</DealCreationDate>
      <DealId>00000000-0000-0000-0000-000000000000</DealId>
      <DealKey>String</DealKey>
      <DealLastUpdate>0001-01-01T00:00:00</DealLastUpdate>
      <DealSerialNumber>String</DealSerialNumber>
      <DealStatus>String</DealStatus>
      <DealUserRoles>
        <DealUserRole>
          <EmployeeRef>00000000-0000-0000-0000-000000000000</EmployeeRef>
          <Name>String</Name>
          <Primary>false</Primary>
          <Role>String</Role>
        </DealUserRole>
      </DealUserRoles>
      <Trades>
        <DealTrade>
          <ActualCashValue>0</ActualCashValue>
          <Allowance>0</Allowance>
          <Capitalized>0</Capitalized>
          <Lien>0</Lien>
          <LienHolder>
            <Address>String</Address>
            <City>String</City>
            <Name>String</Name>
            <Phone>String</Phone>
            <Postal>String</Postal>
            <Province>String</Province>
          </LienHolder>
          <Odometer>0</Odometer>
          <Upfront>0</Upfront>
          <VIN>String</VIN>
          <VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
        </DealTrade>
      </Trades>
      <VehicleCriticalMemo>String</VehicleCriticalMemo>
      <VehicleCylinders>String</VehicleCylinders>
      <VehicleEngine>String</VehicleEngine>
      <VehicleExteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </VehicleExteriorColor>
      <VehicleFuel>String</VehicleFuel>
      <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
      <VehicleInteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </VehicleInteriorColor>
      <VehicleMake>String</VehicleMake>
      <VehicleModel>String</VehicleModel>
      <VehicleModelNumber>String</VehicleModelNumber>
      <VehicleNotes>String</VehicleNotes>
      <VehicleOdometer>0</VehicleOdometer>
      <VehicleStatus>String</VehicleStatus>
      <VehicleStockNumber>String</VehicleStockNumber>
      <VehicleTransmission>String</VehicleTransmission>
      <VehicleTrim>String</VehicleTrim>
      <VehicleType>String</VehicleType>
      <VehicleVIN>String</VehicleVIN>
      <VehicleYear>String</VehicleYear>
      <Vehicles>
        <DealVehicle>
          <Cost>0</Cost>
          <IsNewVehicle>false</IsNewVehicle>
          <SaleOdometer>0</SaleOdometer>
          <StockNumber>String</StockNumber>
          <VIN>String</VIN>
          <VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
        </DealVehicle>
      </Vehicles>
    </DealContactVehicle>
  </Items>
</DealContactVehicleGetResponse>