1.0.6 数据所属行业查询服务
<p>[TOC]</p>
<h5>接口功能说明</h5>
<p>数据所属行业查询接口</p>
<h5>请求URL</h5>
<ul>
<li><code>https://ip:port/oidConfirm/oid-confirm-register-business/oidConfirmBusinessService</code></li>
</ul>
<h5>基本信息</h5>
<ul>
<li>POST</li>
<li>Content-Type: application/json</li>
</ul>
<h5>鉴权认证</h5>
<ul>
<li>需要 authCode、accessToken 认证</li>
</ul>
<h5>authInfo 请求参数</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;">apiId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>服务编号(getIndustryList)</td>
</tr>
<tr>
<td style="text-align: left;">appId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>应用ID</td>
</tr>
<tr>
<td style="text-align: left;">accessToken</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>统一用户中心token</td>
</tr>
<tr>
<td style="text-align: left;">timeStamp</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>当前时间戳</td>
</tr>
<tr>
<td style="text-align: left;">authCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>账号鉴权码(通过<code>1.0.1数据要素登记平台登陆接口</code>获取)</td>
</tr>
<tr>
<td style="text-align: left;">opName</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>当前操作人姓名(通过<code>1.0.1数据要素登记平台登陆接口</code>获取,并进行转码处理:URLEncoder.encode(opName, "UTF-8");)</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;authInfo&quot;: {
&quot;apiId&quot;: &quot;getIndustryList&quot;,
&quot;appId&quot;: &quot;test1001&quot;,
&quot;accessToken&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxYmQ2MWU1NDkxMWRkNDI0Y2YyMmU3ODJmYTQ2NjEwZSxnZW5nY25hYmMsMSIsImlhdCI6MTczMzg4MzQ5MCwiZXhwIjoxNzM0NDg4MjkwfQ.eoXIxKMK832saLCoIXE6ZKM6sZgNnHoBnY7oAnny2eOrZ7b0JTOvLtljHZ97_7KOD4bdJbHcGCF7Wf_SLCAdnA&quot;,
&quot;authCode&quot;: &quot;5686956bf250447e93ef889465d90f57&quot;,
&quot;timeStamp&quot;: &quot;1733813592643&quot;,
&quot;opName&quot;: &quot;%E8%80%BF%666%99%93%E5%8D%8E&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;">resultMsg</td>
<td style="text-align: left;">String</td>
<td>返回消息</td>
</tr>
<tr>
<td style="text-align: left;">resultFlag</td>
<td style="text-align: left;">int</td>
<td>1:成功;-1:失败</td>
</tr>
<tr>
<td style="text-align: left;">bizData</td>
<td style="text-align: left;">Array</td>
<td>数据所属行业查询列表</td>
</tr>
</tbody>
</table>
<h5>bizData 返回参数说明</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;">code</td>
<td style="text-align: left;">String</td>
<td>分类编码</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">int</td>
<td>行业ID</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;">parentCode</td>
<td style="text-align: left;">String</td>
<td>父级编码</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;bizData&quot;: [
{
&quot;code&quot;: &quot;A&quot;,
&quot;id&quot;: 1753,
&quot;name&quot;: &quot;农、林、牧、渔业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;B&quot;,
&quot;id&quot;: 1754,
&quot;name&quot;: &quot;采矿业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;C&quot;,
&quot;id&quot;: 1755,
&quot;name&quot;: &quot;制造业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;D&quot;,
&quot;id&quot;: 1756,
&quot;name&quot;: &quot;电力、热力、燃气及水生产和供应业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;E&quot;,
&quot;id&quot;: 1757,
&quot;name&quot;: &quot;建筑业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;F&quot;,
&quot;id&quot;: 1758,
&quot;name&quot;: &quot;批发和零售业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;G&quot;,
&quot;id&quot;: 1759,
&quot;name&quot;: &quot;交通运输、仓储和邮政业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;H&quot;,
&quot;id&quot;: 1760,
&quot;name&quot;: &quot;住宿和餐饮业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;I&quot;,
&quot;id&quot;: 1761,
&quot;name&quot;: &quot;信息传输、软件和信息技术服务业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;J&quot;,
&quot;id&quot;: 1762,
&quot;name&quot;: &quot;金融业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;K&quot;,
&quot;id&quot;: 1763,
&quot;name&quot;: &quot;房地产业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;L&quot;,
&quot;id&quot;: 1764,
&quot;name&quot;: &quot;租赁和商务服务业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;M&quot;,
&quot;id&quot;: 1765,
&quot;name&quot;: &quot;科学研究和技术服务业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;N&quot;,
&quot;id&quot;: 1766,
&quot;name&quot;: &quot;水利、环境和公共设施管理业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;O&quot;,
&quot;id&quot;: 1767,
&quot;name&quot;: &quot;居民服务、修理和其他服务业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;P&quot;,
&quot;id&quot;: 1768,
&quot;name&quot;: &quot;教育&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;Q&quot;,
&quot;id&quot;: 1769,
&quot;name&quot;: &quot;卫生和社会工作&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;R&quot;,
&quot;id&quot;: 1770,
&quot;name&quot;: &quot;文化、体育和娱乐业&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;S&quot;,
&quot;id&quot;: 1771,
&quot;name&quot;: &quot;公共管理、社会保障和社会组织&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;T&quot;,
&quot;id&quot;: 1772,
&quot;name&quot;: &quot;国际组织&quot;,
&quot;parentCode&quot;: &quot;&quot;
},
{
&quot;code&quot;: &quot;U&quot;,
&quot;id&quot;: 1773,
&quot;name&quot;: &quot;其他&quot;,
&quot;parentCode&quot;: &quot;&quot;
}
],
&quot;bizDataType&quot;: 0,
&quot;fail&quot;: false,
&quot;ok&quot;: true,
&quot;resultFlag&quot;: 1,
&quot;resultMsg&quot;: &quot;ok&quot;
}</code></pre>