PartnerHub

<back to all web services

PartsInventoryGet

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

HTTP + JSV

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

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

{
	SerialNumber: String,
	PartId: 00000000000000000000000000000000,
	PartNumber: String,
	Description: String,
	Status: String,
	PartMaster: String,
	ModifiedSince: 0001-01-01,
	ModifiedUntil: 0001-01-01,
	ReceiptSince: 0001-01-01,
	ReceiptUntil: 0001-01-01,
	SaleSince: 0001-01-01,
	SaleUntil: 0001-01-01,
	ActivitySince: 0001-01-01,
	ActivityUntil: 0001-01-01,
	StrippedNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
			},
			Stocking: 
			{
				BestStockingLevel: 0,
				Minimum: 0,
				Maximum: 0
			},
			ManufacturerSuggestedStocking: 
			{
				ManufacturerManaged: False,
				BestStockingLevel: 0,
				ReOrderPoint: 0,
				AdditionalInformation: String,
				ProgramType: String,
				ManufacturerObsolete: False
			},
			OnHand: 
			{
				Total: 0,
				Allocated: 0,
				Available: 0
			},
			OnOrder: 
			{
				Total: 0,
				Allocated: 0,
				Available: 0,
				Pending: 0,
				BackOrder: 0
			},
			SalesHits: 
			[
				{
					Month: 0,
					Year: 0,
					Value: 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
		}
	]
}