HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AppointmentContactVehicleGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<AppointmentId>00000000-0000-0000-0000-000000000000</AppointmentId>
<AppointmentNumber>0</AppointmentNumber>
<AppointmentNumberList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</AppointmentNumberList>
<AppointmentSince>0001-01-01T00:00:00</AppointmentSince>
<AppointmentUntil>0001-01-01T00:00:00</AppointmentUntil>
<ContactLastName>String</ContactLastName>
<ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
<ContactSalesRepRef>00000000-0000-0000-0000-000000000000</ContactSalesRepRef>
<ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
<ModifiedUntil>0001-01-01T00:00:00</ModifiedUntil>
<RawAppointmentNumber>String</RawAppointmentNumber>
<RawAppointmentNumberList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</RawAppointmentNumberList>
<SerialNumber>String</SerialNumber>
<Shop>String</Shop>
<Status>String</Status>
<VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
<VehicleVIN>String</VehicleVIN>
</AppointmentContactVehicleGet>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AppointmentContactVehicleGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<Items>
<AppointmentContactVehicle>
<AppointmentAdvisor>String</AppointmentAdvisor>
<AppointmentAlternateEndAddress>
<AdditionalInfo>String</AdditionalInfo>
<Address>String</Address>
<City>String</City>
<Name>String</Name>
<PostalCode>String</PostalCode>
<Province>String</Province>
</AppointmentAlternateEndAddress>
<AppointmentAlternateStartAddress>
<AdditionalInfo>String</AdditionalInfo>
<Address>String</Address>
<City>String</City>
<Name>String</Name>
<PostalCode>String</PostalCode>
<Province>String</Province>
</AppointmentAlternateStartAddress>
<AppointmentBookingUser>String</AppointmentBookingUser>
<AppointmentCheckedIn>false</AppointmentCheckedIn>
<AppointmentConfirmed>false</AppointmentConfirmed>
<AppointmentContactRef>00000000-0000-0000-0000-000000000000</AppointmentContactRef>
<AppointmentDateOpened>0001-01-01T00:00:00</AppointmentDateOpened>
<AppointmentId>00000000-0000-0000-0000-000000000000</AppointmentId>
<AppointmentIsComeback>false</AppointmentIsComeback>
<AppointmentIsWaiter>false</AppointmentIsWaiter>
<AppointmentLastUpdate>0001-01-01T00:00:00</AppointmentLastUpdate>
<AppointmentLeadRef>String</AppointmentLeadRef>
<AppointmentMileageIn>0</AppointmentMileageIn>
<AppointmentNotes>String</AppointmentNotes>
<AppointmentNotifyType>String</AppointmentNotifyType>
<AppointmentNumber>0</AppointmentNumber>
<AppointmentPendingRequest>false</AppointmentPendingRequest>
<AppointmentPickupTime>0001-01-01T00:00:00</AppointmentPickupTime>
<AppointmentPickupTimeUTC>0001-01-01T00:00:00</AppointmentPickupTimeUTC>
<AppointmentRequestLines>
<AppointmentRequest>
<AllowedHours>0</AllowedHours>
<AppointmentRequestId>0</AppointmentRequestId>
<AppointmentRequestRef>00000000-0000-0000-0000-000000000000</AppointmentRequestRef>
<CSR>String</CSR>
<CSRRef>00000000-0000-0000-0000-000000000000</CSRRef>
<EstimateLabour>0</EstimateLabour>
<EstimateParts>0</EstimateParts>
<LabourOpDescription>String</LabourOpDescription>
<LineType>RequestLine</LineType>
<PartsLines>
<AppointmentPartsLine>
<AppointmentPartsLineId>0</AppointmentPartsLineId>
<AppointmentPartsLineRef>00000000-0000-0000-0000-000000000000</AppointmentPartsLineRef>
<BIN>String</BIN>
<CSR>String</CSR>
<CSRRef>00000000-0000-0000-0000-000000000000</CSRRef>
<Cost>0</Cost>
<ExtendedPrice>0</ExtendedPrice>
<IsPartsKit>false</IsPartsKit>
<IsTransferred>false</IsTransferred>
<NoHistory>false</NoHistory>
<Ordered>0</Ordered>
<PartDescription>String</PartDescription>
<PartNumber>String</PartNumber>
<PartsKitName>String</PartsKitName>
<PriceCode>String</PriceCode>
<Requested>0</Requested>
<Shipped>0</Shipped>
<UnitPrice>0</UnitPrice>
</AppointmentPartsLine>
</PartsLines>
<PayType>String</PayType>
<RequestCode>String</RequestCode>
<RequestDescription>String</RequestDescription>
<Skill>String</Skill>
<Status>String</Status>
<Tech>String</Tech>
<TechRef>00000000-0000-0000-0000-000000000000</TechRef>
</AppointmentRequest>
</AppointmentRequestLines>
<AppointmentShop>String</AppointmentShop>
<AppointmentSource>String</AppointmentSource>
<AppointmentStatus>String</AppointmentStatus>
<AppointmentTag>String</AppointmentTag>
<AppointmentTime>0001-01-01T00:00:00</AppointmentTime>
<AppointmentTimeUTC>0001-01-01T00:00:00</AppointmentTimeUTC>
<AppointmentTransportation>String</AppointmentTransportation>
<AppointmentVehicleRef>00000000-0000-0000-0000-000000000000</AppointmentVehicleRef>
<ContactAddress>String</ContactAddress>
<ContactApartmentNumber>String</ContactApartmentNumber>
<ContactBirthDate>0001-01-01T00:00:00</ContactBirthDate>
<ContactBusinessPhone>String</ContactBusinessPhone>
<ContactCellPhone>String</ContactCellPhone>
<ContactCity>String</ContactCity>
<ContactCode>String</ContactCode>
<ContactCommunicationPreferences>
<Email>String</Email>
<FollowUp>String</FollowUp>
<ImplicitConsentDate>0001-01-01T00:00:00</ImplicitConsentDate>
<Letter>String</Letter>
<Marketing>String</Marketing>
<Phone>String</Phone>
<Preferred>String</Preferred>
<TextMessage>String</TextMessage>
<ThirdParty>String</ThirdParty>
</ContactCommunicationPreferences>
<ContactContactName>String</ContactContactName>
<ContactCounty>String</ContactCounty>
<ContactCriticalMemo>String</ContactCriticalMemo>
<ContactDriverLicense>String</ContactDriverLicense>
<ContactEmailAddress>String</ContactEmailAddress>
<ContactFaxNumber>String</ContactFaxNumber>
<ContactFirstName>String</ContactFirstName>
<ContactGender>String</ContactGender>
<ContactHomePhone>String</ContactHomePhone>
<ContactId>00000000-0000-0000-0000-000000000000</ContactId>
<ContactIsBusiness>false</ContactIsBusiness>
<ContactIsInactive>false</ContactIsInactive>
<ContactLanguage>String</ContactLanguage>
<ContactLastName>String</ContactLastName>
<ContactMiddleName>String</ContactMiddleName>
<ContactNotes>String</ContactNotes>
<ContactPreferredContactMethods xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</ContactPreferredContactMethods>
<ContactSalesRepRef>00000000-0000-0000-0000-000000000000</ContactSalesRepRef>
<ContactSalutation>String</ContactSalutation>
<ContactState>String</ContactState>
<ContactZipCode>String</ContactZipCode>
<RawAppointmentNumber>String</RawAppointmentNumber>
<SerialNumber>String</SerialNumber>
<VehicleCriticalMemo>String</VehicleCriticalMemo>
<VehicleCylinders>String</VehicleCylinders>
<VehicleEngine>String</VehicleEngine>
<VehicleExteriorColor>
<BaseColor>String</BaseColor>
<Code>String</Code>
<Description>String</Description>
</VehicleExteriorColor>
<VehicleFleetNumber>String</VehicleFleetNumber>
<VehicleFuel>String</VehicleFuel>
<VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
<VehicleInServiceDate>0001-01-01T00:00:00</VehicleInServiceDate>
<VehicleInteriorColor>
<BaseColor>String</BaseColor>
<Code>String</Code>
<Description>String</Description>
</VehicleInteriorColor>
<VehicleLastServiceDate>0001-01-01T00:00:00</VehicleLastServiceDate>
<VehicleLastServiceMileage>0</VehicleLastServiceMileage>
<VehicleLicenseNumber>String</VehicleLicenseNumber>
<VehicleMake>String</VehicleMake>
<VehicleModel>String</VehicleModel>
<VehicleModelNumber>String</VehicleModelNumber>
<VehicleNotes>String</VehicleNotes>
<VehicleOdometer>0</VehicleOdometer>
<VehicleStatus>String</VehicleStatus>
<VehicleStockNumber>String</VehicleStockNumber>
<VehicleTransmission>String</VehicleTransmission>
<VehicleTrim>String</VehicleTrim>
<VehicleType>String</VehicleType>
<VehicleVIN>String</VehicleVIN>
<VehicleYear>String</VehicleYear>
</AppointmentContactVehicle>
</Items>
</AppointmentContactVehicleGetResponse>
</soap12:Body>
</soap12:Envelope>