PartnerHub

<back to all web services

PartsInventoryGet

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

HTTP + CSV

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

POST /csv/reply/PartsInventoryGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/csv
Content-Length: length

SerialNumber,PartId,PartNumber,Description,Status,PartMaster,ModifiedSince,ModifiedUntil,ReceiptSince,ReceiptUntil,SaleSince,SaleUntil,ActivitySince,ActivityUntil,EntrySince,EntryUntil,PartIdList,StrippedNumber,PartNumbersList,StrippedNumbersList,Source
String,00000000000000000000000000000000,String,String,String,String,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,0001-01-01,[00000000000000000000000000000000],String,[String],[String],String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Parts
"[{Id:string/00000000-0000-0000-0000-000000000000,PartId:00000000000000000000000000000000,SerialNumber:String,PartNumber:String,StrippedNumber:String,SupersessionPart:String,AlternateParts:[String],Description:String,Comments:String,Bin1:String,Bin2:String,Group:String,Class:String,Source:String,Manufacturer:String,Supplier:String,PartMaster:String,Status:String,PackageQuantity:0,Pricing:{OriginalPrice:0,ListPrice:0,TradePrice:0,ExchangePrice:0,CostPrice:0,JobberPrice:0,FlatPrice:0},Stocking:{BestStockingLevel:0,Minimum:0,Maximum:0},ManufacturerSuggestedStocking:{ManufacturerManaged:False,BestStockingLevel:0,ReOrderPoint:0,MaximumStockLevel:0,AdditionalInformation:String,ProgramType:String,ManufacturerObsolete:False,ManufacturerInfo:[{Key:String,Value:String}]},OnHand:{Total:0,Allocated:0,Available:0,OpenWork:0},OnOrder:{Total:0,Allocated:0,Available:0,Pending:0,BackOrder:0},SalesHits:[{Month:0,Year:0,Value:0,LineCount:0}],LastReceipt:0001-01-01,LastSale:0001-01-01,EntryDate:0001-01-01,LastUpdate:0001-01-01,LastOrderDate:0001-01-01,LastPhysicalInventoryDate:0001-01-01,LastReceiptedQuantity:0,OrderQuantityReceivedMTD:0,LastAdjusted:0001-01-01,LastLostSale:0001-01-01,LastClosedSaleDate:0001-01-01,PerJobQuantity:0,ReturnCode:String,CustomFields:[{Key:String,Value:String,Type:String}],NextSupersessionPart:00000000000000000000000000000000}]"