获取下级成员账号Id
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取下级成员账号Id</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>{Host}/v2/open/structure/GetSubordinateIds</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get</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;">superiorId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>上级明道云账号Id,不传则代表只取顶级明道云账号Id</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{Host}/v2/open/structure/GetSubordinateIds?timestamp=1618837301125&projectId=449abe0c-e014-4836-8b60-d868c217599c&appKey=ak&sign=x&superiorId=id</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;">success</td>
<td style="text-align: left;">bool</td>
<td>操作是否成功</td>
</tr>
<tr>
<td style="text-align: left;">error_code</td>
<td style="text-align: left;">int</td>
<td>错误代码,1代表成功</td>
</tr>
<tr>
<td style="text-align: left;">error_msg</td>
<td style="text-align: left;">string</td>
<td>错误消息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">string[]</td>
<td>下级成员Ids 或 顶级成员Ids</td>
</tr>
</tbody>
</table>
<p><strong>处理成功 返回数据示例</strong></p>
<pre><code>{
"data": [
"h6828338-ce5e-4u06-8he2-3a689d1ee608"
],
"error_code": 1,
"success": true
}</code></pre>
<p><strong>处理失败</strong></p>
<pre><code>{
"error_msg": "错误描述",
"error_code": 10,
"success": false
}</code></pre>