PartnerHub

<back to all web services

PartsOrderGet

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

SerialNumber,OrderNumber,ReferenceNumber,Supplier,Status,OrderDate,ModifiedSince,OrderNumberList
String,String,String,String,String,0001-01-01,0001-01-01,[String]

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

PartsOrders
"[{Id:string/string,OrderNumber:String,ReferenceNumber:String,OrderType:String,Supplier:String,OrderDate:0001-01-01,OrderLines:[{OrderLineId:String,PartNumber:String,Quantity:0,Bin:String,OrderType:String,Priority:String,Cost:0,CSR:String,EmployeeRef:00000000000000000000000000000000,ContactRef:00000000000000000000000000000000,QuantityReceived:0,QuantityCancelled:0,Comments:String,VIN:String,ManufacturerInfo:[{Name:String,Value:String}]}],SerialNumber:String,Status:String,LastUpdate:0001-01-01,Comments:String,EmployeeRef:00000000000000000000000000000000,ManufacturerInfo:[{Name:String,Value:String}]}]"