PartnerHub

<back to all web services

PartsOrderGet

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

{"SerialNumber":"String","OrderNumber":"String","ReferenceNumber":"String","Supplier":"String","Status":"String","OrderDate":"0001-01-01T00:00:00.0000000Z","ModifiedSince":"0001-01-01T00:00:00.0000000Z","SubmissionDate":"0001-01-01T00:00:00.0000000Z","OrderNumberList":["String"]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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