To call any of the AutoSLM API webservices, just call the REST URL post the input body content as the input content listed below. Please replace the block marked "ACCESS CODE HERE" with your AutoSLM assigned access code which will be issued per third party company wanting to connect. Also where applicable, include the dealer code of the dealer this call relates to.

READ
Methods Available

GetDealers
GetCustomerList
GetCustomers
GetStaff
GetLeads
GetStockVehicles
CheckSale

WRITE
Methods Available

AddLead
AddLeadV2
AcceptLead
AddCustomer
AddActivity
AddStockVehicle
DeleteStockVehicle

GetCustomers


This method gets a customers record when a CustID value is passed in. CustID values are listed using the method GetCustomerList.

URL : https://api.autoslm.com/GetCustomers/

Input Body Content:

<Params>
<SecurityData>
<AccessCode>ACCESS CODE HERE</AccessCode>
<DealerCode>DEALER CODE HERE</DealerCode>
</SecurityData>
<XMLData>
<InputParams>
<CustID>The customers unique ID</CustID>
<showenquiry>0 or 1 value - show the enquiry info or not</showenquiry>
<showenqvehicle>0 or 1 value - show the enquiry vehicle info or not</showenqvehicle>
<showpresentvehicle>0 or 1 value - show the present or PX info or not</showpresentvehicle>
<showadditions>0 or 1 value - show any extra info or not</showadditions>
<showactivity>0 or 1 value - show any diary activity info or not</showactivity>
<showsummary>0 or 1 value - show the summary info or not</showsummary>
</InputParams>
</XMLData>
</Params>
* showenquiry is optional
* showenqvehicle is optional
* showpresentvehicle is optional
* showadditions is optional
* showactivity is optional
* showsummary is optional

A sample body submission would look like this

<Params>
<SecurityData>
<AccessCode>D7826GHG66$KHGNgg1FD4DCA492A26E</AccessCode>
<DealerCode>1005</DealerCode>
</SecurityData>
<XMLData>
<InputParams>
<showenquiry>1</showenquiry>
<showenqvehicle>1</showenqvehicle>
<showpresentvehicle>1</showpresentvehicle>
<showadditions>0</showadditions>
<showactivity>0</showactivity>
<showsummary>0</showsummary>
</InputParams>
</XMLData>
</Params>
The sample above would return all the latest customers who have enquiried or been modified recently



Sample Return Content for the basic customer details selection:

