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
GetAllUsers
GetCustomerList
GetCustomers
GetStaff
GetLeads
GetStockVehicles
CheckSale

WRITE
Methods Available

AddEditUser
AddLead
AddLeadV2
AcceptLead
AddCustomer
AddActivity
AddStockVehicle
DeleteStockVehicle

AddEditUser


This method allows to create/update user on Autoslm.

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

Input Body Content:

<Params>
<SecurityData>
<AccessCode>ACCESS CODE HERE</AccessCode>
<DealerCode>DEALER CODE HERE</DealerCode>
</SecurityData>
<XMLData>
<InputParams>
<User>
<rid>Autoslm Dealer ID</rid>
<userid>Pass 0 to create user - Pass Autoslm userid to update</userid>
<username>username - Mandatory</username>
<password>password - Mandatory to create user</password>
<name>Full name of user</name>
<levelid>Autoslm User Level ID</levelid>
<personalidnumber>SA ID number</personalidnumber>
<enquirytype>Both or New or Used</enquirytype>
<email>User Email ID</email>
<mobile>User Mobile</mobile>
<active>1 for Active and 0 for Inactive</active>
<forcepasswordchange>0 or 1 - Force password change in the next login</forcepasswordchange>
</User>
</InputParams>
</XMLData>
</Params>

Sample Return Content:


<?xml version="1.0" encoding="UTF-8"?>

<Resultset>

<user>

<rid>1234</rid>
<userid>6789</userid>
<username>testusername</username>

</user>

</Resultset>