PartnerHub

<back to all web services

AppointmentContactVehicleGet

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/AppointmentContactVehicleGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"SerialNumber":"String","AppointmentId":"00000000000000000000000000000000","AppointmentNumber":0,"ContactRef":"00000000000000000000000000000000","VehicleRef":"00000000000000000000000000000000","Status":"String","AppointmentSince":"0001-01-01T00:00:00.0000000Z","AppointmentUntil":"0001-01-01T00:00:00.0000000Z","ModifiedSince":"0001-01-01T00:00:00.0000000Z","ModifiedUntil":"0001-01-01T00:00:00.0000000Z","Shop":"String","AppointmentNumberList":[0]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Items":[{"AppointmentId":"00000000000000000000000000000000","SerialNumber":"String","AppointmentNumber":0,"AppointmentShop":"String","AppointmentAdvisor":"String","AppointmentTransportation":"String","AppointmentContactRef":"00000000000000000000000000000000","AppointmentVehicleRef":"00000000000000000000000000000000","AppointmentMileageIn":0,"AppointmentIsComeback":false,"AppointmentIsWaiter":false,"AppointmentTime":"0001-01-01T00:00:00.0000000Z","AppointmentPickupTime":"0001-01-01T00:00:00.0000000Z","AppointmentRequestLines":[{"AppointmentRequestId":0,"CSR":"String","Skill":"String","RequestCode":"String","RequestDescription":"String","AllowedHours":0,"EstimateLabour":0,"EstimateParts":0,"PartsLines":[{"AppointmentPartsLineId":0,"CSR":"String","PartNumber":"String","PartDescription":"String","Requested":0,"Shipped":0,"Ordered":0,"PriceCode":"String","Cost":0,"UnitPrice":0,"ExtendedPrice":0,"NoHistory":false}],"LabourOpDescription":"String","PayType":"String"}],"AppointmentLastUpdate":"0001-01-01T00:00:00.0000000Z","AppointmentStatus":"String","AppointmentNotes":"String","AppointmentSource":"String","AppointmentPendingRequest":false,"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-01T00:00:00.0000000Z","ContactGender":"String","ContactDriverLicense":"String","ContactPreferredContactMethods":["String"],"ContactCommunicationPreferences":{"Email":"String","Phone":"String","TextMessage":"String","Letter":"String","Preferred":"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","VehicleInServiceDate":"0001-01-01T00:00:00.0000000Z","VehicleLastServiceDate":"0001-01-01T00:00:00.0000000Z","VehicleLastServiceMileage":0,"VehicleNotes":"String","VehicleCriticalMemo":"String"}]}