PartnerHub

<back to all web services

PartsInvoiceContactGet

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

{
	SerialNumber: String,
	PartsInvoiceId: 00000000000000000000000000000000,
	PartsInvoiceNumber: 0,
	RawPartsInvoiceNumber: String,
	ContactRef: 00000000000000000000000000000000,
	Status: String,
	CashieredSince: 0001-01-01,
	CashieredUntil: 0001-01-01,
	ModifiedSince: 0001-01-01,
	ModifiedUntil: 0001-01-01,
	ContactSalesRepRef: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			PartsInvoiceId: 00000000000000000000000000000000,
			SerialNumber: String,
			PartsInvoiceNumber: 0,
			PartsInvoiceRawPartsInvoiceNumber: String,
			PartsInvoiceContactRef: 00000000000000000000000000000000,
			PartsInvoiceReference: String,
			PartsInvoicePurchaseOrderNumber: String,
			PartsInvoiceChargeType: String,
			PartsInvoiceStatus: String,
			PartsInvoiceDateOpened: 0001-01-01,
			PartsInvoiceDateCashiered: 0001-01-01,
			PartsInvoicePartLines: 
			[
				{
					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,
					Comment: String,
					IsPartsKit: False,
					PartsKitName: String,
					PartMaster: String,
					Manufacturer: String,
					BIN: String,
					IsTransferred: False,
					SpecialOrderRef: 00000000000000000000000000000000,
					DateAdded: 0001-01-01,
					PartLineCoupon: 
					{
						CouponRef: 00000000000000000000000000000000,
						CouponCode: String,
						Amount: 0
					}
				}
			],
			PartsInvoiceSummary: 
			{
				Discount: 0,
				InvoiceCoupons: 
				[
					{
						CouponRef: 00000000000000000000000000000000,
						CouponCode: String,
						Amount: 0
					}
				],
				Sales: 0,
				Tax1: 0,
				Tax2: 0,
				TotalInvoice: 0,
				TaxExempt: False,
				Freight: 0,
				RestockingFee: 0
			},
			PartsInvoiceShippingAddress: 
			{
				Name: String,
				Address: String,
				City: String,
				Province: String,
				PostalCode: String,
				AdditionalInfo: String,
				ShipVia: String
			},
			PartsInvoiceQuoteReference: 00000000000000000000000000000000,
			PartsInvoiceMemo: String,
			ContactId: 00000000000000000000000000000000,
			ContactCode: String,
			ContactLastName: String,
			ContactFirstName: String,
			ContactSalutation: String,
			ContactMiddleName: String,
			ContactContactName: String,
			ContactIsInactive: False,
			ContactIsBusiness: False,
			ContactApartmentNumber: String,
			ContactAddress: String,
			ContactCity: String,
			ContactCounty: String,
			ContactState: String,
			ContactZipCode: String,
			ContactBusinessPhone: String,
			ContactHomePhone: String,
			ContactCellPhone: String,
			ContactFaxNumber: String,
			ContactEmailAddress: String,
			ContactNotes: String,
			ContactCriticalMemo: String,
			ContactBirthDate: 0001-01-01,
			ContactGender: String,
			ContactDriverLicense: String,
			ContactPreferredContactMethods: 
			[
				String
			],
			ContactCommunicationPreferences: 
			{
				Email: String,
				Phone: String,
				TextMessage: String,
				Letter: String,
				Preferred: String,
				FollowUp: String,
				Marketing: String,
				ThirdParty: String,
				ImplicitConsentDate: 0001-01-01
			},
			ContactSalesRepRef: 00000000000000000000000000000000,
			ContactLanguage: String
		}
	]
}