工种信息
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>工种信息列表接口</li>
<li>更新频率/分钟</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://IP地址:端口号/openApi/TypeworkInformation/</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST JSON</li>
</ul>
<h5>请求参数</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;">api_key</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>认证凭证: D90884F36D11C287619F742A0C8CB3FA503AEB5B</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;api_key&quot;: &quot;D90884F36D11C287619F742A0C8CB3FA503AEB5B&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;typeworkCode&quot;: 10,
&quot;typeworkName&quot;: &quot;支护工&quot;
},
{
&quot;typeworkCode&quot;: 12,
&quot;typeworkName&quot;: &quot;装载工&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;">code</td>
<td style="text-align: left;">int</td>
<td>返回状态:200成功,404失败</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>返回描述</td>
</tr>
<tr>
<td style="text-align: left;">typeworkCode</td>
<td style="text-align: left;">int</td>
<td>工种编号</td>
</tr>
<tr>
<td style="text-align: left;">typeworkName</td>
<td style="text-align: left;">string</td>
<td>工种名称</td>
</tr>
</tbody>
</table>