PartnerHub

<back to all web services

ContactGet

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

HTTP + SOAP11

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

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

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

<ContactGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ContactCode>String</ContactCode>
  <ContactId>00000000-0000-0000-0000-000000000000</ContactId>
  <ContactIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
  </ContactIdList>
  <CreatedSince>0001-01-01T00:00:00</CreatedSince>
  <CreatedUntil>0001-01-01T00:00:00</CreatedUntil>
  <DriverLicense>String</DriverLicense>
  <EmailAddress>String</EmailAddress>
  <FirstName>String</FirstName>
  <IncludeInactive>false</IncludeInactive>
  <IsAPVendor>false</IsAPVendor>
  <IsARCustomer>false</IsARCustomer>
  <LastName>String</LastName>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
  <PayableAccount>String</PayableAccount>
  <PhoneNumber>String</PhoneNumber>
  <ReceivableAccount>String</ReceivableAccount>
  <SerialNumber>String</SerialNumber>
  <ZipCode>String</ZipCode>
</ContactGet>

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

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

<ContactGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Contacts>
    <Contact>
      <Address>String</Address>
      <ApartmentNumber>String</ApartmentNumber>
      <BirthDate>0001-01-01T00:00:00</BirthDate>
      <BusinessPhone>String</BusinessPhone>
      <BusinessPhoneExt>String</BusinessPhoneExt>
      <BusinessPhoneRawReverse>String</BusinessPhoneRawReverse>
      <CellPhone>String</CellPhone>
      <CellPhoneRawReverse>String</CellPhoneRawReverse>
      <City>String</City>
      <Code>String</Code>
      <CommunicationPreferences>
        <Email>String</Email>
        <FollowUp>String</FollowUp>
        <ImplicitConsentDate>0001-01-01T00:00:00</ImplicitConsentDate>
        <Letter>String</Letter>
        <Marketing>String</Marketing>
        <Phone>String</Phone>
        <Preferred>String</Preferred>
        <TextMessage>String</TextMessage>
        <ThirdParty>String</ThirdParty>
      </CommunicationPreferences>
      <ContactId>00000000-0000-0000-0000-000000000000</ContactId>
      <ContactName>String</ContactName>
      <County>String</County>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <CriticalMemo>String</CriticalMemo>
      <CustomFields>
        <CustomField>
          <Key>String</Key>
          <Type>String</Type>
          <Value>String</Value>
        </CustomField>
      </CustomFields>
      <DoNotLoadHistory>false</DoNotLoadHistory>
      <DriverLicense>String</DriverLicense>
      <DriversLicenseExpiry>0001-01-01T00:00:00</DriversLicenseExpiry>
      <EmailAddress>String</EmailAddress>
      <FaxNumber>String</FaxNumber>
      <FirstName>String</FirstName>
      <FleetType>String</FleetType>
      <Gender>String</Gender>
      <HomePhone>String</HomePhone>
      <HomePhoneRawReverse>String</HomePhoneRawReverse>
      <IsAPVendor>false</IsAPVendor>
      <IsARCustomer>false</IsARCustomer>
      <IsBusiness>false</IsBusiness>
      <IsInactive>false</IsInactive>
      <IsStatic>false</IsStatic>
      <Language>String</Language>
      <LastName>String</LastName>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <ManufacturerLoyaltyNumber>String</ManufacturerLoyaltyNumber>
      <MergedToContactRef>00000000-0000-0000-0000-000000000000</MergedToContactRef>
      <MiddleName>String</MiddleName>
      <Notes>String</Notes>
      <PayableAccount>String</PayableAccount>
      <PayableAccounts>
        <AccountInfo>
          <Account>String</Account>
          <SerialNumber>String</SerialNumber>
        </AccountInfo>
      </PayableAccounts>
      <PreferredContactMethods xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </PreferredContactMethods>
      <PrimaryImageRef>00000000-0000-0000-0000-000000000000</PrimaryImageRef>
      <ReceivableAccount>String</ReceivableAccount>
      <ReceivableAccounts>
        <AccountInfo>
          <Account>String</Account>
          <SerialNumber>String</SerialNumber>
        </AccountInfo>
      </ReceivableAccounts>
      <RelationshipType>String</RelationshipType>
      <RepairOrderRequiresPO>false</RepairOrderRequiresPO>
      <SalesRepRef>00000000-0000-0000-0000-000000000000</SalesRepRef>
      <SalesReps>
        <SalesRepDivisions>
          <SalesRepRef>00000000-0000-0000-0000-000000000000</SalesRepRef>
          <SerialNumber>String</SerialNumber>
        </SalesRepDivisions>
      </SalesReps>
      <Salutation>String</Salutation>
      <SerialNumber>String</SerialNumber>
      <State>String</State>
      <ZipCode>String</ZipCode>
    </Contact>
  </Contacts>
</ContactGetResponse>

    </soap:Body>
</soap:Envelope>