The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PartsInventoryChange HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: text/jsv
Content-Length: length
{
PartInfo:
{
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
},
IsAsynchronous: False,
UserRequest: String
}