Register
This method will register a new user. Please note that calling this method requires a UserAuthAdmin token.
This method is accessed by https://api.cryptolens.io/api/userauth/Register
Parameters
| Parameter |
Description |
Remarks |
| Username |
The username |
required |
| Password |
The password |
required |
| CustomerId |
The customer id |
optional |
| Email |
The email |
optional |
| v |
Method version. |
optional. by default, it's 1. |
Results
| Parameter |
Description |
Remarks |
| Result |
This is either 0(=success) or 1(=error). |
always returned |
| Message |
The message that provides additional information about the result.
|
always returned. |
Example results
{"result":0,"message":""}
Errors
| Error |
| Access denied. |
| The input parameters were incorrect. |
| No username or password supplied. |
| Username already exists. Please pick a different one. |
| Customer not found. |