PartnerHub

<back to all web services

PartsInventoryChange

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

<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>
    <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>
      <ManufacturerManaged>false</ManufacturerManaged>
      <ManufacturerObsolete>false</ManufacturerObsolete>
      <ProgramType>String</ProgramType>
      <ReOrderPoint>0</ReOrderPoint>
    </ManufacturerSuggestedStocking>
    <OnHand>
      <Allocated>0</Allocated>
      <Available>0</Available>
      <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>
    <Pricing>
      <CostPrice>0</CostPrice>
      <ExchangePrice>0</ExchangePrice>
      <JobberPrice>0</JobberPrice>
      <ListPrice>0</ListPrice>
      <OriginalPrice>0</OriginalPrice>
      <TradePrice>0</TradePrice>
    </Pricing>
    <SalesHits>
      <PartsInventorySalesHit>
        <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>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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