PartnerHub

<back to all web services

PartsQuoteGet

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

{
	SerialNumber: String,
	PartsQuoteId: 00000000000000000000000000000000,
	PartsQuoteIdList: 
	[
		00000000000000000000000000000000
	],
	PartsQuoteNumber: 0,
	RawPartsQuoteNumber: String,
	ContactRef: 00000000000000000000000000000000,
	Status: String,
	OpenedSince: 0001-01-01,
	OpenedUntil: 0001-01-01,
	ModifiedSince: 0001-01-01,
	ModifiedUntil: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PartsQuotes: 
	[
		{
			Id: string/00000000-0000-0000-0000-000000000000,
			QuoteID: 00000000000000000000000000000000,
			SerialNumber: String,
			QuoteNumber: 0,
			RawPartsQuoteNumber: String,
			ContactRef: 00000000000000000000000000000000,
			Reference: String,
			Status: String,
			DateOpened: 0001-01-01,
			DateClosed: 0001-01-01,
			DateExpires: 0001-01-01,
			PartLines: 
			[
				{
					CSR: String,
					CSRRef: 00000000000000000000000000000000,
					PartRef: 00000000000000000000000000000000,
					PartNumber: String,
					PartDescription: String,
					Requested: 0,
					Shipped: 0,
					Ordered: 0,
					PriceCode: String,
					Cost: 0,
					UnitPrice: 0,
					ExtendedPrice: 0,
					NoHistory: False,
					MSRP: 0,
					PartMaster: String,
					Manufacturer: String
				}
			],
			ShippingAddress: 
			{
				Name: String,
				Address: String,
				City: String,
				Province: String,
				PostalCode: String,
				AdditionalInfo: String,
				ShipVia: String
			},
			LastUpdate: 0001-01-01,
			Source: String,
			PendingRequest: False,
			Memo: String,
			Summary: 
			{
				Discount: 0,
				Sales: 0,
				Tax1: 0,
				Tax2: 0,
				TotalQuote: 0,
				TaxExempt: False
			}
		}
	]
}