PartnerHub

<back to all web services

ContactChange

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

<ContactChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ContactInfo>
    <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>
    <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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1: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>
    <Salutation>String</Salutation>
    <SerialNumber>String</SerialNumber>
    <State>String</State>
    <ZipCode>String</ZipCode>
  </ContactInfo>
  <IsAsynchronous>false</IsAsynchronous>
  <UserRef>00000000-0000-0000-0000-000000000000</UserRef>
  <UserRequest>String</UserRequest>
</ContactChange>
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>