物联网平台外部访问数据定义


消费项列表

<p><strong>日志:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">版本号</th> <th style="text-align: left;">撰写人</th> <th style="text-align: left;">时间</th> <th>修改内容</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">VA 1.0.0</td> <td style="text-align: left;">张才进</td> <td style="text-align: left;">2022-4-29 10:30:28 星期五</td> <td>创建</td> </tr> <tr> <td style="text-align: left;">VA 1.1.0</td> <td style="text-align: left;">lee</td> <td style="text-align: left;">2022-08-25 14:39:27 星期四</td> <td>增加请求参数consumerGroupId</td> </tr> </tbody> </table> <p><strong>简要描述:</strong> </p> <ul> <li>消费项列表接口,<strong>需要具有运营商或以上权限</strong> </li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>https://www.zsdcloud.cn:8443/openApi/consumer/selectConsumer.action</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">consumerGroupId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Long</td> <td>所属消费组id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;statusCode&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;查询成功&amp;quot;, &amp;quot;result&amp;quot;: [ { &amp;quot;id&amp;quot;: &amp;quot;1519859476422754304&amp;quot;, &amp;quot;consumerUrl&amp;quot;: &amp;quot;https://www.baidu.com&amp;quot;, &amp;quot;groupName&amp;quot;: &amp;quot;接口测试&amp;quot;, &amp;quot;recordId&amp;quot;: -1 }, { &amp;quot;id&amp;quot;: &amp;quot;1519859476422754305&amp;quot;, &amp;quot;consumerUrl&amp;quot;: &amp;quot;http://58.39.207.14:8089/api/receiveMsg.action&amp;quot;, &amp;quot;groupName&amp;quot;: &amp;quot;接口测试&amp;quot;, &amp;quot;recordId&amp;quot;: -1 }, { &amp;quot;id&amp;quot;: &amp;quot;1519859904338231296&amp;quot;, &amp;quot;consumerUrl&amp;quot;: &amp;quot;https://www.baidu.com&amp;quot;, &amp;quot;groupName&amp;quot;: &amp;quot;接口测试222&amp;quot;, &amp;quot;recordId&amp;quot;: 1 }, { &amp;quot;id&amp;quot;: &amp;quot;1519859904338231297&amp;quot;, &amp;quot;consumerUrl&amp;quot;: &amp;quot;https://www.zsdcloud.com&amp;quot;, &amp;quot;groupName&amp;quot;: &amp;quot;接口测试222&amp;quot;, &amp;quot;recordId&amp;quot;: 1 } ] }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">String</td> <td>该消费项id</td> </tr> <tr> <td style="text-align: left;">consumerUrl</td> <td style="text-align: left;">String</td> <td>消费项的http/https地址</td> </tr> <tr> <td style="text-align: left;">groupName</td> <td style="text-align: left;">int</td> <td>该消费项所在消费组名称</td> </tr> <tr> <td style="text-align: left;">recordId</td> <td style="text-align: left;">Long</td> <td>该消费项所属的运营商id</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML