ShineServer_English version


1.4 Get a list of end users under the merchant

<p><strong>A brief description:</strong> </p> <ul> <li>Get the interface of the end user list under the merchant</li> </ul> <p><strong>Request URL: </strong></p> <ul> <li><code>http(s)://test.growatt.com/v1/user/c_user_list</code>    <strong>Request method: </strong></li> <li>get</li> </ul> <p><strong>Parameters: </strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter Name</th> <th style="text-align: left;">Whether Required</th> <th style="text-align: left;">Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">No</td> <td style="text-align: left;">int</td> <td>page number,default 1</td> </tr> <tr> <td style="text-align: left;">perpage</td> <td style="text-align: left;">No</td> <td style="text-align: left;">int</td> <td>Number of pages per page, default 20, max 100</td> </tr> </tbody> </table> <p> <strong>Back to example</strong></p> <pre><code>{     &amp;quot;data&amp;quot;: {         &amp;quot;count&amp;quot;: 2,         &amp;quot;c_user&amp;quot;: [             {                 &amp;quot;c_user_id&amp;quot;: 1,                 &amp;quot;c_user_name&amp;quot;: &amp;quot;admin&amp;quot;,                 &amp;quot;c_user_email&amp;quot;: &amp;quot;imluobao@163.com&amp;quot;,                 &amp;quot;c_user_tel&amp;quot;: &amp;quot;&amp;quot;,                 &amp;quot;c_user_regtime&amp;quot;: &amp;quot;2018-02-04 09:46:50&amp;quot;             }         ]     },     &amp;quot;error_code&amp;quot;: 0,     &amp;quot;error_msg&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <p> <strong>Return parameter description</strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter Name</th> <th style="text-align: left;">Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">c_user_id</td> <td style="text-align: left;">int</td> <td>End User ID</td> </tr> <tr> <td style="text-align: left;">c_user_name</td> <td style="text-align: left;">string</td> <td>End User Name</td> </tr> <tr> <td style="text-align: left;">c_user_email</td> <td style="text-align: left;">string</td> <td>End User Registration Email</td> </tr> <tr> <td style="text-align: left;">c_user_regtime</td> <td style="text-align: left;">string</td> <td>end user registration date</td> </tr> <tr> <td style="text-align: left;">c_user_tel</td> <td style="text-align: left;">int</td> <td>End User Phone</td> </tr> <tr> <td style="text-align: left;">count</td> <td style="text-align: left;">int</td> <td>Total number of end users</td> </tr> <tr> <td style="text-align: left;">error_code</td> <td style="text-align: left;">int</td> <td>0: Normal return, 10001: System error</td> </tr> <tr> <td style="text-align: left;">error_msg</td> <td style="text-align: left;">string</td> <td>Error message prompt</td> </tr> </tbody> </table> <p> <strong>Remarks</strong></p> <ul> <li>Get the frequency once every 5 minutes</li> <li>This interface is only allowed to call 10 times a day</li> </ul>

页面列表

ITEM_HTML