PartnerHub

<back to all web services

PartsInventoryChange

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>

<PartsInventoryChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <IsAsynchronous>false</IsAsynchronous>
  <PartInfo>
    <AlternateParts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </AlternateParts>
    <Bin1>String</Bin1>
    <Bin2>String</Bin2>
    <Class>String</Class>
    <Comments>String</Comments>
    <CustomFields>
      <CustomField>
        <Key>String</Key>
        <Type>String</Type>
        <Value>String</Value>
      </CustomField>
    </CustomFields>
    <Description>String</Description>
    <EntryDate>0001-01-01T00:00:00</EntryDate>
    <Group>String</Group>
    <LastAdjusted>0001-01-01T00:00:00</LastAdjusted>
    <LastClosedSaleDate>0001-01-01T00:00:00</LastClosedSaleDate>
    <LastLostSale>0001-01-01T00:00:00</LastLostSale>
    <LastOrderDate>0001-01-01T00:00:00</LastOrderDate>
    <LastPhysicalInventoryDate>0001-01-01T00:00:00</LastPhysicalInventoryDate>
    <LastReceipt>0001-01-01T00:00:00</LastReceipt>
    <LastReceiptedQuantity>0</LastReceiptedQuantity>
    <LastSale>0001-01-01T00:00:00</LastSale>
    <LastUpdate>0001-01-01T00:00:00</LastUpdate>
    <Manufacturer>String</Manufacturer>
    <ManufacturerSuggestedStocking>
      <AdditionalInformation>String</AdditionalInformation>
      <BestStockingLevel>0</BestStockingLevel>
      <ManufacturerInfo>
        <PartsInventoryManufacturerField>
          <Key>String</Key>
          <Value>String</Value>
        </PartsInventoryManufacturerField>
      </ManufacturerInfo>
      <ManufacturerManaged>false</ManufacturerManaged>
      <ManufacturerObsolete>false</ManufacturerObsolete>
      <MaximumStockLevel>0</MaximumStockLevel>
      <ProgramType>String</ProgramType>
      <ReOrderPoint>0</ReOrderPoint>
    </ManufacturerSuggestedStocking>
    <NextSupersessionPart>00000000-0000-0000-0000-000000000000</NextSupersessionPart>
    <OnHand>
      <Allocated>0</Allocated>
      <Available>0</Available>
      <OpenWork>0</OpenWork>
      <Total>0</Total>
    </OnHand>
    <OnOrder>
      <Allocated>0</Allocated>
      <Available>0</Available>
      <BackOrder>0</BackOrder>
      <Pending>0</Pending>
      <Total>0</Total>
    </OnOrder>
    <OrderQuantityReceivedMTD>0</OrderQuantityReceivedMTD>
    <PackageQuantity>0</PackageQuantity>
    <PartId>00000000-0000-0000-0000-000000000000</PartId>
    <PartMaster>String</PartMaster>
    <PartNumber>String</PartNumber>
    <PerJobQuantity>0</PerJobQuantity>
    <Pricing>
      <CostPrice>0</CostPrice>
      <ExchangePrice>0</ExchangePrice>
      <FlatPrice>0</FlatPrice>
      <JobberPrice>0</JobberPrice>
      <ListPrice>0</ListPrice>
      <OriginalPrice>0</OriginalPrice>
      <TradePrice>0</TradePrice>
    </Pricing>
    <ReturnCode>String</ReturnCode>
    <SalesHits>
      <PartsInventorySalesHit>
        <LineCount>0</LineCount>
        <Month>0</Month>
        <Value>0</Value>
        <Year>0</Year>
      </PartsInventorySalesHit>
    </SalesHits>
    <SerialNumber>String</SerialNumber>
    <Source>String</Source>
    <Status>String</Status>
    <Stocking>
      <BestStockingLevel>0</BestStockingLevel>
      <Maximum>0</Maximum>
      <Minimum>0</Minimum>
    </Stocking>
    <StrippedNumber>String</StrippedNumber>
    <SupersessionPart>String</SupersessionPart>
    <Supplier>String</Supplier>
  </PartInfo>
  <UserRequest>String</UserRequest>
</PartsInventoryChange>

    </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>

<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>
  <ReferenceNumber>String</ReferenceNumber>
  <WasSuccessful>false</WasSuccessful>
</Confirmation>

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