2.6 Get basic information about a power station
<p><strong>A brief description:</strong> </p>
<ul>
<li>Interface to obtain basic information about a power station</li>
</ul>
<p><strong>Request URL: </strong></p>
<ul>
<li><code>http(s)://test.growatt.com/v1/plant/details</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;">plant_id</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">int</td>
<td>Power Station ID</td>
</tr>
</tbody>
</table>
<p> <strong>Back to example</strong></p>
<pre><code>{
&quot;data&quot;: {
&quot;address1&quot;: &quot;&quot;,
&quot;jurisdictionorganization&quot;: &quot;&quot;,
&quot;address2&quot;: &quot;&quot;,
&quot;installed_dc_capacity&quot;: &quot;&quot;,
&quot;city&quot;: &quot;Shenzhen&quot;,
&quot;timezone&quot;: &quot;GMT+8&quot;,
&quot;designerorganization&quot;: &quot;&quot;,
&quot;installercontact&quot;: &quot;&quot;,
&quot;create_date&quot;: &quot;2018-12-12&quot;,
&quot;image_url&quot;: &quot;2.png&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;longitude&quot;: &quot;113.9&quot;,
&quot;fixed_azimuth&quot;: &quot;&quot;,
&quot;offtakercontact&quot;: &quot;&quot;,
&quot;status&quot;: &quot;&quot;,
&quot;postal&quot;: &quot;&quot;,
&quot;weathersensor_num&quot;: &quot;&quot;,
&quot;weathersensor_man&quot;: &quot;&quot;,
&quot;operatorcontact&quot;: &quot;&quot;,
&quot;country&quot;: &quot;China&quot;,
&quot;plant_type&quot;: &quot;&quot;,
&quot;fixed_tilt&quot;: &quot;&quot;,
&quot;inverters&quot;: [
{
&quot;inverter_md&quot;: &quot;&quot;,
&quot;inverter_num&quot;: 1,
&quot;inverter_man&quot;: &quot;Growatt&quot;
}
],
&quot;installerorganization&quot;: &quot;&quot;,
&quot;jurisdictioncontact&quot;: &quot;&quot;,
&quot;installed_ac_capacity&quot;: &quot;&quot;,
&quot;latitude&quot;: &quot;22.6&quot;,
&quot;financiercontact&quot;: &quot;&quot;,
&quot;ownerorganization&quot;: &quot;rmb&quot;,
&quot;locale&quot;: &quot;en_US&quot;,
&quot;designercontact&quot;: &quot;&quot;,
&quot;state&quot;: &quot;&quot;,
&quot;weather_type&quot;: &quot;&quot;,
&quot;currency&quot;: &quot;rmb&quot;,
&quot;installed_panel_area&quot;: &quot;&quot;,
&quot;name&quot;: &quot;API interface test power station&quot;,
&quot;user_id&quot;: 33,
&quot;grid_type&quot;: &quot;&quot;,
&quot;operatororganization&quot;: &quot;&quot;,
&quot;elevation&quot;: &quot;&quot;,
&quot;irradiationsensor_type&quot;: &quot;&quot;,
&quot;ownercontact&quot;: &quot;rmb&quot;,
&quot;weathersensor_md&quot;: &quot;&quot;,
&quot;tracker_type&quot;: &quot;&quot;,
&quot;offtakerorganization&quot;: &quot;&quot;,
&quot;dataloggers&quot;: [
{
&quot;datalogger_num&quot;: 1,
&quot;datalogger_man&quot;: &quot;Growatt&quot;,
&quot;datalogger_md&quot;: &quot;&quot;
}
],
&quot;financierorganization&quot;: &quot;&quot;,
&quot;peak_power&quot;: 20,
&quot;notes&quot;: &quot;&quot;,
&quot;arrays&quot;: [
{
&quot;num_modules&quot;: 0,
&quot;module_md&quot;: &quot;&quot;,
&quot;module_man&quot;: &quot;Growatt&quot;
}
]
},
&quot;error_code&quot;: 0,
&quot;error_msg&quot;: &quot;&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;">name</td>
<td style="text-align: left;">string</td>
<td>power station name</td>
</tr>
<tr>
<td style="text-align: left;">user_id</td>
<td style="text-align: left;">int</td>
<td>User ID to which the plant belongs</td>
</tr>
<tr>
<td style="text-align: left;">country</td>
<td style="text-align: left;">string</td>
<td>country name</td>
</tr>
<tr>
<td style="text-align: left;">longitude</td>
<td style="text-align: left;">string</td>
<td>Longitude</td>
</tr>
<tr>
<td style="text-align: left;">latitude</td>
<td style="text-align: left;">string</td>
<td>Latitude</td>
</tr>
<tr>
<td style="text-align: left;">create_date</td>
<td style="text-align: left;">string</td>
<td>Building date</td>
</tr>
<tr>
<td style="text-align: left;">image_url</td>
<td style="text-align: left;">string</td>
<td>Picture url</td>
</tr>
<tr>
<td style="text-align: left;">peak_power</td>
<td style="text-align: left;">string</td>
<td>peak power (kWp)</td>
</tr>
<tr>
<td style="text-align: left;">currency</td>
<td style="text-align: left;">string</td>
<td>currency unit</td>
</tr>
<tr>
<td style="text-align: left;">timezone</td>
<td style="text-align: left;">string</td>
<td>Time Zone</td>
</tr>
<tr>
<td style="text-align: left;">plant_type</td>
<td style="text-align: left;">int</td>
<td>Plant type(0-Residential Plant,1-Commercial Plant,2-Ground-Mounted Plants)</td>
</tr>
<tr>
<td style="text-align: left;">address1</td>
<td style="text-align: left;">string</td>
<td>Plant address</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, 10002: Power station does not exist, 10003: Power station ID is empty, 10004: User does not exist</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>
</ul>