PartnerHub

<back to all web services

PartsInvoiceChange

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

HTTP + SOAP11

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

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

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

<PartsInvoiceChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <IsAsynchronous>false</IsAsynchronous>
  <PartsInvoiceInfo>
    <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>
  </PartsInvoiceInfo>
  <UserRequest>String</UserRequest>
</PartsInvoiceChange>

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

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

<Confirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Message>String</Message>
  <ReferenceId>String</ReferenceId>
  <WasSuccessful>false</WasSuccessful>
</Confirmation>

    </soap:Body>
</soap:Envelope>