查询机柜上的设备
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询机柜上的设备</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.2.107:8080/ops/itsm/inspection/getInstanceByCabinetId</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">taskId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>任务id</td>
</tr>
</tbody>
</table>
<h5>参数示例</h5>
<pre><code> {"taskId":"7f6260cc968a426fb64192faa1dde2ad"}</code></pre>
<h5>返回示例</h5>
<pre><code> {
"errorCode": 0,
"message": "成功",
"time": 1641881452130,
"responseBody": [
{
"createTime": "2021-08-05 11:45:39",
"name": "新建机柜",
"updateTime": "2021-11-15 19:25:53",
"state": 0,
"label": "Jigui",
"uuid": "8a1fe53b61744901b104956690f3be91",
"properties": {
"instance": [
{
"qishiuwei": "28",
"application": [],
"ip": "10.10.1.15",
"name": "rg_mq94-10.10.1.15",
"region": "rg_mq94",
"category": "Firewall",
"uuid": "ee3f32f004c34c7b87aa875b79acd85d",
"user": []
}
]
}
}
]
}</code></pre>