PartnerHub

<back to all web services

PartsInvoiceGet

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

<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>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
</PartsInvoiceGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<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>
      <PartLines>
        <PartsInvoicePartsLine>
          <CSR>String</CSR>
          <Cost>0</Cost>
          <ExtendedPrice>0</ExtendedPrice>
          <MSRP>0</MSRP>
          <NoHistory>false</NoHistory>
          <Ordered>0</Ordered>
          <PartDescription>String</PartDescription>
          <PartNumber>String</PartNumber>
          <PartRef>00000000-0000-0000-0000-000000000000</PartRef>
          <PriceCode>String</PriceCode>
          <Requested>0</Requested>
          <Shipped>0</Shipped>
          <UnitPrice>0</UnitPrice>
        </PartsInvoicePartsLine>
      </PartLines>
      <PurchaseOrderNumber>String</PurchaseOrderNumber>
      <QuoteReference>00000000-0000-0000-0000-000000000000</QuoteReference>
      <Reference>String</Reference>
      <SerialNumber>String</SerialNumber>
      <ShippingAddress>
        <Address>String</Address>
        <City>String</City>
        <Name>String</Name>
        <PostalCode>String</PostalCode>
        <Province>String</Province>
      </ShippingAddress>
      <Status>String</Status>
      <Summary>
        <Discount>0</Discount>
        <Sales>0</Sales>
        <Tax1>0</Tax1>
        <Tax2>0</Tax2>
        <TaxExempt>false</TaxExempt>
        <TotalInvoice>0</TotalInvoice>
      </Summary>
    </PartsInvoice>
  </PartsInvoices>
</PartsInvoiceGetResponse>