<?xml version="1.0" encoding="UTF-8"?><ResultSet>
<ResultSet>
<CUSTOMER CUSTID="10272393">
<USERID>167</USERID>
<ADDEDCUSTOMERDATE>2012-10-18 0:00:00</ADDEDCUSTOMERDATE>
<CUSTOMERTYPE>Retail</CUSTOMERTYPE>
<COMPANYNAME/>
<TITLE>Mr</TITLE>
<FIRSTNAME>Billy </FIRSTNAME>
<SURNAME>Jones </SURNAME>
<PHONENO>01234567890</PHONENO>
<MOBILE>987654321</MOBILE>
<WORKNO/>
<EMAIL>test@dealerhub.net</EMAIL>
<ADDRESS1>999 Windsor Rd</ADDRESS1>
<ADDRESS2>Prestwich </ADDRESS2>
<CITY>Manchester</CITY>
<COUNTY>Greater Manchester</COUNTY>
<POSTCODE>M25 0DR</POSTCODE>
<COUNTRY/>
<STATUS>Active customer</STATUS>
<PREFCONTACT/>
<BESTCONTACTTIME>Mornings</BESTCONTACTTIME>
<DPAPOSTAL>Y</DPAPOSTAL>
<DPATEL>Y</DPATEL>
<DPAEMAIL>N</DPAEMAIL>
<DPASMS>N</DPASMS>
<PREVCUST>0</PREVCUST>
<CHANGECYCLE>24 Months</CHANGECYCLE>
<SALESMANNAME>DealerHub Manager</SALESMANNAME>
<ENQUIRY ENQREF="10272393-1">
<ENQNO>1</ENQNO>
<ADDEDENQUIRYDATE>2012-10-18 0:00:00</ADDEDENQUIRYDATE>
<CLOSEDDATE/>
<MOC>Visit</MOC>
<SOE>Daily Mail</SOE>
<ADCAMPAIGN/>
<MONTHLYPAYMENT>0</MONTHLYPAYMENT>
<OWEAMOUNT>0</OWEAMOUNT>
<HOWFINANCED>Please Select</HOWFINANCED>
<ISCLEAD>0</ISCLEAD>
<LEADTYPE/>
<NEXTVEHICLE ID="46163">
<MAKEID>32</MAKEID>
<MAKE> Volvo</MAKE>
<MODELID>39515</MODELID>
<MODEL> C70 Coupe Convertible</MODEL>
<DERIVATIVEID>238753</DERIVATIVEID>
<DERIVATIVE_STRING>T5 SE Lux 2dr Geartronic</DERIVATIVE_STRING>
<FUEL>Petrol</FUEL>
<ENGINESIZE>2.0</ENGINESIZE>
<COLOUR>Gold</COLOUR>
<TRANSMISSION>Automatic</TRANSMISSION>
<DATEREQUIRED>2012-10-10 0:00:00</DATEREQUIRED>
<VIN>GHGHGYT76786786786</VIN>
<MILEAGE>123</MILEAGE>
<MODELYEAR>2012</MODELYEAR>
<NEWUSED>NEW</NEWUSED>
</NEXTVEHICLE>
<PRESENTVEHICLE ID="15326">
<PRESTRANSMISSION>Automatic</PRESTRANSMISSION>
<PRESSERVICEHISTORY>Full Franchised</PRESSERVICEHISTORY>
<PRESOWNERS>1</PRESOWNERS>
<PRESMAKEID>22</PRESMAKEID>
<PRESMAKE> Mercedes-Benz</PRESMAKE>
<PRESMODELID>38479</PRESMODELID>
<PRESMODEL> M Class Diesel Sw</PRESMODEL>
<PRESDERIVATIVEID>238105</PRESDERIVATIVEID>
<PRESDERIVATIVESTRING>ML320 CDI SE 5dr Tip Auto</PRESDERIVATIVESTRING>
<PRESFUEL>Diesel</PRESFUEL>
<PRESMILEAGE>96999</PRESMILEAGE>
<PRESCOLOUR>Silver</PRESCOLOUR>
<PRESENGINENO>64294040047919</PRESENGINENO>
<PRESDATEOFREG>2005-05-12 0:00:00</PRESDATEOFREG>
<PRESTIV>15000</PRESTIV>
<PRESSIV>16000</PRESSIV>
<PRESREPAIRCOST>1000</PRESREPAIRCOST>
<PRESMODELYEAR>2005</PRESMODELYEAR>
</PRESENTVEHICLE>
<ENQUIRY_NOTES ID="197313">
<NOTES>Test notes</NOTES>
<DATEADDED>2012-10-18 0:00:00</DATEADDED>
</ENQUIRY_NOTES>
</ENQUIRY>
</CUSTOMER>
</ResultSet>





Sample Return Content for the FULL customer details selection:

