ShineServer_English version


1.1 User registration

<p><strong>A brief description:</strong> </p> <ul> <li>User registered interface</li> </ul> <p><strong>Request URL: </strong></p> <ul> <li><code>http(s)://test.growatt.com/v1/user/user_register</code>    <strong>Request method: </strong></li> <li>post</li> </ul> <p><strong>Parameters: </strong></p> <table> <thead> <tr> <th>Parameter Name</th> <th>Whether Required</th> <th>Parameter Value</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>user_name</td> <td>Yes</td> <td>string</td> <td>username</td> </tr> <tr> <td>user_password</td> <td>Yes</td> <td>string</td> <td>Password</td> </tr> <tr> <td>user_email</td> <td>Yes</td> <td>string</td> <td>Register Email</td> </tr> <tr> <td>user_type</td> <td>Yes</td> <td>int</td> <td>User Type (1 for end customers)</td> </tr> <tr> <td>user_country</td> <td>Yes</td> <td>string</td> <td>User Country <a href="https://www.showdoc.com.cn/dfsfdf/9187729846853701" title="country list">country list</a></td> </tr> <tr> <td>agentCode</td> <td>No</td> <td>string</td> <td>Installer code</td> </tr> <tr> <td>user_tel</td> <td>No</td> <td>int</td> <td>User Phone</td> </tr> <tr> <td>time</td> <td>No</td> <td>string</td> <td>User Time Zone</td> </tr> </tbody> </table> <p> <strong>Back to example</strong></p> <pre><code>{     "data": {         "c_user_id": 54     },     "error_code": 0,     "error_msg": "" }</code></pre> <p> <strong>Return parameter description</strong></p> <table> <thead> <tr> <th>Parameter Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>c_user_id</td> <td>int</td> <td>End User ID</td> </tr> <tr> <td>error_code</td> <td>int</td> <td>0: Normal return,10001: System error,10002: Username or password is empty,10003: Username already exists, 10004: User mailbox is empty,10006: User type is empty, 10008: Token is empty,10014:Installer coding error</td> </tr> <tr> <td>error_msg</td> <td>string</td> <td>Error Message Prompt</td> </tr> </tbody> </table> <p> <strong>Remarks</strong></p>

页面列表

ITEM_HTML