2.0.3 地区覆盖范围省、市、区县查询服务
<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>服务编号(getRegionServiceList)</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>regionCond请求参数</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;">regionType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>区域类型:省:PROVICE,市:CItY,县(区):COUNTY</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;authInfo&quot;: {
&quot;apiId&quot;: &quot;getRegionServiceList&quot;,
&quot;appId&quot;: &quot;test1001&quot;,
&quot;accessToken&quot;: &quot;eyJzdWIiOiIxYmQ2MWU1NDkxMWRkNDI0Y2YyMmU3ODJmYTQ2NjEwZSxnZW5nY25hYmMsMSIsImlhdCI6MTczNDA1MjQwMCwiZXhwIjoxNzM0NjU3MjAwfQ.1I4_sONJH1h2CA18Od2lDCwKoa7HPDSDxWD1iNjET5sasIKgeK4uokvEWxhH9uEayN9Vi-1FMn0qhxEkeYJvrw&quot;,
&quot;authCode&quot;: &quot;1f85c88cecca490cb04eb25aa2d9575a&quot;,
&quot;timeStamp&quot;: &quot;1733813592643&quot;,
&quot;opName&quot;: &quot;%E8%80%BF%E6%99%93%E5%8D%8E&quot;
},
&quot;regionCond&quot;: {
&quot;regionType&quot;: &quot;PROVICE&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;">bizData</td>
<td style="text-align: left;">Object</td>
<td>返回消息体</td>
</tr>
<tr>
<td style="text-align: left;">resultFlag</td>
<td style="text-align: left;">int</td>
<td>1:成功;-1:失败</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;">children</td>
<td style="text-align: left;">Array</td>
<td>下属地区信息</td>
</tr>
<tr>
<td style="text-align: left;">parentId</td>
<td style="text-align: left;">Long</td>
<td>上级地区ID</td>
</tr>
<tr>
<td style="text-align: left;">regionId</td>
<td style="text-align: left;">Long</td>
<td>地区ID</td>
</tr>
<tr>
<td style="text-align: left;">regionName</td>
<td style="text-align: left;">String</td>
<td>地区名称</td>
</tr>
<tr>
<td style="text-align: left;">regionType</td>
<td style="text-align: left;">String</td>
<td>区域类型:省:PROVICE,市:CItY,县(区):COUNTY</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;bizData&quot;: [
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 340000,
&quot;regionName&quot;: &quot;安徽省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 820000,
&quot;regionName&quot;: &quot;澳门特别行政区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 110000,
&quot;regionName&quot;: &quot;北京市&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 350000,
&quot;regionName&quot;: &quot;福建省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 620000,
&quot;regionName&quot;: &quot;甘肃省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 440000,
&quot;regionName&quot;: &quot;广东省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 450000,
&quot;regionName&quot;: &quot;广西壮族自治区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 520000,
&quot;regionName&quot;: &quot;贵州省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 460000,
&quot;regionName&quot;: &quot;海南省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 130000,
&quot;regionName&quot;: &quot;河北省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 410000,
&quot;regionName&quot;: &quot;河南省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 230000,
&quot;regionName&quot;: &quot;黑龙江省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 420000,
&quot;regionName&quot;: &quot;湖北省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 430000,
&quot;regionName&quot;: &quot;湖南省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 220000,
&quot;regionName&quot;: &quot;吉林省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 320000,
&quot;regionName&quot;: &quot;江苏省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 360000,
&quot;regionName&quot;: &quot;江西省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 210000,
&quot;regionName&quot;: &quot;辽宁省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 150000,
&quot;regionName&quot;: &quot;内蒙古自治区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 640000,
&quot;regionName&quot;: &quot;宁夏回族自治区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 630000,
&quot;regionName&quot;: &quot;青海省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 370000,
&quot;regionName&quot;: &quot;山东省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 140000,
&quot;regionName&quot;: &quot;山西省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 610000,
&quot;regionName&quot;: &quot;陕西省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 310000,
&quot;regionName&quot;: &quot;上海市&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 510000,
&quot;regionName&quot;: &quot;四川省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 710000,
&quot;regionName&quot;: &quot;台湾省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 120000,
&quot;regionName&quot;: &quot;天津市&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 540000,
&quot;regionName&quot;: &quot;西藏自治区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 810000,
&quot;regionName&quot;: &quot;香港特别行政区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 650000,
&quot;regionName&quot;: &quot;新疆维吾尔自治区&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 530000,
&quot;regionName&quot;: &quot;云南省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 330000,
&quot;regionName&quot;: &quot;浙江省&quot;,
&quot;regionType&quot;: &quot;PROVICE&quot;
},
{
&quot;children&quot;: [],
&quot;parentId&quot;: 0,
&quot;regionId&quot;: 500000,
&quot;regionName&quot;: &quot;重庆市&quot;,
&quot;regionType&quot;: &quot;PROVICE&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>