PartnerHub

<back to all web services

PartsReturnChange

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/PartsReturnChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/csv
Content-Length: length

PartsReturnInfo,IsAsynchronous,UserRequest
"{Id:string/0,ReturnNumber:0,ReferenceNumber:String,ReturnType:String,MftrReturnType:String,Supplier:String,ReturnDate:0001-01-01,ReturnLines:[{PartNumber:String,Quantity:0,ReturnType:String,Cost:0}],SerialNumber:String,Status:String,LastUpdate:0001-01-01,ManufacturerReturnNumber:String,ManufacturerReferenceNumber:String}",False,String

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

WasSuccessful,Message,ReferenceId
False,String,String