PartnerHub

<back to all web services

DealContactVehicleGet

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

{
	ContactLastName: String,
	ContactFirstName: String,
	ContactPhone: String,
	ContactEmailAddress: String,
	ContactDriversLicense: String,
	VehicleVIN: String,
	SerialNumber: String,
	DealId: 00000000000000000000000000000000,
	DealKey: String,
	DealSalesRep: 00000000000000000000000000000000,
	SystemStatus: String,
	Status: String,
	StatusList: 
	[
		String
	],
	ModifiedSince: 0001-01-01,
	ModifiedUntil: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			DealSerialNumber: String,
			DealId: 00000000000000000000000000000000,
			DealKey: String,
			DealCreationDate: 0001-01-01,
			DealStatus: String,
			DealLastUpdate: 0001-01-01,
			DealUserRoles: 
			[
				{
					EmployeeRef: 00000000000000000000000000000000,
					Name: String,
					Primary: False,
					Role: 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
			},
			Vehicles: 
			[
				{
					VehicleRef: 00000000000000000000000000000000,
					StockNumber: String,
					VIN: String,
					IsNewVehicle: False,
					SaleOdometer: 0,
					Cost: 0
				}
			],
			Trades: 
			[
				{
					VehicleRef: 00000000000000000000000000000000,
					VIN: String,
					Allowance: 0,
					Lien: 0,
					Capitalized: 0,
					Upfront: 0,
					ActualCashValue: 0,
					Odometer: 0,
					LienHolder: 
					{
						Name: String,
						Phone: String,
						Address: String,
						City: String,
						Province: String,
						Postal: String
					}
				}
			],
			VehicleId: 00000000000000000000000000000000,
			VehicleStockNumber: String,
			VehicleVIN: String,
			VehicleStatus: String,
			VehicleModelNumber: String,
			VehicleMake: String,
			VehicleModel: String,
			VehicleTrim: String,
			VehicleType: String,
			VehicleYear: String,
			VehicleOdometer: 0,
			VehicleExteriorColor: 
			{
				Code: String,
				Description: String
			},
			VehicleInteriorColor: 
			{
				Code: String,
				Description: String
			},
			VehicleEngine: String,
			VehicleCylinders: String,
			VehicleTransmission: String,
			VehicleFuel: String,
			VehicleNotes: String,
			VehicleCriticalMemo: String
		}
	]
}