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: 
		[
			{
				PartRef: 00000000000000000000000000000000,
				PartNumber: String,
				Quantity: 0,
				ReturnType: String,
				Cost: 0,
				Bin: String,
				Notes: String
			}
		],
		SerialNumber: String,
		Status: String,
		LastUpdate: 0001-01-01,
		ManufacturerReturnNumber: String,
		ManufacturerReferenceNumber: String,
		ManufacturerInfo: 
		[
			{
				Name: String,
				Value: String
			}
		]
	},
	IsAsynchronous: False,
	UserRequest: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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