1.0.1 数据要素登记平台登陆
<p>[TOC]</p>
<h5>接口功能说明</h5>
<p>提交应用信息和统一用户中心token,获取账号鉴权码 authCode</p>
<h5>基本信息</h5>
<ul>
<li>POST </li>
<li>Content-Type: application/json</li>
</ul>
<h5>鉴权认证</h5>
<ul>
<li>需要 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>服务编号 (tokenHandelAndLogin)</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;">appSecret</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>应用秘钥</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>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;authInfo&quot;: {
&quot;apiId&quot;: &quot;tokenHandelAndLogin&quot;,
&quot;appId&quot;: &quot;test1001&quot;,
&quot;appSecret&quot;: &quot;XXXXX&quot;,
&quot;accessToken&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxYmQ2MWU1NDkxMWRkNDI0Y2YyMmU3ODJmYTQ2NjEwZSxnZW5nY25hYmMsMSIsImlhdCI6MTczMzgxNDA1NCwiZXhwIjoxNzM0NDE4ODU0fQ.lh6oPJVEFJH2123p6TF3p5fr0oKRUptcX3nNYTjj8dqzs3zI4EgGAuXVvteA7kDd5eC33OIZSpy_VukoZx0-GmvIg&quot;,
&quot;timeStamp&quot;: &quot;1733813592643&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;">authCode</td>
<td style="text-align: left;">String</td>
<td>authCode鉴权码</td>
</tr>
<tr>
<td style="text-align: left;">nodeParentOid</td>
<td style="text-align: left;">String</td>
<td>所属主体OID</td>
</tr>
<tr>
<td style="text-align: left;">opName</td>
<td style="text-align: left;">String</td>
<td>用户名称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;bizData&quot;: {
&quot;authCode&quot;: &quot;257ed59c65414c62a07823feasda&quot;,
&quot;nodeParentOid&quot;: &quot;1.2.156.20028.0&quot;,
&quot;userOid&quot;: &quot;1.2.156.20028.0.0.XXXXX&quot;,
&quot;corporationName&quot;: &quot;法人姓名&quot;,
&quot;authStatus&quot;: &quot;true&quot;,
&quot;authToken&quot;: &quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxYmQ2MWU1NDkxMWRkNDI0Y2YyMmU3ODJmYTQ2NjEwZSxnZW5nY25hYmMsMSIsImlhdCI6MTczMzk2NzUyOSwiZXhwIjoxNzM0NTcyMzI5fQ.21msuYSdoWesjMBPVel9Uz-3A5-hjoqZJsNTLhhqweqweu5LXsvtoXgp6SPNT5okIvG_wxGHzFcv7ry8mMNmg&quot;,
&quot;opId&quot;: 160,
&quot;agencyAuthStatus&quot;: &quot;false&quot;,
&quot;orgNameCn&quot;: &quot;贵州测试科技有限公司&quot;,
&quot;orgUscc&quot;: &quot;911101086605testXxx&quot;,
&quot;orgType&quot;: &quot;3&quot;,
&quot;uid&quot;: 101111,
&quot;regionCode&quot;: 0,
&quot;accountManager&quot;: false,
&quot;corporationIdCardNumber&quot;: &quot;522XXXXXXXXXXXXXXXXX&quot;,
&quot;mobilePhone&quot;: &quot;15888888888&quot;,
&quot;userCategory&quot;: 1,
&quot;opName&quot;: &quot;用户名称&quot;,
&quot;orgDivisionId&quot;: &quot;520000&quot;,
&quot;account&quot;: &quot;gengcnabc&quot;,
&quot;demandAuthStatus&quot;: &quot;false&quot;,
&quot;firmAuthStatus&quot;: &quot;true&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>