<?xml version="1.0" encoding="UTF-8"?>
<ResultSet>
<CUSTOMER CUSTID="1005975938">
<USERID>77</USERID>
<ADDEDCUSTOMERDATE>2017-03-22 0:00:00</ADDEDCUSTOMERDATE>
<CUSTOMERTYPE>Retail</CUSTOMERTYPE>
<CUSTOMERTYPEID>1</CUSTOMERTYPEID>
<COMPANYNAME/>
<TITLE/>
<FIRSTNAME>Henry</FIRSTNAME>
<SURNAME>Merret</SURNAME>
<PHONENO>0129631837</PHONENO>
<MOBILE>077789893333</MOBILE>
<WORKNO/>
<EMAIL>test@autoslm.com</EMAIL>
<ADDRESS1>167 Watkins Drive</ADDRESS1>
<ADDRESS2>Prestwich</ADDRESS2>
<CITY>Manchester</CITY>
<COUNTY>Greater Manchester</COUNTY>
<POSTCODE>M25 0DR</POSTCODE>
<COUNTRY/>
<STATUS>Active customer</STATUS>
<PREFCONTACT>Phone No</PREFCONTACT>
<BESTCONTACTTIME>Mornings</BESTCONTACTTIME>
<DPAPOSTAL>Y</DPAPOSTAL>
<DPATEL>Y</DPATEL>
<DPAEMAIL>Y</DPAEMAIL>
<DPASMS>Y</DPASMS>
<PREVCUST>0</PREVCUST>
<CHANGECYCLE>N/A</CHANGECYCLE>
<SALESMANNAME>Bobby Jones</SALESMANNAME>
<IDNUMBER/>
<ENQUIRY ENQREF="1005975938-1">
<ENQNO>1</ENQNO>
<ADDEDENQUIRYDATE>2017-03-22 0:00:00</ADDEDENQUIRYDATE>
<CLOSEDDATE/>
<MOC>Visit</MOC>
<SOE>Local Press</SOE>
<ADCAMPAIGN/>
<MONTHLYPAYMENT>344.55</MONTHLYPAYMENT>
<OWEAMOUNT>3444</OWEAMOUNT>
<HOWFINANCED>Cash Deal</HOWFINANCED>
<ISCLEAD>0</ISCLEAD>
<LEADTYPE/>
<NEXTVEHICLE ID="1235738">
       <MAKEID>30</MAKEID>
       <MAKE>Toyota</MAKE>
       <MODELID>39751</MODELID>
       <MODEL>Aygo Hatchback</MODEL>
       <DERIVATIVEID>518576</DERIVATIVEID>
       <DERIVATIVE_STRING>1.0 VVT-i X-Play 5dr [X-nav] x-shift</DERIVATIVE_STRING>
       <FUEL>Petrol</FUEL>
       <ENGINESIZE>1.0</ENGINESIZE>
       <COLOUR>Pure white</COLOUR>
       <TRANSMISSION>Automatic</TRANSMISSION>
       <DATEREQUIRED>2017-04-02 0:00:00</DATEREQUIRED>
       <VIN/>
       <MILEAGE>3333</MILEAGE>
       <MODELYEAR>2017</MODELYEAR>
       <NEWUSED>NEW</NEWUSED>
       <REGNO/>
       <REGDATE/>
</NEXTVEHICLE>
<PRESENTVEHICLE ID="934557">
       <PRESTRANSMISSION>Automatic</PRESTRANSMISSION>
       <PRESSERVICEHISTORY>N/A</PRESSERVICEHISTORY>
       <PRESOWNERS>4</PRESOWNERS>
       <PRESMAKEID>6</PRESMAKEID>
       <PRESMAKE>BMW</PRESMAKE>
       <PRESMODELID>38539</PRESMODELID>
       <PRESMODEL>3 Series Diesel Touring</PRESMODEL>
       <PRESDERIVATIVEID>239498</PRESDERIVATIVEID>
       <PRESDERIVATIVESTRING/>
       <PRESFUEL>Diesel</PRESFUEL>
       <PRESMILEAGE>2343</PRESMILEAGE>
       <PRESCOLOUR>Black</PRESCOLOUR>
       <PRESENGINENO>95166661</PRESENGINENO>
       <PRESDATEOFREG>2007-10-30 0:00:00</PRESDATEOFREG>
       <PRESTIV>4555</PRESTIV>
       <PRESSIV>5110</PRESSIV>
       <PRESREPAIRCOST>555</PRESREPAIRCOST>
       <PRESMODELYEAR>2007</PRESMODELYEAR>
       <PRESREG>OV57OSJ</PRESREG>
</PRESENTVEHICLE>
<ENQUIRY_NOTES ID="1448225">
       <NOTES><font color=black>test customer note</font> (Added by Bobby Jones)</NOTES>
       <DATEADDED>2017-04-03 0:00:00</DATEADDED>
