PartnerHub

<back to all web services

DealerGet

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

<DealerGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <SerialNumber>String</SerialNumber>
</DealerGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DealerGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Dealer>
    <City>String</City>
    <FaxNumber>String</FaxNumber>
    <LegalName>String</LegalName>
    <Name>String</Name>
    <PhoneNumber>String</PhoneNumber>
    <PostalCode>String</PostalCode>
    <Province>String</Province>
    <RegistrationCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </RegistrationCodes>
    <SerialNumber>String</SerialNumber>
    <StreetAddress>String</StreetAddress>
    <TimeZone>String</TimeZone>
    <TimeZoneUTCOffset>0</TimeZoneUTCOffset>
  </Dealer>
</DealerGetResponse>