PartnerHub

<back to all web services

PartsInvoiceGet

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<PartsInvoiceGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <CashieredSince>0001-01-01T00:00:00</CashieredSince>
  <CashieredUntil>0001-01-01T00:00:00</CashieredUntil>
  <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
  <PartsInvoiceId>00000000-0000-0000-0000-000000000000</PartsInvoiceId>
  <PartsInvoiceNumber>0</PartsInvoiceNumber>
  <RawPartsInvoiceNumber>String</RawPartsInvoiceNumber>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
</PartsInvoiceGet>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<PartsInvoiceGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <PartsInvoices>
    <PartsInvoice>
      <ChargeType>String</ChargeType>
      <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
      <DateCashiered>0001-01-01T00:00:00</DateCashiered>
      <DateOpened>0001-01-01T00:00:00</DateOpened>
      <InvoiceId>00000000-0000-0000-0000-000000000000</InvoiceId>
      <InvoiceNumber>0</InvoiceNumber>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <Memo>String</Memo>
      <PartLines>
        <PartsInvoicePartsLine>
          <BIN>String</BIN>
          <CSR>String</CSR>
          <CSRRef>00000000-0000-0000-0000-000000000000</CSRRef>
          <Comment>String</Comment>
          <Cost>0</Cost>
          <DateAdded>0001-01-01T00:00:00</DateAdded>
          <ExtendedPrice>0</ExtendedPrice>
          <IsPartsKit>false</IsPartsKit>
          <IsTransferred>false</IsTransferred>
          <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>
          <PartsKitName>String</PartsKitName>
          <PriceCode>String</PriceCode>
          <Requested>0</Requested>
          <Shipped>0</Shipped>
          <SpecialOrderRef>00000000-0000-0000-0000-000000000000</SpecialOrderRef>
          <UnitPrice>0</UnitPrice>
        </PartsInvoicePartsLine>
      </PartLines>
      <PurchaseOrderNumber>String</PurchaseOrderNumber>
      <QuoteReference>00000000-0000-0000-0000-000000000000</QuoteReference>
      <RawPartsInvoiceNumber>String</RawPartsInvoiceNumber>
      <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>
      <Status>String</Status>
      <Summary>
        <Discount>0</Discount>
        <Freight>0</Freight>
        <RestockingFee>0</RestockingFee>
        <Sales>0</Sales>
        <Tax1>0</Tax1>
        <Tax2>0</Tax2>
        <TaxExempt>false</TaxExempt>
        <TotalInvoice>0</TotalInvoice>
      </Summary>
    </PartsInvoice>
  </PartsInvoices>
</PartsInvoiceGetResponse>

    </soap12:Body>
</soap12:Envelope>