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>
<ContactChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
<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>
<IsAsynchronous>false</IsAsynchronous>
<UserRef>00000000-0000-0000-0000-000000000000</UserRef>
<UserRequest>String</UserRequest>
</ContactChange>
</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>
<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>
</soap12:Body>
</soap12:Envelope>