|
READ Methods Available GetDealers GetCustomerList GetCustomers GetStaff GetLeads GetStockVehicles CheckSale WRITE Methods Available AddLead AddLeadV2 AcceptLead AddCustomer AddActivity AddStockVehicle DeleteStockVehicle |
GetCustomerListThis method gets a list of customers per dealer. URL : https://api.autoslm.com/GetCustomerList/ Input Body Content:
<Params>
<SecurityData> <AccessCode>ACCESS CODE HERE</AccessCode> <DealerCode>DEALER CODE HERE</DealerCode> </SecurityData> <XMLData> <InputParams> <StartDate>Start date in format yyyy-mm-dd</StartDate> <EndDate>End date in format yyyy-mm-dd</EndDate> <Criteria>Search criteria i.e customer surname</Criteria> <OrderBy>Results order by</OrderBy> </InputParams> </XMLData> </Params> * EndDate is optional * Criteria is optional * OrderBy is optional A sample body submission would look like this
<Params>
<SecurityData> <AccessCode>D7826GHG66$KHGNgg1FD4DCA492A26E</AccessCode> <DealerCode>1005</DealerCode> </SecurityData> <XMLData> <InputParams> <StartDate></StartDate> <EndDate></EndDate> <Criteria></Criteria> <OrderBy></OrderBy> </InputParams> </XMLData> </Params> Sample Return Content: <?xml version="1.0" encoding="UTF-8"?><ResultSet>
<customer> <custid>10682413</custid> <createddate>2012-10-23 14:52:07</createddate> <modifeddate>2013-10-23 14:56:43</modifeddate> <customertype>Retail</customertype> <companyname/> <title>Mr</title> <forename>Mike </forename> <surname>Atkinson </surname> <phoneno/> <workno/> <mobile/> <email/> </customer> <customer> <custid>10682414</custid> <createddate>2012-10-23 14:56:43</createddate> <modifeddate>2013-10-23 14:56:43</modifeddate> <customertype>Retail</customertype> <companyname/> <title>Mr</title> <forename>Alan </forename> <surname>Hazelhurst </surname> <phoneno/> <workno/> <mobile/> <email/> </customer> </ResultSet> |