PartnerHub

<back to all web services

PartsReturnGet

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

HTTP + JSV

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

POST /jsv/reply/PartsReturnGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/jsv
Content-Length: length

{
	SerialNumber: String,
	ReturnNumber: 0,
	ReferenceNumber: String,
	ReturnSince: 0001-01-01,
	ReturnUntil: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	]
}