PartnerHub

<back to all web services

UPChange

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

<UPChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <IsAsynchronous>false</IsAsynchronous>
  <UPInfo>
    <Address>String</Address>
    <AssignedDate>0001-01-01T00:00:00</AssignedDate>
    <AssignedEmployeeRef>00000000-0000-0000-0000-000000000000</AssignedEmployeeRef>
    <AssignedUserName>String</AssignedUserName>
    <AssignedUserRef>0</AssignedUserRef>
    <AutoReplyDate>0001-01-01T00:00:00</AutoReplyDate>
    <BusinessPhone>String</BusinessPhone>
    <CellPhone>String</CellPhone>
    <City>String</City>
    <CreatedUserRef>00000000-0000-0000-0000-000000000000</CreatedUserRef>
    <DateCreated>0001-01-01T00:00:00</DateCreated>
    <Email>String</Email>
    <FirstName>String</FirstName>
    <HomePhone>String</HomePhone>
    <ImportedDate>0001-01-01T00:00:00</ImportedDate>
    <IntegrationId>00000000-0000-0000-0000-000000000000</IntegrationId>
    <IntegrationType>0</IntegrationType>
    <Interests>
      <UPVehicleInfo>
        <InterestType>String</InterestType>
        <Make>String</Make>
        <Model>String</Model>
        <Notes>String</Notes>
        <Odometer>String</Odometer>
        <Options>String</Options>
        <StockNumber>String</StockNumber>
        <Trim>String</Trim>
        <VIN>String</VIN>
        <Year>String</Year>
      </UPVehicleInfo>
    </Interests>
    <LastName>String</LastName>
    <LastUpdate>0001-01-01T00:00:00</LastUpdate>
    <LeadId>String</LeadId>
    <LeadSource>0</LeadSource>
    <LeadSourceDesc>String</LeadSourceDesc>
    <ManualReplyDate>0001-01-01T00:00:00</ManualReplyDate>
    <Notes>String</Notes>
    <ParentRef>00000000-0000-0000-0000-000000000000</ParentRef>
    <ProspectId>00000000-0000-0000-0000-000000000000</ProspectId>
    <ProspectSource>String</ProspectSource>
    <ProspectSourceRef>00000000-0000-0000-0000-000000000000</ProspectSourceRef>
    <SerialNumber>String</SerialNumber>
    <Source>0</Source>
    <SourceDesc>String</SourceDesc>
    <State>String</State>
    <Status>0</Status>
    <StatusDesc>String</StatusDesc>
    <ThirdPartySourceRef>00000000-0000-0000-0000-000000000000</ThirdPartySourceRef>
    <Trades>
      <UPVehicleInfo>
        <InterestType>String</InterestType>
        <Make>String</Make>
        <Model>String</Model>
        <Notes>String</Notes>
        <Odometer>String</Odometer>
        <Options>String</Options>
        <StockNumber>String</StockNumber>
        <Trim>String</Trim>
        <VIN>String</VIN>
        <Year>String</Year>
      </UPVehicleInfo>
    </Trades>
    <UPId>00000000-0000-0000-0000-000000000000</UPId>
    <ZIP>String</ZIP>
  </UPInfo>
  <UserRequest>String</UserRequest>
</UPChange>
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>
  <WasSuccessful>false</WasSuccessful>
</Confirmation>