PartnerHub

<back to all web services

PartsReturnGet

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

<PartsReturnGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ReferenceNumber>String</ReferenceNumber>
  <ReturnNumber>0</ReturnNumber>
  <ReturnSince>0001-01-01T00:00:00</ReturnSince>
  <ReturnUntil>0001-01-01T00:00:00</ReturnUntil>
  <SerialNumber>String</SerialNumber>
</PartsReturnGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PartsReturnGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <PartsReturns>
    <PartsReturn>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <ManufacturerReferenceNumber>String</ManufacturerReferenceNumber>
      <ManufacturerReturnNumber>String</ManufacturerReturnNumber>
      <MftrReturnType>String</MftrReturnType>
      <ReferenceNumber>String</ReferenceNumber>
      <ReturnDate>0001-01-01T00:00:00</ReturnDate>
      <ReturnLines>
        <PartsReturnLine>
          <Cost>0</Cost>
          <PartNumber>String</PartNumber>
          <Quantity>0</Quantity>
          <ReturnType>String</ReturnType>
        </PartsReturnLine>
      </ReturnLines>
      <ReturnNumber>0</ReturnNumber>
      <ReturnType>String</ReturnType>
      <SerialNumber>String</SerialNumber>
      <Status>String</Status>
      <Supplier>String</Supplier>
    </PartsReturn>
  </PartsReturns>
</PartsReturnGetResponse>