External LMS Service (Contact Online,Success Unlimited)
Click here for a complete list of operations.
CreateMotLeadAndActivity
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ExternalLMSService.asmx HTTP/1.1
Host: tools.contactonline.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://contactonline.uk.com/IntegrationService/CreateMotLeadAndActivity"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateMotLeadAndActivity xmlns="http://contactonline.uk.com/IntegrationService/">
<LMSAuthentication>
<Username>string</Username>
<Password>string</Password>
</LMSAuthentication>
<DealershipID>int</DealershipID>
<motObject>
<NDD>dateTime</NDD>
<Registration>string</Registration>
<Make>string</Make>
<Model>string</Model>
<Colour>string</Colour>
<SmsmContent>string</SmsmContent>
<RegistrationDate>dateTime</RegistrationDate>
</motObject>
<ExternalLead>
<Title>string</Title>
<Firstname>string</Firstname>
<LastName>string</LastName>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptIn>boolean</OptIn>
<DOB>dateTime</DOB>
<PeronalNotes>string</PeronalNotes>
<ExternalLeadReference>string</ExternalLeadReference>
<AdditionalSource>string</AdditionalSource>
<CanCall>boolean</CanCall>
<CanEmail>boolean</CanEmail>
<CanPost>boolean</CanPost>
<CanSms>boolean</CanSms>
<CanCallManufacturer>boolean</CanCallManufacturer>
<CanEmailManufacturer>boolean</CanEmailManufacturer>
<CanPostManufacturer>boolean</CanPostManufacturer>
<CanSmsManufacturer>boolean</CanSmsManufacturer>
<LeadID>int</LeadID>
</ExternalLead>
<ExternalLeadActivity>
<LeadID>int</LeadID>
<LeadActivityID>int</LeadActivityID>
<InterestProductID>int</InterestProductID>
<InterestMakeID>int</InterestMakeID>
<InterestModelID>int</InterestModelID>
<InterestDetail>string</InterestDetail>
<InterestIsNew>boolean</InterestIsNew>
<InterestIsMotability>boolean</InterestIsMotability>
<DiaryNotes>string</DiaryNotes>
</ExternalLeadActivity>
</CreateMotLeadAndActivity>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateMotLeadAndActivityResponse xmlns="http://contactonline.uk.com/IntegrationService/">
<CreateMotLeadAndActivityResult>
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<AdditionalInformation>string</AdditionalInformation>
<RequestToken>guid</RequestToken>
<RequestDateTime>dateTime</RequestDateTime>
<AuthenticationStatus>string</AuthenticationStatus>
<CreatedLeadID>int</CreatedLeadID>
<LeadReceived>
<Title>string</Title>
<Firstname>string</Firstname>
<LastName>string</LastName>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptIn>boolean</OptIn>
<DOB>dateTime</DOB>
<PeronalNotes>string</PeronalNotes>
<ExternalLeadReference>string</ExternalLeadReference>
<AdditionalSource>string</AdditionalSource>
<CanCall>boolean</CanCall>
<CanEmail>boolean</CanEmail>
<CanPost>boolean</CanPost>
<CanSms>boolean</CanSms>
<CanCallManufacturer>boolean</CanCallManufacturer>
<CanEmailManufacturer>boolean</CanEmailManufacturer>
<CanPostManufacturer>boolean</CanPostManufacturer>
<CanSmsManufacturer>boolean</CanSmsManufacturer>
<LeadID>int</LeadID>
</LeadReceived>
<LeadActivityReceived>
<LeadID>int</LeadID>
<LeadActivityID>int</LeadActivityID>
<InterestProductID>int</InterestProductID>
<InterestMakeID>int</InterestMakeID>
<InterestModelID>int</InterestModelID>
<InterestDetail>string</InterestDetail>
<InterestIsNew>boolean</InterestIsNew>
<InterestIsMotability>boolean</InterestIsMotability>
<DiaryNotes>string</DiaryNotes>
</LeadActivityReceived>
<AuthenticationReceived>
<Username>string</Username>
<Password>string</Password>
</AuthenticationReceived>
</CreateMotLeadAndActivityResult>
</CreateMotLeadAndActivityResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ExternalLMSService.asmx HTTP/1.1
Host: tools.contactonline.co.uk
Content-Type: application/soap+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>
<CreateMotLeadAndActivity xmlns="http://contactonline.uk.com/IntegrationService/">
<LMSAuthentication>
<Username>string</Username>
<Password>string</Password>
</LMSAuthentication>
<DealershipID>int</DealershipID>
<motObject>
<NDD>dateTime</NDD>
<Registration>string</Registration>
<Make>string</Make>
<Model>string</Model>
<Colour>string</Colour>
<SmsmContent>string</SmsmContent>
<RegistrationDate>dateTime</RegistrationDate>
</motObject>
<ExternalLead>
<Title>string</Title>
<Firstname>string</Firstname>
<LastName>string</LastName>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptIn>boolean</OptIn>
<DOB>dateTime</DOB>
<PeronalNotes>string</PeronalNotes>
<ExternalLeadReference>string</ExternalLeadReference>
<AdditionalSource>string</AdditionalSource>
<CanCall>boolean</CanCall>
<CanEmail>boolean</CanEmail>
<CanPost>boolean</CanPost>
<CanSms>boolean</CanSms>
<CanCallManufacturer>boolean</CanCallManufacturer>
<CanEmailManufacturer>boolean</CanEmailManufacturer>
<CanPostManufacturer>boolean</CanPostManufacturer>
<CanSmsManufacturer>boolean</CanSmsManufacturer>
<LeadID>int</LeadID>
</ExternalLead>
<ExternalLeadActivity>
<LeadID>int</LeadID>
<LeadActivityID>int</LeadActivityID>
<InterestProductID>int</InterestProductID>
<InterestMakeID>int</InterestMakeID>
<InterestModelID>int</InterestModelID>
<InterestDetail>string</InterestDetail>
<InterestIsNew>boolean</InterestIsNew>
<InterestIsMotability>boolean</InterestIsMotability>
<DiaryNotes>string</DiaryNotes>
</ExternalLeadActivity>
</CreateMotLeadAndActivity>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+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>
<CreateMotLeadAndActivityResponse xmlns="http://contactonline.uk.com/IntegrationService/">
<CreateMotLeadAndActivityResult>
<StatusCode>int</StatusCode>
<StatusMessage>string</StatusMessage>
<AdditionalInformation>string</AdditionalInformation>
<RequestToken>guid</RequestToken>
<RequestDateTime>dateTime</RequestDateTime>
<AuthenticationStatus>string</AuthenticationStatus>
<CreatedLeadID>int</CreatedLeadID>
<LeadReceived>
<Title>string</Title>
<Firstname>string</Firstname>
<LastName>string</LastName>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptIn>boolean</OptIn>
<DOB>dateTime</DOB>
<PeronalNotes>string</PeronalNotes>
<ExternalLeadReference>string</ExternalLeadReference>
<AdditionalSource>string</AdditionalSource>
<CanCall>boolean</CanCall>
<CanEmail>boolean</CanEmail>
<CanPost>boolean</CanPost>
<CanSms>boolean</CanSms>
<CanCallManufacturer>boolean</CanCallManufacturer>
<CanEmailManufacturer>boolean</CanEmailManufacturer>
<CanPostManufacturer>boolean</CanPostManufacturer>
<CanSmsManufacturer>boolean</CanSmsManufacturer>
<LeadID>int</LeadID>
</LeadReceived>
<LeadActivityReceived>
<LeadID>int</LeadID>
<LeadActivityID>int</LeadActivityID>
<InterestProductID>int</InterestProductID>
<InterestMakeID>int</InterestMakeID>
<InterestModelID>int</InterestModelID>
<InterestDetail>string</InterestDetail>
<InterestIsNew>boolean</InterestIsNew>
<InterestIsMotability>boolean</InterestIsMotability>
<DiaryNotes>string</DiaryNotes>
</LeadActivityReceived>
<AuthenticationReceived>
<Username>string</Username>
<Password>string</Password>
</AuthenticationReceived>
</CreateMotLeadAndActivityResult>
</CreateMotLeadAndActivityResponse>
</soap12:Body>
</soap12:Envelope>