PartnerHub

<back to all web services

ContactVehicleGet

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<ContactVehicleGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ContactCode>String</ContactCode>
  <ContactEmailAddress>String</ContactEmailAddress>
  <ContactId>00000000-0000-0000-0000-000000000000</ContactId>
  <ContactLastName>String</ContactLastName>
  <ContactModifiedSince>0001-01-01T00:00:00</ContactModifiedSince>
  <ContactModifiedUntil>0001-01-01T00:00:00</ContactModifiedUntil>
  <ContactPhoneNumber>String</ContactPhoneNumber>
  <SerialNumber>String</SerialNumber>
  <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
  <VehicleLicenseNumber>String</VehicleLicenseNumber>
  <VehicleModifiedSince>0001-01-01T00:00:00</VehicleModifiedSince>
  <VehicleModifiedUntil>0001-01-01T00:00:00</VehicleModifiedUntil>
  <VehicleStockNumber>String</VehicleStockNumber>
  <VehicleVIN>String</VehicleVIN>
</ContactVehicleGet>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<ContactVehicleGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Items>
    <ContactVehicle>
      <ContactAddress>String</ContactAddress>
      <ContactApartmentNumber>String</ContactApartmentNumber>
      <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>
      <ContactCounty>String</ContactCounty>
      <ContactCriticalMemo>String</ContactCriticalMemo>
      <ContactEmailAddress>String</ContactEmailAddress>
      <ContactFaxNumber>String</ContactFaxNumber>
      <ContactFirstName>String</ContactFirstName>
      <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>
      <ContactSalutation>String</ContactSalutation>
      <ContactState>String</ContactState>
      <ContactZipCode>String</ContactZipCode>
      <HubContactId>String</HubContactId>
      <HubVehicleID>String</HubVehicleID>
      <VehicleCriticalMemo>String</VehicleCriticalMemo>
      <VehicleCylinders>String</VehicleCylinders>
      <VehicleEngine>String</VehicleEngine>
      <VehicleExteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </VehicleExteriorColor>
      <VehicleFleetNumber>String</VehicleFleetNumber>
      <VehicleFuel>String</VehicleFuel>
      <VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
      <VehicleInteriorColor>
        <Code>String</Code>
        <Description>String</Description>
      </VehicleInteriorColor>
      <VehicleLicenseNumber>String</VehicleLicenseNumber>
      <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>
    </ContactVehicle>
  </Items>
</ContactVehicleGetResponse>

    </soap12:Body>
</soap12:Envelope>