PartnerHub

<back to all web services

PartsInvoiceChange

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/PartsInvoiceChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"PartsInvoiceInfo":{"Id":"string/00000000-0000-0000-0000-000000000000","InvoiceId":"00000000000000000000000000000000","SerialNumber":"String","InvoiceNumber":0,"ContactRef":"00000000000000000000000000000000","Reference":"String","PurchaseOrderNumber":"String","ChargeType":"String","Status":"String","DateOpened":"0001-01-01T00:00:00.0000000Z","DateCashiered":"0001-01-01T00:00:00.0000000Z","PartLines":[{"CSR":"String","PartRef":"00000000000000000000000000000000","PartNumber":"String","PartDescription":"String","Requested":0,"Shipped":0,"Ordered":0,"PriceCode":"String","Cost":0,"UnitPrice":0,"ExtendedPrice":0,"NoHistory":false,"MSRP":0}],"Summary":{"Discount":0,"Sales":0,"Tax1":0,"Tax2":0,"TotalInvoice":0,"TaxExempt":false},"ShippingAddress":{"Name":"String","Address":"String","City":"String","Province":"String","PostalCode":"String"},"QuoteReference":"00000000000000000000000000000000","LastUpdate":"0001-01-01T00:00:00.0000000Z","Memo":"String"},"IsAsynchronous":false,"UserRequest":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"WasSuccessful":false,"Message":"String","ReferenceId":"String"}