Code Example Available
This method allows dealership staff members to be added.
URL : http://webservice.dealerhub.net/dealerhub/WS/DealerHubV1.cfc?wsdl
Method : AddStaff
Input Parameters :
XMLData (XML packet)
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.
If you need to view the information on how to format the XMLSecurity data string, please click here
XMLData Input fields Description:
|Field Name||Field Type||Mandatory||Field Description|
|The users name|
|Display Language, set to EN, unless a none english language is required|
|The users email address|
|The users mobile number|
The users userlevel name. Valid Names are:
Example XML Data packet you need to pass in:
<?xml version="1.0" encoding="UTF-8"
After your webservice call, you will either get a successful message for the output, or an error message depending on whats happened.
Example of a successful output
|<?xml version="1.0" encoding="UTF-8"?>
<Messagetxt>Record Inserted Successfully</Messagetxt>
Example output of an error message
|<?xml version="1.0" encoding="UTF-8" ?>
<ErrorInfo>Your XML data packet is not correctly formed XML</ErrorInfo>
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.Click here to see all the ErrorCodes