PartnerHub

<back to all web services

PartsReturnChange

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

{
	PartsReturnInfo: 
	{
		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
	},
	IsAsynchronous: False,
	UserRequest: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	WasSuccessful: False,
	Message: String,
	ReferenceId: String
}