查询渠道商业务区域配置区域树结果信息
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>渠道商业务区域配置区域树查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/cbn/tenantBusinessArea/tree</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求示例</h5>
<ul>
<li><code>http://localhost:9999/cbn/tenantBusinessArea/tree?tenantCode=1016</code>
<h5>参数</h5></li>
</ul>
<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;">tenantCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>渠道商编码</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;rqtid&quot;: &quot;310018mpvqpp&quot;,
&quot;versionCode&quot;: &quot;2.0&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 2218,
&quot;name&quot;: &quot;广西壮族自治区&quot;,
&quot;parentId&quot;: 1,
&quot;areaCode&quot;: &quot;450000&quot;,
&quot;label&quot;: &quot;广西壮族自治区&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: 2219,
&quot;name&quot;: &quot;防城港市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450600&quot;,
&quot;label&quot;: &quot;防城港市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2224,
&quot;name&quot;: &quot;南宁市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450100&quot;,
&quot;label&quot;: &quot;南宁市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2237,
&quot;name&quot;: &quot;柳州市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450200&quot;,
&quot;label&quot;: &quot;柳州市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2248,
&quot;name&quot;: &quot;桂林市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450300&quot;,
&quot;label&quot;: &quot;桂林市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2266,
&quot;name&quot;: &quot;梧州市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450400&quot;,
&quot;label&quot;: &quot;梧州市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2274,
&quot;name&quot;: &quot;玉林市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450900&quot;,
&quot;label&quot;: &quot;玉林市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2282,
&quot;name&quot;: &quot;百色市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;451000&quot;,
&quot;label&quot;: &quot;百色市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2295,
&quot;name&quot;: &quot;钦州市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450700&quot;,
&quot;label&quot;: &quot;钦州市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2300,
&quot;name&quot;: &quot;河池市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;451200&quot;,
&quot;label&quot;: &quot;河池市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2312,
&quot;name&quot;: &quot;北海市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450500&quot;,
&quot;label&quot;: &quot;北海市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2317,
&quot;name&quot;: &quot;贵港市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;450800&quot;,
&quot;label&quot;: &quot;贵港市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2323,
&quot;name&quot;: &quot;崇左市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;451400&quot;,
&quot;label&quot;: &quot;崇左市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2331,
&quot;name&quot;: &quot;来宾市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;451300&quot;,
&quot;label&quot;: &quot;来宾市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2338,
&quot;name&quot;: &quot;贺州市&quot;,
&quot;parentId&quot;: 2218,
&quot;areaCode&quot;: &quot;451100&quot;,
&quot;label&quot;: &quot;贺州市&quot;,
&quot;children&quot;: []
}
]
},
{
&quot;id&quot;: 2018,
&quot;name&quot;: &quot;广东省&quot;,
&quot;parentId&quot;: 1,
&quot;areaCode&quot;: &quot;440000&quot;,
&quot;label&quot;: &quot;广东省&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: 2019,
&quot;name&quot;: &quot;广州市&quot;,
&quot;parentId&quot;: 2018,
&quot;areaCode&quot;: &quot;440100&quot;,
&quot;label&quot;: &quot;广州市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2031,
&quot;name&quot;: &quot;汕尾市&quot;,
&quot;parentId&quot;: 2018,
&quot;areaCode&quot;: &quot;441500&quot;,
&quot;label&quot;: &quot;汕尾市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2036,
&quot;name&quot;: &quot;阳江市&quot;,
&quot;parentId&quot;: 2018,
&quot;areaCode&quot;: &quot;441700&quot;,
&quot;label&quot;: &quot;阳江市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2041,
&quot;name&quot;: &quot;揭阳市&quot;,
&quot;parentId&quot;: 2018,
&quot;areaCode&quot;: &quot;445200&quot;,
&quot;label&quot;: &quot;揭阳市&quot;,
&quot;children&quot;: []
}
],
},
{
&quot;id&quot;: 1881,
&quot;name&quot;: &quot;湖南省&quot;,
&quot;parentId&quot;: 1,
&quot;areaCode&quot;: &quot;430000&quot;,
&quot;label&quot;: &quot;湖南省&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: 1931,
&quot;name&quot;: &quot;郴州市&quot;,
&quot;parentId&quot;: 1881,
&quot;areaCode&quot;: &quot;431000&quot;,
&quot;label&quot;: &quot;郴州市&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 2006,
&quot;name&quot;: &quot;永州市&quot;,
&quot;parentId&quot;: 1881,
&quot;areaCode&quot;: &quot;431100&quot;,
&quot;label&quot;: &quot;永州市&quot;,
&quot;children&quot;: []
}
]
}
],
&quot;model&quot;: {
&quot;dict&quot;: {}
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">int</td>
<td>区域编码</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">parentId</td>
<td style="text-align: left;">int</td>
<td>父id</td>
</tr>
<tr>
<td style="text-align: left;">areaCode</td>
<td style="text-align: left;">String</td>
<td>行政区划代码</td>
</tr>
<tr>
<td style="text-align: left;">label</td>
<td style="text-align: left;">String</td>
<td>名称标签</td>
</tr>
<tr>
<td style="text-align: left;">children</td>
<td style="text-align: left;">array</td>
<td>区域子集</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>