|
READ Methods Available GetDealers GetCustomerList GetCustomers GetStaff GetLeads GetStockVehicles CheckSale WRITE Methods Available AddLead AddLeadV2 AcceptLead AddCustomer AddActivity AddStockVehicle DeleteStockVehicle |
AcceptLeadThis method allows a lead to auto accept as customer. URL :http://webservice.dealerhub.net/dealerhub/WS/DealerHubV1.cfc?wsdl Method :AcceptLead Input Parameters : XMLSecurity There are always 2 parameters passed, these are both XML strings, and the first is XMLSecurity which holds the security information, i.e your access code and the dealercode that you want to access the data for, and the second is the XML data you are going to pass in. Input XML Data fields:
Leadid and ( Userid or SAID number ) have to be entered, these are the only Mandatory fields The lead data are passed into through the XMLData packet one at a time An example of value XMLData packet:
Example output for a valid call:
Example output for an invalid call / or general error in a webservice call
There may be multiple errors returned in the XML packet, they are separated by <Error> blocks and each block contains an ErrorCode to allow you to do some processing logic on the numerical value returned, and an ErrorInfo which is used by the developer or administrator to visually see what the problem is with the submission.
|