PartnerHub

<back to all web services

PartsReturnGet

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

SerialNumber,ReturnNumber,ReferenceNumber,ReturnSince,ReturnUntil
String,0,String,0001-01-01,0001-01-01

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

PartsReturns
"[{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}]"