</ENQUIRY_NOTES>
<CustomerAdditions>
       <dealerforms_bankname/>
       <dealerforms_propertytype></dealerforms_propertytype>
       <dealerforms_prevtimeatprevemployer/>
       <colour>Pure white</colour>
       <doc_monthly60>176.30</doc_monthly60>
       <model>39751</model>
       <doc_baltofinance>7833.22</doc_baltofinance>
       <doc_rfl>0.00</doc_rfl>
       <dpaemail>Yes</dpaemail>
       <changecycle>N/A</changecycle>
       <ddstate_county>Greater Manchester</ddstate_county>
       <dobyear>1900</dobyear>
       <dealerforms_circumstances2>No</dealerforms_circumstances2>
       <question32>Social pleasure</question32>
       <doc_accdesc1/>
       <dealerforms_prevaddress/>
       <dp_factoryfit>0.00</dp_factoryfit>
       <question4>Skiiing</question4>
       <dpapostal>Yes</dpapostal>
       <vin/>
       <pxquestion7>Unknown</pxquestion7>
       <doc_warranty>0</doc_warranty>
       <dp_accessories>0.00</dp_accessories>
       <doc_accprice6_optiontype>ACC</doc_accprice6_optiontype>
       <dealerforms_upur_hpsettlement/>
       <doc_pxallow1>0</doc_pxallow1>
       <temppxtransmission>Automatic</temppxtransmission>
       <saveadditions>1</saveadditions>
       <doc_accprice2>0.00</doc_accprice2>
       <tempfuel>Petrol</tempfuel>
       <dealerforms_branch/>
       <nodiaryalert>0</nodiaryalert>
       <doc_accprice3_vatrate>20</doc_accprice3_vatrate>
       <doc_discount3>0.00</doc_discount3>
       <dealerforms_changespersonal2/>
       <dealerforms_features/>
       <dp_othercosts>0.00</dp_othercosts>
       <pxquestion9>Unknown</pxquestion9>
       <prestiv>4555</prestiv>
       <enginesize>1.0</enginesize>
       <blocksave>0</blocksave>
       <doc_pcptexta>24</doc_pcptexta>
       <doc_pxvaluetotal>4555.00</doc_pxvaluetotal>
       <prefcontact>Phone No</prefcontact>
       <dealerforms_employeraddress/>
       <doc_pcpbmileage>0</doc_pcpbmileage>
       <TPcode>BM3220S1E5EDTA 4</TPcode>
       <doc_pxvalue>4555</doc_pxvalue>
       <doc_accprice5>0.00</doc_accprice5>
       <dealerforms_prevpcode/>
       <doc_accprice2ex>0</doc_accprice2ex>
       <newused>NEW</newused>
       <mileage>3333</mileage>
       <dealerforms_employmenttype></dealerforms_employmenttype>
       <dealerforms_dependants/>
       <doc_pxsettlement>0.00</doc_pxsettlement>
       <pxquestion1>Unknown</pxquestion1>
       <presmot>-1</presmot>
       <doc_fda>0.00</doc_fda>
       <ddprefcontact>Phone No</ddprefcontact>
       <dealerforms_prevemployer/>
       <monthlypayment>344.55</monthlypayment>
       <dealerforms_jobtitle/>
       <pxquestion4>Unknown</pxquestion4>
       <doc_discount2desc/>
       <question7>Wine drinker</question7>
       <dp_totalvat>2110.54</dp_totalvat>
       <doc_totalotr_vatrate>20</doc_totalotr_vatrate>
       <dealerforms_nofocreditcards/>
       <doc_discount5desc/>
       <doc_accprice6ex>0</doc_accprice6ex>
       <doc_replacementcover>0</doc_replacementcover>
       <engineno/>
       <calcuse>FLAT</calcuse>
       <doc_discount1desc>Retailer Allowance</doc_discount1desc>
       <importantoptions>Transmission,Sat Nav,CO2,Colour,Air Con,Performance</importantoptions>
       <presservicehistory>N/A</presservicehistory>
       <dealerforms_timeout/>
       <hpcustom>54</hpcustom>
       <pxquestion3>Unknown</pxquestion3>
       <pxquestion8>0</pxquestion8>
       <doc_pcpb>0.00</doc_pcpb>
       <address2>Prestwich</address2>
       <drinks>Tea White 2 Sugars</drinks>
       <doc_accdesc2/>
       <doc_discount2ex>0</doc_discount2ex>
       <doc_monthly48>209.56</doc_monthly48>
       <mobile>077789893333</mobile>
       <oweamount>3444</oweamount>
       <doc_serviceplan>0</doc_serviceplan>
       <doc_pcpa1>0.00</doc_pcpa1>
       <doc_roadside>0</doc_roadside>
       <dealid>0</dealid>
       <presnotes/>
       <doc_accprice2_vatrate>20</doc_accprice2_vatrate>
       <ddbestcontacttime>Mornings</ddbestcontacttime>
       <doc_accprice4>0.00</doc_accprice4>
       <doc_accprice3>0.00</doc_accprice3>
       <pcode_zip>M25 0DR</pcode_zip>
       <userid>77</userid>
       <doc_subtotalcar>12388.22</doc_subtotalcar>
       <dealerforms_demodate/>
       <doc_accprice2_optiontype>ACC</doc_accprice2_optiontype>
       <doc_accprice4ex>0</doc_accprice4ex>
       <howfinanced>Cash Deal</howfinanced>
       <ddchangecycle>Not Set</ddchangecycle>
       <dealversion>1</dealversion>
       <doc_apr>11.90</doc_apr>
       <dobmonth>1</dobmonth>
       <stockid/>
       <rid>1005</rid>
       <dealerforms_timeatbank/>
       <dp_metal>10277.68</dp_metal>
       <dp_retailpriceex>10277.68</dp_retailpriceex>
       <fuel>Petrol</fuel>
       <question22>Me and my spouse</question22>
       <mprofit>462.70</mprofit>
       <dp_metal_profit>513.88</dp_metal_profit>
       <dealerforms_regno/>
       <dealerforms_notes/>
       <doc_pcpb1>0.00</doc_pcpb1>
       <ffmargin>4</ffmargin>
       <doc_fee>150.00</doc_fee>
       <doc_pcpa>0.00</doc_pcpa>
       <bonustotal>20</bonustotal>
       <status>1</status>
       <doc_totalotrex>10277.68</doc_totalotrex>
       <dp_purchaseprice>0</dp_purchaseprice>
       <moc>Visit</moc>
       <dp_fees>55.00</dp_fees>
       <dp_usedprofit>0</dp_usedprofit>
       <siv>0</siv>
       <pxquestion2>Unknown</pxquestion2>
       <doc_discount3ex>0</doc_discount3ex>
       <doc_cashback>0</doc_cashback>
       <doc_flat>6.50</doc_flat>
       <doc_accprice3_optiontype>ACC</doc_accprice3_optiontype>
       <doc_monthlycustom>191.08</doc_monthlycustom>
       <doc_totalotr>12388.22</doc_totalotr>
       <question5>Dog called Benji</question5>
       <presengineno>95166661</presengineno>
       <dp_retailprice>12333.22</dp_retailprice>
       <doc_accprice5ex>0</doc_accprice5ex>
       <dpasms>Yes</dpasms>
       <dp_sivprice>0</dp_sivprice>
       <dealerforms_fullpart>Full</dealerforms_fullpart>
       <dealerforms_accounttype/>
       <dealerforms_othermonthly/>
       <dealerforms_bankaccountnumber/>
       <doc_pcpamileage>0</doc_pcpamileage>
       <doc_accprice6>0.00</doc_accprice6>
       <workno/>
       <doc_discount5ex>0</doc_discount5ex>
       <presmake>6</presmake>
       <tcolour>black</tcolour>
       <doc_deliveryex>0</doc_deliveryex>
       <showname>Henry Merret</showname>
       <surname>Merret</surname>
       <taxdiskcost>0</taxdiskcost>
       <dp_totallowances>0.00</dp_totallowances>
       <prescolour>Black</prescolour>
       <bestcontacttime>Mornings</bestcontacttime>
       <dealerforms_monthlysalary/>
       <ddcustomertypetext>Retail</ddcustomertypetext>
       <dealerforms_timeataddress/>
       <doc_discount1>0.00</doc_discount1>
       <customertypetext>Retail</customertypetext>
       <doc_priceexchanged>0</doc_priceexchanged>
       <dp_basicprice_profit>513.88</dp_basicprice_profit>
       <dobday>1</dobday>
       <dealerforms_otherexp/>
       <doc_accprice1_optiontype>ACC</doc_accprice1_optiontype>
       <capid>64860</capid>
       <presreg>OV57OSJ</presreg>
       <doc_accprice4_optiontype>ACC</doc_accprice4_optiontype>
       <ddprevcust>No</ddprevcust>
       <doc_accprice5_optiontype>ACC</doc_accprice5_optiontype>
       <dddpasms>Yes</dddpasms>
       <presfuel>Diesel</presfuel>
       <doc_pcptextb>36</doc_pcptextb>
       <doc_accprice1ex>0</doc_accprice1ex>
       <wholesale>8791.29</wholesale>
       <doc_accdesc5/>
       <presmodel>38539</presmodel>
       <doc_discount2>0.00</doc_discount2>
       <presage>2007</presage>
       <doc_regfee>55.00</doc_regfee>
       <doc_priceex>10277.68</doc_priceex>
       <dddpatel>Yes</dddpatel>
       <notes/>
       <doc_price>12333.22</doc_price>
       <derivative_string>1.0 VVT-i X-Play 5dr [X-nav] x-shift</derivative_string>
       <dealerforms_empphone/>
       <doc_monthly24>375.88</doc_monthly24>
       <datereq>04/02/2017</datereq>
       <dddpaemail>Yes</dddpaemail>
       <dp_newused>NEW</dp_newused>
       <doc_discount1ex>0</doc_discount1ex>
       <firstname>Henry</firstname>
       <doc_accprice4_vatrate>20</doc_accprice4_vatrate>
       <temppxfuel>Diesel</temppxfuel>
       <dealerforms_tdmodel/>
       <doc_accprice1>0.00</doc_accprice1>
       <prestransmission>Automatic</prestransmission>
       <nextpage/>
       <dealerforms_marriagestatus></dealerforms_marriagestatus>
       <email>test@autoslm.com</email>
       <dp_factoryfit_profit>0.00</dp_factoryfit_profit>
       <haschanged>1</haschanged>
       <presvin>WBAVU52000A131604</presvin>
       <transmission>Automatic</transmission>
       <metalmargin>5</metalmargin>
       <dp_vatqualify>N/A</dp_vatqualify>
       <retailprice>12388.22</retailprice>
       <dealerforms_debitcard2/>
       <doc_delivery>0.00</doc_delivery>
       <capcode/>
       <presowners>4</presowners>
       <range>271</range>
       <question2>Me and my spouse</question2>
       <dpatel>Yes</dpatel>
       <pressiv>5110</pressiv>
       <dealerforms_prevtimeatemployer/>
       <dealerforms_timein/>
       <doc_mindep>0.00</doc_mindep>
       <address1>167 Watkins Drive</address1>
       <presspecification>239498</presspecification>
       <dealerforms_mortgage/>
       <dp_saleprice>10277.68</dp_saleprice>
       <pxquestion5/>
       <doc_accprice1_vatrate>20</doc_accprice1_vatrate>
       <presrepaircost>555</presrepaircost>
       <presmileage>2343</presmileage>
       <isnew>Y</isnew>
       <temptransmission>Automatic</temptransmission>
       <co2>97</co2>
       <dp_basicprice>10277.68</dp_basicprice>
       <pxquestion6>Unknown</pxquestion6>
       <doc_discount4desc/>
       <doc_accprice5_vatrate>20</doc_accprice5_vatrate>
       <dealerforms_banksortcode/>
       <regno/>
       <doc_subtotalcarex>10277.68</doc_subtotalcarex>
       <title/>
       <soe>Local Press</soe>
       <dealerforms_upur_purchaseprice/>
       <specification>518576</specification>
       <phoneno>0129631837</phoneno>
       <question3>Social pleasure</question3>
       <presintcolour>Black Leather</presintcolour>
       <state_county>Greater Manchester</state_county>
       <dealerforms_circumstances>No</dealerforms_circumstances>
       <dp_otr>12388.22</dp_otr>
       <dealerforms_upur_balance/>
       <nextvehicleid>1235738</nextvehicleid>
       <owe>Yes</owe>
       <blockpxsave>0</blockpxsave>
       <doc_accprice6_vatrate>20</doc_accprice6_vatrate>
       <doc_accprice3ex>0</doc_accprice3ex>
       <doc_price_vatrate>20</doc_price_vatrate>
       <doc_monthly36>265.00</doc_monthly36>
       <question6>None</question6>
       <doc_accdesc6/>
       <town_city>Manchester</town_city>
       <doc_discount4>0.00</doc_discount4>
       <dealerforms_employername/>
       <presentvehicleid>934557</presentvehicleid>
       <stockno/>
       <radio>on</radio>
       <params/>
       <enqref>1005975938-1</enqref>
       <doc_accdesc3/>
       <presdateofreg>30/10/2007</presdateofreg>
       <make>30</make>
       <dddpapostal>Yes</dddpapostal>
       <doc_discount3desc/>
       <doc_accdesc4/>
       <custid>1005975938</custid>
       <doc_valet>0</doc_valet>
       <doc_discount4ex>0</doc_discount4ex>
       <doc_delivery_vatrate>20</doc_delivery_vatrate>
       <dealerforms_prevtimeataddress/>
       <doc_discount5>0.00</doc_discount5>
       <age>2017</age>
       <dealerforms_resstatus></dealerforms_resstatus>
       <doc_roadfund>0</doc_roadfund>
