ShineServer_English version


Clear the time period parameters set by VPP

<p><strong>Brief description:</strong></p> <ul> <li>Clear the time period parameters set by VPP, and only support deleting time period parameters.</li> <li><code>The current interface frequency is once every 5S</code></li> <li><code>The current interface only supports sph, spa, min, wit device types. The specific models are as follows: SPH 3000-6000TL BL, SPA 1000-3000TL BL, SPH 3000-6000TL BL US, SPH 4000-10000TL3 BH, SPA 4000-10000TL3 BH, MIN 2500-6000TL-XH US, MIN 2500-6000TL-XH, MOD-XH\MID-XH, WIT 100KTL3-H, WIS 215KTL3</code></li> </ul> <p><strong>Request URL:</strong></p> <ul> <li><code>http(s)://183.62.216.35:8081/v4/new-api/removeVppTimePeriod</code></li> </ul> <p><strong>Request method:</strong></p> <ul> <li>POST</li> </ul> <p><strong>Content-Type:</strong></p> <ul> <li>application/x-www-form-urlencoded</li> </ul> <p><strong>Http Header parameters and descriptions:</strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter name</th> <th style="text-align: left;">Required</th> <th style="text-align: left;">Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">Yes</td> <td style="text-align: left;">String</td> <td>Secret key token</td> </tr> </tbody> </table> <p><strong>Http body parameters and descriptions:</strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter name</th> <th style="text-align: left;">Required</th> <th style="text-align: left;">Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">deviceSn</td> <td style="text-align: left;">Yes</td> <td style="text-align: left;">string</td> <td>Device SN, example: xxxxxxx</td> </tr> <tr> <td style="text-align: left;">setType</td> <td style="text-align: left;">Yes</td> <td style="text-align: left;">string</td> <td>Set parameter enumeration, example: [set_param_34]( <a href="https://www.showdoc.com.cn/p/fc84c86facd79b3692f585fbd7a6e33b">https://www.showdoc.com.cn/p/fc84c86facd79b3692f585fbd7a6e33b</a>)</td> </tr> <tr> <td style="text-align: left;">value</td> <td style="text-align: left;">is</td> <td style="text-align: left;">string</td> <td>the parameter value set, example:[value]( <a href="https://www.showdoc.com.cn/p/fc84c86facd79b3692f585fbd7a6e33b">https://www.showdoc.com.cn/p/fc84c86facd79b3692f585fbd7a6e33b</a>)</td> </tr> <tr> <td style="text-align: left;">deviceType</td> <td style="text-align: left;">is</td> <td style="text-align: left;">string</td> <td>the parameter value set, example: sph, spa, min, wit, etc.</td> </tr> </tbody> </table> <p><strong>Call example</strong></p> <pre><code>{ &amp;quot;deviceSn&amp;quot;: &amp;quot;FDCJQ00003&amp;quot;, &amp;quot;setType&amp;quot;: &amp;quot;set_param_34&amp;quot; &amp;quot;deviceType&amp;quot;: &amp;quot;min&amp;quot; }</code></pre> <p><strong>Return example</strong></p> <p>Set successfully</p> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: null, &amp;quot;message&amp;quot;: &amp;quot;PARAMETER_SETTING_SUCCESSFUL&amp;quot; }</code></pre> <p>Device offline</p> <pre><code>{ &amp;quot;code&amp;quot;: 5, &amp;quot;data&amp;quot;: null, &amp;quot;message&amp;quot;: &amp;quot;DEVICE_OFFLINE&amp;quot; } </code></pre> <p>Parameter setting response timeout</p> <pre><code>{ &amp;quot;code&amp;quot;: 16, &amp;quot;data&amp;quot;: null, &amp;quot;message&amp;quot;: &amp;quot;PARAMETER_SETTING_RESPONSE_TIMEOUT&amp;quot; }</code></pre> <p>Wrong device type</p> <pre><code>{ &amp;quot;code&amp;quot;: 7, &amp;quot;data&amp;quot;: null, &amp;quot;message&amp;quot;: &amp;quot;WRONG_DEVICE_TYPE&amp;quot; }</code></pre>

页面列表

ITEM_HTML