|
READ Methods Available GetDealers GetCustomerList GetCustomers GetStaff GetLeads GetStockVehicles CheckSale WRITE Methods Available AddLead AddLeadV2 AcceptLead AddCustomer AddActivity AddStockVehicle DeleteStockVehicle |
GetStaffThis method gets a list of staff at a dealership you have access to from your access code. URL : http://webservice.dealerhub.net/dealerhub/WS/DealerHubV1.cfc?wsdl Method : getstaff Input Parameters : XMLSecurity There are always 2 parameters passed, these are both XML strings, and the first is XMLSecurity which holds the secuirty 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. This webservice does not need any value in the XMLData parameter, you can pass it as an empty string. Example output for a valid call:
Output :
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.
|