</CustomerAdditions>
<Activity>
       <ActivityID>5573739</ActivityID>
       <DateTime>2017-03-22 00:33:09</DateTime>
       <SPAddedRecord>Bobby Jones</SPAddedRecord>
       <ContactNumber>1</ContactNumber>
       <Purpose>Cental Lead Accepted</Purpose>
       <Visit>N</Visit>
       <Tel>N</Tel>
       <Email>Y</Email>
       <ColdCall>N</ColdCall>
       <Sale>N</Sale>
       <Delivery>N</Delivery>
       <LostSale>N</LostSale>
</Activity>
<Activity>
       <ActivityID>5573740</ActivityID>
       <DateTime>2017-04-03 00:33:09</DateTime>
       <SPAddedRecord>Bobby Jones</SPAddedRecord>
       <ContactNumber>2</ContactNumber>
       <Purpose>Follow up call</Purpose>
       <Visit>N</Visit>
       <Tel>Y</Tel>
       <Email>N</Email>
       <ColdCall>N</ColdCall>
       <Sale>N</Sale>
       <Delivery>N</Delivery>
       <LostSale>N</LostSale>
</Activity>
<FutureActivity>
       <ActivityID>5595509</ActivityID>
       <DateTime>2017-04-03 10:11:21</DateTime>
       <SPAddedRecord>Bobby Jones</SPAddedRecord>
       <ContactNumber>3</ContactNumber>
       <Purpose>Carry out test drive on Auris</Purpose>
       <Visit>Y</Visit>
       <Tel>N</Tel>
       <Email>N</Email>
       <ColdCall>N</ColdCall>
       <Sale>N</Sale>
       <Delivery>N</Delivery>
       <LostSale>N</LostSale>
</FutureActivity>
<EnquirySummary>
       <HadFup>Y</HadFup>
       <HadSale>N</HadSale>
       <HadDelivery>N</HadDelivery>
       <HadTestDrive>N</HadTestDrive>
       <HadLostSale>N</HadLostSale>
       <SaleDate/>
       <DeliveryDate/>
</EnquirySummary>
</ENQUIRY>
</CUSTOMER>
</ResultSet>