The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PartsInvoiceChange HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: text/jsv
Content-Length: length
{
PartsInvoiceInfo:
{
Id: string/00000000-0000-0000-0000-000000000000,
InvoiceId: 00000000000000000000000000000000,
SerialNumber: String,
InvoiceNumber: 0,
RawPartsInvoiceNumber: String,
ContactRef: 00000000000000000000000000000000,
Reference: String,
PurchaseOrderNumber: String,
ChargeType: String,
Status: String,
DateOpened: 0001-01-01,
DateCashiered: 0001-01-01,
PartLines:
[
{
CSR: String,
CSRRef: 00000000000000000000000000000000,
PartRef: 00000000000000000000000000000000,
PartNumber: String,
PartDescription: String,
Requested: 0,
Shipped: 0,
Ordered: 0,
PriceCode: String,
Cost: 0,
UnitPrice: 0,
ExtendedPrice: 0,
NoHistory: False,
MSRP: 0,
Comment: String,
IsPartsKit: False,
PartsKitName: String,
PartMaster: String,
Manufacturer: String,
BIN: String,
IsTransferred: False,
SpecialOrderRef: 00000000000000000000000000000000,
DateAdded: 0001-01-01,
PartLineCoupon:
{
CouponRef: 00000000000000000000000000000000,
CouponCode: String,
Amount: 0
}
}
],
Summary:
{
Discount: 0,
InvoiceCoupons:
[
{
CouponRef: 00000000000000000000000000000000,
CouponCode: String,
Amount: 0
}
],
Sales: 0,
Tax1: 0,
Tax2: 0,
TotalInvoice: 0,
TaxExempt: False,
Freight: 0,
RestockingFee: 0
},
ShippingAddress:
{
Name: String,
Address: String,
City: String,
Province: String,
PostalCode: String,
AdditionalInfo: String,
ShipVia: String
},
QuoteReference: 00000000000000000000000000000000,
LastUpdate: 0001-01-01,
Memo: String
},
IsAsynchronous: False,
UserRequest: String
}