分享页面

查询规格列表

<p><strong>简要描述:</strong></p> <ul> <li>本接口用于查询规格信息</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">productId</td> <td style="text-align:left">否</td> <td style="text-align:left">integer</td> <td>品牌编号</td> </tr> </tbody> </table> <p> <strong>输入示例:</strong></p> <ul> <li><p><a href="https://qg.net/api/physical-product/specList?productId=value">https://qg.net/api/physical-product/specList?productId=value</a></p> <p><strong>返回参数:</strong></p> </li></ul> <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">RequestId</td> <td style="text-align:left">string</td> <td>请求编号</td> </tr> <tr> <td style="text-align:left">Code</td> <td style="text-align:left">integer</td> <td>返回编号</td> </tr> <tr> <td style="text-align:left">Message</td> <td style="text-align:left">string</td> <td>返回内容</td> </tr> <tr> <td style="text-align:left">Data[].id</td> <td style="text-align:left">string</td> <td>-</td> </tr> <tr> <td style="text-align:left">Data[].name</td> <td style="text-align:left">string</td> <td>规格名称</td> </tr> <tr> <td style="text-align:left">Data[].code</td> <td style="text-align:left">string</td> <td>规格编码</td> </tr> <tr> <td style="text-align:left">Data[].basic</td> <td style="text-align:left">string</td> <td>基础价格</td> </tr> <tr> <td style="text-align:left">Data[].type</td> <td style="text-align:left">string</td> <td>规格类型</td> </tr> <tr> <td style="text-align:left">Data[].brandid</td> <td style="text-align:left">string</td> <td>品牌ID</td> </tr> <tr> <td style="text-align:left">Data[].cpu</td> <td style="text-align:left">string</td> <td>CPU规格</td> </tr> <tr> <td style="text-align:left">Data[].memory</td> <td style="text-align:left">string</td> <td>内存规格</td> </tr> <tr> <td style="text-align:left">Data[].disk</td> <td style="text-align:left">string</td> <td>硬盘规格</td> </tr> <tr> <td style="text-align:left">Data[].raid</td> <td style="text-align:left">string</td> <td>RAID规格</td> </tr> <tr> <td style="text-align:left">Data[].trusteemode</td> <td style="text-align:left">string</td> <td>托管类型</td> </tr> <tr> <td style="text-align:left">Data[].power</td> <td style="text-align:left">string</td> <td>电源规格</td> </tr> <tr> <td style="text-align:left">Data[].unum</td> <td style="text-align:left">string</td> <td>U数</td> </tr> <tr> <td style="text-align:left">Data[].enabled</td> <td style="text-align:left">string</td> <td>可用性</td> </tr> <tr> <td style="text-align:left">Data[].createdat</td> <td style="text-align:left">string</td> <td>创建时间</td> </tr> <tr> <td style="text-align:left">Data[].updatedat</td> <td style="text-align:left">string</td> <td>更新时间</td> </tr> <tr> <td style="text-align:left">Data[].deletedat</td> <td style="text-align:left">string</td> <td>删除时间</td> </tr> </tbody> </table> <p><strong>返回示例:</strong></p> <p>JSON格式</p> <pre><code>{ &quot;RequestId&quot;: &quot;124761A2-5CDD-1A70-18A8-86BCEBCE2EB0&quot;, &quot;Code&quot; : &quot;200&quot; &quot;Message&quot;:&quot;xxxxxxx&quot; &quot;Data&quot;: [ { &quot;id&quot;: 11, &quot;name&quot;: &quot;\u521b\u4e1a\u7248A&quot;, &quot;code&quot;: &quot;CYA&quot;, &quot;basic&quot;: &quot;150.00&quot;, &quot;type&quot;: 1, &quot;brandid&quot;: 115, &quot;cpu&quot;: &quot;2*L5630\uff088\u683816\u7ebf\u7a0b\uff09&quot;, &quot;memory&quot;: &quot;16G&quot;, &quot;disk&quot;: &quot;120G SSD&quot;, &quot;raid&quot;: &quot;\u65e0&quot;, &quot;trusteemode&quot;: 0, &quot;power&quot;: &quot;&quot;, &quot;unum&quot;: &quot;&quot;, &quot;enabled&quot;: 1, &quot;createdat&quot;: &quot;2021-06-22 16:54:53&quot;, &quot;updatedat&quot;: &quot;2021-08-02 16:15:11&quot;, &quot;deletedat&quot;: null } ] } </code></pre><p> <strong>错误码:</strong></p> <table> <thead> <tr> <th style="text-align:left">错误码</th> <th style="text-align:left">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align:left">-</td> <td style="text-align:left">-</td> </tr> </tbody> </table> <p> <strong>备注</strong></p> <blockquote> <ul> <li>更多返回错误代码请看首页的错误代码描述</li></ul> </blockquote>
本文导读