网关水表接口对接

对外开放api文档


新增网关组

<p>[TOC]</p> <h3>说明</h3> <ul> <li>新增网关组可以根据项目来,比如项目名称为“<code>某某项目</code>”,<code>网关组</code>可为“<code>某某项目</code>”</li> </ul> <h3>请求URL</h3> <ul> <li><code>gateway/group</code></li> </ul> <h3>请求方式</h3> <ul> <li><code>POST</code></li> </ul> <h3>请求参数</h3> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>gatewayGroupType</td> <td>是</td> <td>String</td> <td>网关组类型(这里固定填写 <code>CY</code>)</td> </tr> <tr> <td>gatewayGroupName</td> <td>是</td> <td>String</td> <td>网关组名</td> </tr> </tbody> </table> <h3>请求接口示例</h3> <pre><code>https://5gnbiot.com.cn/api/open/gateway/group</code></pre> <h3>请求参数示例</h3> <pre><code>{ &amp;quot;gatewayGroupName&amp;quot;: &amp;quot;清华大学项目&amp;quot; }</code></pre> <h3>返回参数</h3> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">Long</td> <td style="text-align: left;">网关组 id</td> </tr> <tr> <td style="text-align: left;">gatewayGroupName</td> <td style="text-align: left;">String</td> <td style="text-align: left;">网关组</td> </tr> </tbody> </table> <h3>返回示例</h3> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;message&amp;quot;: &amp;quot;成功&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;id&amp;quot;: xxx, &amp;quot;gatewayGroupName&amp;quot;: &amp;quot;清华大学项目&amp;quot; } }</code></pre>

页面列表

ITEM_HTML