PartnerHub

<back to all web services

ContactVehicleGet

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

{
	SerialNumber: String,
	ContactId: 00000000000000000000000000000000,
	ContactCode: String,
	ContactLastName: String,
	ContactFirstName: String,
	ContactPhoneNumber: String,
	ContactEmailAddress: String,
	ContactModifiedSince: 0001-01-01,
	ContactModifiedUntil: 0001-01-01,
	VehicleId: 00000000000000000000000000000000,
	VehicleStockNumber: String,
	VehicleVIN: String,
	VehicleLicenseNumber: String,
	VehicleModifiedSince: 0001-01-01,
	VehicleModifiedUntil: 0001-01-01,
	ShortVIN: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			HubContactId: String,
			ContactId: 00000000000000000000000000000000,
			ContactCode: String,
			ContactLastName: String,
			ContactFirstName: String,
			ContactSalutation: String,
			ContactMiddleName: 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,
			ContactCommunicationPreferences: 
			{
				Email: String,
				Phone: String,
				TextMessage: String,
				Letter: String,
				Preferred: String,
				FollowUp: String,
				Marketing: String,
				ThirdParty: String,
				ImplicitConsentDate: 0001-01-01
			},
			ContactLastUpdate: 0001-01-01,
			ContactRepairOrderRequiresPO: False,
			HubVehicleID: String,
			VehicleId: 00000000000000000000000000000000,
			VehicleStockNumber: String,
			VehicleVIN: String,
			VehicleLicenseNumber: String,
			VehicleFleetNumber: 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,
			VehicleLastSaleDate: 0001-01-01,
			VehicleLastServiceDate: 0001-01-01,
			VehicleLastServiceMileage: 0,
			VehicleLastUpdate: 0001-01-01
		}
	]
}