PartnerHub

<back to all web services

PartsQuoteGet

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

<PartsQuoteGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
  <OpenedSince>0001-01-01T00:00:00</OpenedSince>
  <OpenedUntil>0001-01-01T00:00:00</OpenedUntil>
  <PartsQuoteId>00000000-0000-0000-0000-000000000000</PartsQuoteId>
  <PartsQuoteIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
  </PartsQuoteIdList>
  <PartsQuoteNumber>0</PartsQuoteNumber>
  <RawPartsQuoteNumber>String</RawPartsQuoteNumber>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
</PartsQuoteGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PartsQuoteGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <PartsQuotes>
    <PartsQuote>
      <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
      <DateClosed>0001-01-01T00:00:00</DateClosed>
      <DateExpires>0001-01-01T00:00:00</DateExpires>
      <DateOpened>0001-01-01T00:00:00</DateOpened>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <Memo>String</Memo>
      <PartLines>
        <PartsQuotePartsLine>
          <CSR>String</CSR>
          <CSRRef>00000000-0000-0000-0000-000000000000</CSRRef>
          <Cost>0</Cost>
          <ExtendedPrice>0</ExtendedPrice>
          <MSRP>0</MSRP>
          <Manufacturer>String</Manufacturer>
          <NoHistory>false</NoHistory>
          <Ordered>0</Ordered>
          <PartDescription>String</PartDescription>
          <PartMaster>String</PartMaster>
          <PartNumber>String</PartNumber>
          <PartRef>00000000-0000-0000-0000-000000000000</PartRef>
          <PriceCode>String</PriceCode>
          <Requested>0</Requested>
          <Shipped>0</Shipped>
          <UnitPrice>0</UnitPrice>
        </PartsQuotePartsLine>
      </PartLines>
      <PendingRequest>false</PendingRequest>
      <QuoteID>00000000-0000-0000-0000-000000000000</QuoteID>
      <QuoteNumber>0</QuoteNumber>
      <RawPartsQuoteNumber>String</RawPartsQuoteNumber>
      <Reference>String</Reference>
      <SerialNumber>String</SerialNumber>
      <ShippingAddress>
        <AdditionalInfo>String</AdditionalInfo>
        <Address>String</Address>
        <City>String</City>
        <Name>String</Name>
        <PostalCode>String</PostalCode>
        <Province>String</Province>
        <ShipVia>String</ShipVia>
      </ShippingAddress>
      <Source>String</Source>
      <Status>String</Status>
      <Summary>
        <Discount>0</Discount>
        <Sales>0</Sales>
        <Tax1>0</Tax1>
        <Tax2>0</Tax2>
        <TaxExempt>false</TaxExempt>
        <TotalQuote>0</TotalQuote>
      </Summary>
    </PartsQuote>
  </PartsQuotes>
</PartsQuoteGetResponse>