Associate
Associates a user with a customer object. Please note that calling this method requires a UserAuthAdmin token.
This method is accessed by https://api.cryptolens.io/api/userauth/Associate
Parameters
| Parameter |
Description |
Remarks |
| Username |
The username |
required |
| CustomerId |
The customer id |
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. |
| Username does not exist. |
| Customer not found. |