HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PartsInventoryGet HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: application/xml
Content-Length: length
<PartsInventoryGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<ActivitySince>0001-01-01T00:00:00</ActivitySince>
<ActivityUntil>0001-01-01T00:00:00</ActivityUntil>
<Description>String</Description>
<EntrySince>0001-01-01T00:00:00</EntrySince>
<EntryUntil>0001-01-01T00:00:00</EntryUntil>
<ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
<ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
<PartId>00000000-0000-0000-0000-000000000000</PartId>
<PartIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</PartIdList>
<PartMaster>String</PartMaster>
<PartNumber>String</PartNumber>
<PartNumbersList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</PartNumbersList>
<ReceiptSince>0001-01-01T00:00:00</ReceiptSince>
<ReceiptUntil>0001-01-01T00:00:00</ReceiptUntil>
<SaleSince>0001-01-01T00:00:00</SaleSince>
<SaleUntil>0001-01-01T00:00:00</SaleUntil>
<SerialNumber>String</SerialNumber>
<Source>String</Source>
<Status>String</Status>
<StrippedNumber>String</StrippedNumber>
<StrippedNumbersList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</StrippedNumbersList>
</PartsInventoryGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PartsInventoryGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<Parts>
<PartsInventory>
<AlternateParts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1: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>
</PartsInventory>
</Parts>
</PartsInventoryGetResponse>