Management - Add User

Use this to add a user

API Usage

In order to add a site and/ or user to your Opentracker.net account, use this URL to perform a GET or POST request.

Parameters

The following parameters are required:


administrator the admintrator adding the site/ user account
password the password of the administrator
url the url to be added/ used (eg. http://www.opentracker.net)
timezone the timezone for the site [EST] | CST | PST | CET | JST | ...
user the user that should see the stats
userPassword the user's password
role the role the user will get for the site/ url. [standard user] | super user

Example

HTTP GET/ POST: add_user.jsp?administrator=admin@opentracker.net&password=demo123&url=http://domain.com&timezone=EST&user=me@opentracker.net&userPassword=demo123xx

Standard response

Page returns 'success ' when all is well.

Errors

User's email is not valid.
url is not supplied.
url given is wrong format. Correct format is: 'http://www.mydomain.tld'.
administrator is not supplied.
password is not supplied.
No data profile for administrator.
Password is not correct for administrator.
No sites for administrator.
Illegal management operation.
Illegal role for administrator email (user not administrator).
Illegal number of administrators.
Illegal administrator for site.
Error when saving the user/ site combination.
Error when creating user role for this site.
Error in creating an account.
User cannot be administered by named administrator.
Illegal number of records for user in system.
Error when saving a user password combination.
Error when creating the new user.
Role already exists.
Error while setting role.

We would love to hear your feedback. Please use the facebook comment box below