HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/AppointmentContactVehicleChange HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: application/xml
Content-Length: length
<AppointmentContactVehicleChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<AppointmentInfo>
<Advisor>String</Advisor>
<AdvisorRef>00000000-0000-0000-0000-000000000000</AdvisorRef>
<AlternateEndAddress>
<AdditionalInfo>String</AdditionalInfo>
<Address>String</Address>
<City>String</City>
<Name>String</Name>
<PostalCode>String</PostalCode>
<Province>String</Province>
</AlternateEndAddress>
<AlternateStartAddress>
<AdditionalInfo>String</AdditionalInfo>
<Address>String</Address>
<City>String</City>
<Name>String</Name>
<PostalCode>String</PostalCode>
<Province>String</Province>
</AlternateStartAddress>
<AppointmentId>00000000-0000-0000-0000-000000000000</AppointmentId>
<AppointmentNumber>0</AppointmentNumber>
<AppointmentTime>0001-01-01T00:00:00</AppointmentTime>
<AppointmentTimeUTC>0001-01-01T00:00:00</AppointmentTimeUTC>
<BookingUser>String</BookingUser>
<BookingUserRef>00000000-0000-0000-0000-000000000000</BookingUserRef>
<CheckedIn>false</CheckedIn>
<Confirmed>false</Confirmed>
<ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
<DateOpened>0001-01-01T00:00:00</DateOpened>
<FirstApptTimeAvailable xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</FirstApptTimeAvailable>
<IsComeback>false</IsComeback>
<IsWaiter>false</IsWaiter>
<LastUpdate>0001-01-01T00:00:00</LastUpdate>
<LeadRef>String</LeadRef>
<MileageIn>0</MileageIn>
<Notes>String</Notes>
<NotifyType>String</NotifyType>
<PendingRequest>false</PendingRequest>
<PickupTime>0001-01-01T00:00:00</PickupTime>
<PickupTimeUTC>0001-01-01T00:00:00</PickupTimeUTC>
<RawAppointmentNumber>String</RawAppointmentNumber>
<RequestLines>
<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>
</RequestLines>
<SerialNumber>String</SerialNumber>
<Shop>String</Shop>
<Source>String</Source>
<Status>String</Status>
<Tag>String</Tag>
<Transportation>String</Transportation>
<VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
</AppointmentInfo>
<ContactInfo>
<Address>String</Address>
<ApartmentNumber>String</ApartmentNumber>
<BirthDate>0001-01-01T00:00:00</BirthDate>
<BusinessPhone>String</BusinessPhone>
<BusinessPhoneExt>String</BusinessPhoneExt>
<BusinessPhoneRawReverse>String</BusinessPhoneRawReverse>
<CellPhone>String</CellPhone>
<CellPhoneRawReverse>String</CellPhoneRawReverse>
<City>String</City>
<Code>String</Code>
<CommunicationPreferences>
<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>
</CommunicationPreferences>
<ContactId>00000000-0000-0000-0000-000000000000</ContactId>
<ContactName>String</ContactName>
<County>String</County>
<CreatedDate>0001-01-01T00:00:00</CreatedDate>
<CriticalMemo>String</CriticalMemo>
<CustomFields>
<CustomField>
<Key>String</Key>
<Type>String</Type>
<Value>String</Value>
</CustomField>
</CustomFields>
<DoNotLoadHistory>false</DoNotLoadHistory>
<DriverLicense>String</DriverLicense>
<DriversLicenseExpiry>0001-01-01T00:00:00</DriversLicenseExpiry>
<EmailAddress>String</EmailAddress>
<FaxNumber>String</FaxNumber>
<FirstName>String</FirstName>
<FleetType>String</FleetType>
<Gender>String</Gender>
<HomePhone>String</HomePhone>
<HomePhoneRawReverse>String</HomePhoneRawReverse>
<IsAPVendor>false</IsAPVendor>
<IsARCustomer>false</IsARCustomer>
<IsBusiness>false</IsBusiness>
<IsInactive>false</IsInactive>
<IsStatic>false</IsStatic>
<Language>String</Language>
<LastName>String</LastName>
<LastUpdate>0001-01-01T00:00:00</LastUpdate>
<ManufacturerLoyaltyNumber>String</ManufacturerLoyaltyNumber>
<MergedToContactRef>00000000-0000-0000-0000-000000000000</MergedToContactRef>
<MiddleName>String</MiddleName>
<Notes>String</Notes>
<PayableAccount>String</PayableAccount>
<PayableAccounts>
<AccountInfo>
<Account>String</Account>
<SerialNumber>String</SerialNumber>
</AccountInfo>
</PayableAccounts>
<PreferredContactMethods xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</PreferredContactMethods>
<PrimaryImageRef>00000000-0000-0000-0000-000000000000</PrimaryImageRef>
<ReceivableAccount>String</ReceivableAccount>
<ReceivableAccounts>
<AccountInfo>
<Account>String</Account>
<SerialNumber>String</SerialNumber>
</AccountInfo>
</ReceivableAccounts>
<RelationshipType>String</RelationshipType>
<RepairOrderRequiresPO>false</RepairOrderRequiresPO>
<SalesRepRef>00000000-0000-0000-0000-000000000000</SalesRepRef>
<SalesReps>
<SalesRepDivisions>
<SalesRepRef>00000000-0000-0000-0000-000000000000</SalesRepRef>
<SerialNumber>String</SerialNumber>
</SalesRepDivisions>
</SalesReps>
<Salutation>String</Salutation>
<SerialNumber>String</SerialNumber>
<State>String</State>
<ZipCode>String</ZipCode>
</ContactInfo>
<CreateNewAppointment>false</CreateNewAppointment>
<IsAsynchronous>false</IsAsynchronous>
<UserRef>00000000-0000-0000-0000-000000000000</UserRef>
<UserRequest>String</UserRequest>
<VehicleInfo>
<AdditionalDrivers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>00000000-0000-0000-0000-000000000000</d3p1:guid>
</AdditionalDrivers>
<Air>0</Air>
<AppraisedValue>0</AppraisedValue>
<BaseMSR>0</BaseMSR>
<BlueBookValue>0</BlueBookValue>
<Body>String</Body>
<Category>String</Category>
<Configuration>String</Configuration>
<CriticalMemo>String</CriticalMemo>
<CustomFields>
<CustomField>
<Key>String</Key>
<Type>String</Type>
<Value>String</Value>
</CustomField>
</CustomFields>
<Cylinders>String</Cylinders>
<DateReceived>0001-01-01T00:00:00</DateReceived>
<DeliveryDate>0001-01-01T00:00:00</DeliveryDate>
<DisplayTrim>String</DisplayTrim>
<DriveWheel>String</DriveWheel>
<Engine>String</Engine>
<ExteriorColor>
<BaseColor>String</BaseColor>
<Code>String</Code>
<Description>String</Description>
</ExteriorColor>
<FleetNumber>String</FleetNumber>
<FloorPlanAmount>0</FloorPlanAmount>
<FloorPlanCode>String</FloorPlanCode>
<Freight>0</Freight>
<Fuel>String</Fuel>
<Hold>
<Comments>String</Comments>
<ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
<HoldFrom>0001-01-01T00:00:00</HoldFrom>
<HoldUntil>0001-01-01T00:00:00</HoldUntil>
<UserRef>00000000-0000-0000-0000-000000000000</UserRef>
<VehicleRef>00000000-0000-0000-0000-000000000000</VehicleRef>
</Hold>
<Holdback>0</Holdback>
<InServiceDate>0001-01-01T00:00:00</InServiceDate>
<Insurance>
<AgentName>String</AgentName>
<AgentPhoneNumber>String</AgentPhoneNumber>
<Company>String</Company>
<ExpiryDate>0001-01-01T00:00:00</ExpiryDate>
<Policy>String</Policy>
</Insurance>
<InteriorColor>
<BaseColor>String</BaseColor>
<Code>String</Code>
<Description>String</Description>
</InteriorColor>
<InternetNotes>String</InternetNotes>
<InternetPrice>0</InternetPrice>
<Inventory>0</Inventory>
<IsCertified>false</IsCertified>
<IsConditionallySold>false</IsConditionallySold>
<IsInactive>false</IsInactive>
<LastSaleDate>0001-01-01T00:00:00</LastSaleDate>
<LastServiceDate>0001-01-01T00:00:00</LastServiceDate>
<LastServiceMileage>0</LastServiceMileage>
<LastUpdate>0001-01-01T00:00:00</LastUpdate>
<LicenseNumber>String</LicenseNumber>
<Lot>String</Lot>
<LotDescription>String</LotDescription>
<Lotpack>0</Lotpack>
<MSR>0</MSR>
<Make>String</Make>
<Model>String</Model>
<ModelNumber>String</ModelNumber>
<Notes>String</Notes>
<Odometer>0</Odometer>
<Options>
<VehicleOption>
<AdditionalInfo>String</AdditionalInfo>
<Code>String</Code>
<Cost>0</Cost>
<Description>String</Description>
<Group>String</Group>
<Price>0</Price>
<Residual>0</Residual>
</VehicleOption>
</Options>
<Order>
<Description>String</Description>
<DoorKeyCode>String</DoorKeyCode>
<EstimatedCost>0</EstimatedCost>
<Eta>String</Eta>
<IgnitionKeyCode>String</IgnitionKeyCode>
<InvoiceNumber>String</InvoiceNumber>
<LocationStatus>String</LocationStatus>
<LocationStatusDate>0001-01-01T00:00:00</LocationStatusDate>
<OrderDate>String</OrderDate>
<Price>0</Price>
<Status>String</Status>
<StatusDate>String</StatusDate>
</Order>
<OrderDetails>
<Distributor>String</Distributor>
</OrderDetails>
<OwnerRef>00000000-0000-0000-0000-000000000000</OwnerRef>
<PDI>0</PDI>
<PrimaryImageRef>00000000-0000-0000-0000-000000000000</PrimaryImageRef>
<Refurbishments>
<VehicleRefurbishment>
<ApplicationModel>String</ApplicationModel>
<Cost>0</Cost>
<Date>0001-01-01T00:00:00</Date>
<Description>String</Description>
<Price>0</Price>
<ReferenceNumber>String</ReferenceNumber>
</VehicleRefurbishment>
</Refurbishments>
<Retail>0</Retail>
<SalesDivision>0</SalesDivision>
<SeatingCapacity>String</SeatingCapacity>
<SerialNumber>String</SerialNumber>
<ShortVIN>String</ShortVIN>
<ShowOnWeb>false</ShowOnWeb>
<Status>String</Status>
<StockNumber>String</StockNumber>
<StyleRef>String</StyleRef>
<TotalCost>0</TotalCost>
<Transmission>String</Transmission>
<Trim>String</Trim>
<VIN>String</VIN>
<VehicleId>00000000-0000-0000-0000-000000000000</VehicleId>
<VehicleType>String</VehicleType>
<VideoURL>String</VideoURL>
<Warranties>
<VehicleWarranty>
<CompanyName>String</CompanyName>
<Cost>0</Cost>
<CoveragePlan>String</CoveragePlan>
<Deductible>0</Deductible>
<Description>String</Description>
<ExpirationDate>String</ExpirationDate>
<ExpirationMileage>0</ExpirationMileage>
<PolicyNumber>String</PolicyNumber>
<Price>0</Price>
<StartDate>String</StartDate>
<StartMileage>0</StartMileage>
<Term>String</Term>
<Type>String</Type>
</VehicleWarranty>
</Warranties>
<WarrantyExpiry>0001-01-01T00:00:00</WarrantyExpiry>
<Weight>0</Weight>
<Year>String</Year>
</VehicleInfo>
</AppointmentContactVehicleChange>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<Confirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<Message>String</Message>
<ReferenceId>String</ReferenceId>
<ReferenceNumber>String</ReferenceNumber>
<WasSuccessful>false</WasSuccessful>
</Confirmation>